#profile {
border-style: solid;
border-width: 1.5px;
border-color: #000580;
padding-top:30px;
padding-bottom:30px;
padding-right:30px;
padding-left:30px;
width: auto;
margin-left:auto;
margin-right:auto;
}

#profile th {
padding:5px;
}

#profile td {
padding:5px;
}

#report {
border-style: solid;
border-width: 1.5px;
border-color: #000580;
padding-top:30px;
padding-bottom:30px;
padding-right:30px;
padding-left:30px;
width: 95%;
margin-left:auto;
margin-right:auto;
}

#client_menu {
list-style-type: none;

}

#client_menu li {
float: left;
}

#client_menu a{
    padding-right: 32px;
    padding-left: 32px;
}

.error_message { color: red; }

.separator-row {
    height: 10px;
}

.thumbnail {
    display: block;
    max-height: 200px;
    max-width: 300px;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.count-number {
    padding-left: 50px;
}

.html-edit {
    width: 100%;
}

/* --- AI Followup Modal --- */
.ai-followup-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.ai-followup-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.ai-followup-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f5f5f5;
    border-radius: 8px 8px 0 0;
}

.ai-followup-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.ai-followup-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    min-height: 200px;
    max-height: 400px;
}

.ai-followup-message {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 85%;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 14px;
}

.ai-followup-message-ai {
    background-color: #e8f0fe;
    color: #1a4288;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.ai-followup-message-user {
    background-color: #dcf8c6;
    color: #2e5e1e;
    margin-left: auto;
    text-align: right;
    border-bottom-right-radius: 4px;
}

.ai-followup-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid #e0e0e0;
}

.ai-followup-input-area textarea {
    flex: 1;
    resize: vertical;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
    font-family: inherit;
}

.ai-followup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.ai-followup-banner {
    background-color: #fff3cd;
    border: 1px solid #ffe08a;
    color: #856404;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 13px;
}
