/* Reusable Admin Modal Styles */
.admin-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.admin-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 600px;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.admin-modal-header {
    padding: 15px 20px;
    background-color: #417690;
    color: white;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #ccc;
}

.admin-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
}

.admin-modal-body {
    padding: 20px;
    background-color: #fff;
    overflow-y: auto;
    flex: 1 1 auto;
}

.admin-modal-footer {
    padding: 12px 20px;
    background-color: #f8f8f8;
    border-top: 1px solid #e1e1e1;
    text-align: right;
    border-radius: 0 0 4px 4px;
}

.admin-modal-form-row {
    margin-bottom: 15px;
}

.admin-modal-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 13px;
}

.admin-modal-form-row input[type="text"],
.admin-modal-form-row input[type="email"],
.admin-modal-form-row input[type="number"],
.admin-modal-form-row textarea,
.admin-modal-form-row select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
    font-size: 14px;
    background-color: #fff;
}

.admin-modal-form-row input:focus,
.admin-modal-form-row textarea:focus,
.admin-modal-form-row select:focus {
    border-color: #999;
    outline: none;
}

.admin-modal-form-row textarea {
    height: 100px;
    resize: vertical;
}

.admin-modal-form-row .help-text {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
    display: block;
}

.admin-modal-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
    text-transform: none;
    line-height: 1.5;
}

.admin-modal-btn-primary {
    background-color: #417690;
    color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.admin-modal-btn-primary:hover {
    background-color: #205067;
}

.admin-modal-btn-primary:active {
    background-color: #205067;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.admin-modal-btn-primary:disabled {
    background-color: #a1c9d9;
    cursor: not-allowed;
    opacity: 0.6;
}

.admin-modal-btn-secondary {
    background-color: #ba2121;
    color: white;
    margin-right: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.admin-modal-btn-secondary:hover {
    background-color: #a41515;
}

.admin-modal-btn-secondary:active {
    background-color: #a41515;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.admin-modal-alert {
    padding: 10px 14px;
    margin-bottom: 15px;
    border-radius: 4px;
    border-left: 4px solid;
}

.admin-modal-alert-success {
    background-color: #dfd;
    border-left-color: #6c3;
    color: #333;
}

.admin-modal-alert-error {
    background-color: #ffc;
    border-left-color: #ba2121;
    color: #333;
}

.admin-modal-alert-info {
    background-color: #e7f3fe;
    border-left-color: #417690;
    color: #333;
}

.admin-modal-alert-warning {
    background-color: #ffc;
    border-left-color: #fc3;
    color: #333;
}

/* Comments styling */
.comment-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.comment-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.comment-author {
    font-weight: 600;
    color: #417690;
    font-size: 13px;
}

.comment-date {
    color: #888;
    font-size: 11px;
    font-style: italic;
}

.comment-text {
    color: #333;
    line-height: 1.5;
    white-space: pre-wrap;
    font-size: 13px;
    background: #f8f9fa;
}

.no-comments {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px dashed #ddd;
}

