/* --- CSS Variables for Theming --- */
:root {
    --fc-primary-color: #4A90E2; /* A modern, friendly blue */
    --fc-primary-color-dark: #357ABD;
    --fc-secondary-color: #50E3C2; /* A soft, vibrant teal */
    --fc-secondary-color-dark: #38A892;
    --fc-success-color: #28a745;
    --fc-danger-color: #D0021B;
    --fc-warning-color: #ffc107;
    --fc-info-color: #17a2b8;
    --fc-text-color: #4A4A4A;
    --fc-text-color-light: #6c757d;
    --fc-border-color: #EAEAEA;
    --fc-page-bg-color: #F7F8FC;
    --fc-white-color: #FFFFFF;
    --fc-card-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    --fc-border-radius: 8px;
    --fc-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* --- General & Helpers --- */
.adak-lms-container { max-width: 1200px; margin: 30px auto; padding: clamp(15px, 3vw, 30px); font-family: var(--fc-font-family); direction: rtl; background-color: transparent; color: var(--fc-text-color); }
body { background-color: var(--fc-page-bg-color); }
.adak-lms-container h2 { font-size: clamp(1.5rem, 4vw, 1.8rem); margin-bottom: 10px; font-weight: 700; }
.adak-lms-container h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); border-bottom: 1px solid var(--fc-border-color); padding-bottom: 15px; margin-bottom: 25px; font-weight: 600; }
.adak-lms-container h4 { font-size: clamp(1rem, 2.5vw, 1.2rem); margin-bottom: 15px; font-weight: 600; }
.adak-message { padding: 15px 20px; margin-bottom: 20px; border-radius: var(--fc-border-radius); border: 1px solid transparent; border-right-width: 5px; }
.adak-message-error { background-color: #fbeaea; border-color: var(--fc-danger-color); color: #721c24; }
.adak-message-info { background-color: #e2f3fe; border-color: var(--fc-primary-color); color: #0c5460; }
.adak-message-success { background-color: #d4edda; border-color: var(--fc-success-color); color: #155724; }

/* --- Buttons --- */
.adak-btn { display: inline-block; text-align: center; padding: 12px 24px; border-radius: var(--fc-border-radius); text-decoration: none; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s ease-in-out; }
.adak-btn.btn-primary { background-color: var(--fc-primary-color); color: var(--fc-white-color); } .adak-btn.btn-primary:hover { background-color: var(--fc-primary-color-dark); transform: translateY(-2px); }
.adak-btn.btn-secondary { background-color: var(--fc-secondary-color); color: var(--fc-white-color); } .adak-btn.btn-secondary:hover { background-color: var(--fc-secondary-color-dark); transform: translateY(-2px); }
.adak-btn-small { padding: 8px 16px; font-size: 13px; font-weight: 600; border-radius: 6px; border: none; cursor: pointer; text-decoration: none; color: var(--fc-white-color); transition: opacity 0.2s ease; }
.adak-btn-small:hover { opacity: 0.85; } .adak-btn-small.btn-primary { background-color: var(--fc-primary-color); }
.adak-btn-small.btn-secondary { background-color: var(--fc-text-color-light); } .adak-btn-small.btn-tertiary { background-color: #5a6268; }
.adak-btn-small.btn-info { background-color: #17a2b8; } .adak-btn-small.btn-danger { background-color: var(--fc-danger-color); }
.adak-btn-small.btn-edit { background-color: var(--fc-warning-color); color: var(--fc-text-color); }
.adak-btn-small:disabled { background-color: #c8d0d5; cursor: not-allowed; opacity: 0.7; }

/* --- Dashboards (Student, Teacher, Admin) --- */
.dashboard-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 10px; }
.adak-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 40px; }
.stat-card { background: var(--fc-white-color); border-radius: var(--fc-border-radius); padding: 25px; display: flex; align-items: center; gap: 20px; box-shadow: var(--fc-card-shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.stat-card .dashicons { font-size: 40px; color: var(--fc-primary-color); }
.stat-info { display: flex; flex-direction: column; }
.stat-number { font-size: 28px; font-weight: 700; color: var(--fc-text-color); }
.stat-label { font-size: 14px; color: var(--fc-text-color-light); }
.adak-cards-grid {
    display: grid;
    grid-template-columns: 1fr; /* Changed to single column for full-width */
    gap: 30px;
}
.adak-course-card { background-color: var(--fc-white-color); border-radius: var(--fc-border-radius); box-shadow: var(--fc-card-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.adak-course-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.adak-course-card .card-image img { width: 100%; height: 180px; object-fit: cover; display: block; }
.adak-course-card .card-content { padding: 25px; flex-grow: 1; } .adak-course-card .card-title { margin-top: 0; margin-bottom: 15px; font-size: 1.3rem; font-weight: 600; }
.adak-course-card .card-meta { font-size: 0.9rem; color: var(--fc-text-color-light); display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.card-meta .status-badge { padding: 4px 12px; border-radius: 15px; font-size: 0.8rem; color: var(--fc-white-color); font-weight: 500; width: fit-content; }
.status-badge.status-active { background-color: var(--fc-success-color); } .status-badge.status-finished { background-color: var(--fc-text-color-light); }
.adak-course-card .card-payment-status p { margin: 5px 0; display: flex; align-items: center; font-size: 0.95rem; font-weight: 500; }
.card-payment-status .dashicons { margin-left: 8px; } .payment-status.paid { color: var(--fc-success-color); } .payment-status.unpaid { color: var(--fc-danger-color); }
.payment-amount { font-size: 0.9rem !important; color: var(--fc-text-color); font-weight: normal !important; }
.adak-course-card .card-footer { background-color: var(--fc-white-color); padding: 20px 25px; border-top: 1px solid var(--fc-border-color); }
.adak-course-card .card-footer .adak-btn { display: block; width: 100%; }

/* Global Announcements on Dashboards */
.adak-global-announcements { background-color: #fff3cd; border: 1px solid #ffeeba; border-radius: var(--fc-border-radius); padding: 20px; margin-bottom: 30px; }
.adak-global-announcements h3 { color: #856404; border-bottom-color: #ffeeba; font-size: 20px; }
.adak-global-announcements .announcement-item.global { background: none; border: none; padding: 0; margin-top: 15px; }
.adak-global-announcements .announcement-item.global h4 { margin-bottom: 5px; }

/* --- Single Course Page --- */
.adak-single-course .adak-course-header, .adak-single-course .adak-tabs { background-color: var(--fc-white-color); padding: 30px; margin-bottom: 30px; border-radius: var(--fc-border-radius); box-shadow: var(--fc-card-shadow); }
.adak-single-course .adak-course-header h1 { margin-top: 0; font-weight: 700; }
ul.tab-links { margin: 0 0 20px 0; padding: 0; list-style: none; display: flex; border-bottom: 1px solid var(--fc-border-color); overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
ul.tab-links li a { padding: 12px 20px; display: inline-block; border-bottom: 3px solid transparent; color: var(--fc-text-color-light); text-decoration: none; font-weight: 600; transition: all 0.2s ease; }
ul.tab-links li.active a, ul.tab-links a:hover { color: var(--fc-primary-color); border-bottom-color: var(--fc-primary-color); }
.tab-content .tab { display: none; padding: 10px 0; } .tab-content .tab.active { display: block; }
.adak-form-section { background: var(--fc-page-bg-color); padding: 20px; border-radius: var(--fc-border-radius); margin-bottom: 25px; border: 1px solid var(--fc-border-color); }
.adak-simple-form input[type="text"], .adak-simple-form input[type="datetime-local"], .adak-simple-form textarea { flex-grow: 1; width: 100%; padding: 12px; border: 1px solid var(--fc-border-color); border-radius: var(--fc-border-radius); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.adak-simple-form input:focus, .adak-simple-form textarea:focus { outline: none; border-color: var(--fc-primary-color); box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2); }
.session-items li { background: var(--fc-white-color); border: 1px solid var(--fc-border-color); padding: 20px; margin-bottom: 10px; border-radius: var(--fc-border-radius); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.session-info { flex-grow: 1; } .session-title { font-weight: 600; font-size: 1.1rem; } .session-datetime { font-size: 0.9em; color: var(--fc-text-color-light); display: block; margin-top: 5px; }
.session-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.announcement-item { background: #f8f9fa; border: 1px solid var(--fc-border-color); border-right: 4px solid var(--fc-primary-color); padding: 20px; margin-bottom: 15px; border-radius: var(--fc-border-radius); }
.announcement-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--fc-border-color); }
.announcement-meta { font-size: 0.85em; color: var(--fc-text-color-light); }
.announcement-meta .author { font-weight: bold; } .announcement-meta .date { margin-right: 15px; }
.announcement-content p:last-child { margin-bottom: 0; }

/* --- Tables --- */
.table-responsive-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--fc-border-color); border-radius: var(--fc-border-radius); background: var(--fc-white-color); }
.wp-list-table { border: none; }
.wp-list-table thead th { background-color: #f8f9fa; font-weight: 600; }
.wp-list-table td, .wp-list-table th { padding: 15px; }
.attendance-status-badge, .payment-status-badge { padding: 4px 12px; border-radius: 15px; font-size: 11px; color: var(--fc-white-color); font-weight: 500; }
.attendance-status-badge.present, .payment-status-badge.status-paid { background-color: var(--fc-success-color); }
.attendance-status-badge.absent, .payment-status-badge.status-unpaid { background-color: var(--fc-danger-color); }
.attendance-status-badge.late { background-color: var(--fc-warning-color); color: var(--fc-text-color); } .attendance-status-badge.not-set { background-color: var(--fc-text-color-light); }

/* --- Homework Submission & Grading Styles --- */
.submissions-list-section, .grade-view-section { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--fc-border-color); }
.submission-view, .grade-view-section div { background-color: #f8f9fa; border: 1px solid var(--fc-border-color); padding: 15px; border-radius: var(--fc-border-radius); }
.submission-view { margin-bottom: 20px; }
.adak-form-section h4, .submissions-list-section h4, .grade-view-section h4 { margin-top: 0; }
#student-files-list, #homework-files-list { list-style: none; padding: 0; margin-top: 10px; }
#student-files-list li, #homework-files-list li { background: #f0f0f0; padding: 8px 12px; margin-bottom: 5px; border-radius: 3px; display: flex; align-items: center; justify-content: space-between; }

/* --- Modal Styles --- */
#adak-modal-container { display: none; position: fixed; z-index: 99999; }
.adak-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 30, 50, 0.6); display: flex; align-items: center; justify-content: center; padding: 15px; backdrop-filter: blur(5px); }
.adak-modal-content { background: var(--fc-white-color); width: 100%; max-width: 700px; max-height: 90vh; overflow-y: auto; padding: 30px; border-radius: var(--fc-border-radius); position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.2); animation: modal-fade-in 0.3s ease-out; }
@keyframes modal-fade-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.close-modal { position: absolute; top: 15px; left: 20px; font-size: 30px; text-decoration: none; color: #aaa; line-height: 1; transition: color 0.2s ease; }
.close-modal:hover { color: var(--fc-text-color); }
.adak-modal-content h3 { margin-top: 0; }
.report-card-view img { max-width: 100%; height: auto; border: 1px solid var(--fc-border-color); border-radius: var(--fc-border-radius); padding: 5px; }
.report-card-text-content { background: #fdfdfd; border: 1px solid var(--fc-border-color); padding: 15px; min-height: 150px; }
#rc-image-preview img { max-width: 200px; margin-top: 15px; border: 1px solid var(--fc-border-color); padding: 4px; border-radius: var(--fc-border-radius); }
.remove-file { background: none; border: none; cursor: pointer; color: var(--fc-danger-color); }

/* --- Chat System Styles --- */
#adak-chat-wrapper { display: flex; flex-direction: column; height: 70vh; max-height: 600px; border: 1px solid var(--fc-border-color); border-radius: var(--fc-border-radius); overflow: hidden; background: var(--fc-white-color); }
.chat-messages-container { flex-grow: 1; padding: 20px; overflow-y: auto; background-color: var(--fc-page-bg-color); }
.chat-spinner-container { display: flex; align-items: center; justify-content: center; height: 100%; }
.no-messages { text-align: center; color: var(--fc-text-color-light); height: 100%; display: flex; align-items: center; justify-content: center; }
.chat-message { display: flex; margin-bottom: 15px; } .chat-message.sent { justify-content: flex-start; } .chat-message.received { justify-content: flex-end; }
.message-bubble { max-width: 75%; padding: 12px 18px; border-radius: 20px; position: relative; }
.chat-message.sent .message-bubble { background-color: var(--fc-primary-color); color: var(--fc-white-color); border-bottom-right-radius: 5px; }
.chat-message.received .message-bubble { background-color: #E5E5EA; color: var(--fc-text-color); border-bottom-left-radius: 5px; }
.message-author { font-weight: bold; font-size: 0.9em; margin-bottom: 5px; }
.message-author.author-teacher { color: var(--fc-warning-color); } .chat-message.received .message-author { color: var(--fc-primary-color); }
.message-text { font-size: 1rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.message-time { font-size: 0.75em; margin-top: 5px; text-align: left; opacity: 0.7; }
.chat-form { display: flex; padding: 15px; border-top: 1px solid var(--fc-border-color); background-color: var(--fc-white-color); }
#chat-message-input { flex-grow: 1; border: 1px solid var(--fc-border-color); border-radius: 25px; padding: 12px 20px; resize: none; }
#chat-message-input:focus { outline: none; border-color: var(--fc-primary-color); box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2); }
.chat-form button { border-radius: 50%; width: 50px; height: 50px; margin-right: 10px; padding: 0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-form .dashicons-send { font-size: 24px; }

/* --- Admin Dashboard & Calendar --- */
.dashboard-chart-container { background: var(--fc-white-color); padding: 25px; border-radius: var(--fc-border-radius); box-shadow: var(--fc-card-shadow); margin-bottom: 30px; }
#adak-calendar { background-color: var(--fc-white-color); padding: 25px; border-radius: var(--fc-border-radius); box-shadow: var(--fc-card-shadow); }
.fc .fc-button-primary { background-color: var(--fc-primary-color); border-color: var(--fc-primary-color); transition: background-color 0.2s ease; }
.fc .fc-button-primary:hover { background-color: var(--fc-primary-color-dark); border-color: var(--fc-primary-color-dark); }
.fc-event { cursor: pointer; }


/* --- NEW: Professional Dashboard Styles --- */
.adak-dashboard .adak-dashboard-header {
    background-color: var(--fc-white-color);
    padding: 25px 30px;
    border-radius: var(--fc-border-radius);
    box-shadow: var(--fc-card-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}
.adak-dashboard .user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}
.adak-dashboard .profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--fc-primary-color);
}
.adak-dashboard .user-details h2 {
    margin: 0 0 5px 0;
    font-size: 1.8rem;
    font-weight: 700;
}
.adak-dashboard .user-details p {
    margin: 0;
    color: var(--fc-text-color-light);
    font-size: 1rem;
}
.adak-dashboard .header-actions .adak-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.adak-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .adak-dashboard-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.adak-widget {
    background-color: var(--fc-white-color);
    border-radius: var(--fc-border-radius);
    padding: 25px;
    box-shadow: var(--fc-card-shadow);
    margin-bottom: 30px;
}
.adak-widget .widget-title {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--fc-border-color);
}

/* Overview Widget */
.overview-stats {
    display: flex;
    gap: 20px;
    text-align: center;
}
.overview-stats .stat-item {
    flex: 1;
}
.overview-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fc-primary-color);
}
.overview-stats .stat-label {
    color: var(--fc-text-color-light);
    font-size: 0.9rem;
}

/* Upcoming Sessions Widget */
.upcoming-sessions-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.upcoming-sessions-list li {
    margin-bottom: 15px;
}
.upcoming-sessions-list li:last-child {
    margin-bottom: 0;
}
.upcoming-sessions-list li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--fc-border-radius);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: 1px solid var(--fc-border-color);
}
.upcoming-sessions-list li a:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    border-color: var(--fc-primary-color);
}
.upcoming-sessions-list .session-date {
    background-color: var(--fc-primary-color);
    color: var(--fc-white-color);
    border-radius: 6px;
    text-align: center;
    padding: 8px;
    flex-shrink: 0;
    width: 55px;
}
.upcoming-sessions-list .session-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}
.upcoming-sessions-list .session-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.upcoming-sessions-list .session-details .session-title {
    display: block;
    font-weight: 600;
    color: var(--fc-text-color);
}
.upcoming-sessions-list .session-details .course-title {
    display: block;
    font-size: 0.85rem;
    color: var(--fc-text-color-light);
}
.upcoming-sessions-list .no-items-message {
    color: var(--fc-text-color-light);
    text-align: center;
    padding: 20px 0;
}


/* --- Add to the end of assets/css/frontend-style.css --- */

/* NEW: Professional Dashboard Styles v2 */
.adak-dashboard .adak-dashboard-header .header-actions {
    display: flex;
    gap: 10px;
}
.adak-dashboard .adak-btn.btn-tertiary {
    background-color: #f0f0f1;
    color: #3c434a;
}
.adak-dashboard .adak-btn.btn-tertiary:hover {
    background-color: #e0e0e1;
}

/* Quick Links Widget */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.quick-link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--fc-border-radius);
    text-decoration: none;
    font-weight: 600;
    color: var(--fc-text-color);
    background-color: #f8f9fa;
    border: 1px solid var(--fc-border-color);
    transition: all 0.2s ease;
}
.quick-link-item:hover {
    border-color: var(--fc-primary-color);
    color: var(--fc-primary-color);
    transform: translateX(-4px);
}
.quick-link-item .dashicons {
    color: var(--fc-primary-color);
    font-size: 22px;
}

/* Recent Grades & Grading Queue Widget */
.recent-grades-list ul, .grading-queue-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.recent-grades-list li a, .grading-queue-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 8px;
    border: 1px solid transparent;
}
.recent-grades-list li a:hover, .grading-queue-list li a:hover {
    background-color: #f8f9fa;
    border-color: var(--fc-border-color);
}
.grade-badge {
    background-color: var(--fc-success-color);
    color: var(--fc-white-color);
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
}
.grade-details, .grading-details {
    color: var(--fc-text-color-light);
    font-size: 0.9rem;
}
.grading-queue-list .dashicons {
    color: var(--fc-warning-color);
}


/* --- NEW: Professional Modal Styles --- */

.adak-modal-content {
    padding: 0;
}
.adak-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--fc-border-color);
}
.adak-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.adak-modal-body {
    padding: 30px;
}

.info-card {
    background-color: #f8f9fa;
    border: 1px solid var(--fc-border-color);
    border-radius: var(--fc-border-radius);
    padding: 25px;
    margin-bottom: 25px;
}
.info-card .card-title {
    margin-top: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fc-text-color);
}
.info-card .card-title .dashicons {
    color: var(--fc-primary-color);
}
.info-card .homework-text-content {
    line-height: 1.7;
}
.info-card .empty-message {
    color: var(--fc-text-color-light);
    font-style: italic;
}
.info-card hr {
    border: none;
    border-top: 1px solid var(--fc-border-color);
    margin: 20px 0;
}
.info-card .files-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-card.link-card {
    background-color: var(--fc-primary-color);
    text-align: center;
    padding: 20px;
}
.info-card .join-class-btn {
    width: 100%;
    font-size: 1.1rem;
    background-color: var(--fc-white-color);
    color: var(--fc-primary-color);
}
.info-card .join-class-btn:hover {
    background-color: #f0f0f0;
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.file-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: var(--fc-white-color);
    border: 1px solid var(--fc-border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--fc-text-color);
    margin-bottom: 8px;
    transition: all 0.2s ease;
}
.file-list li a:hover {
    border-color: var(--fc-primary-color);
    color: var(--fc-primary-color);
    transform: translateY(-2px);
}

.hr.section-divider {
    border: none;
    border-top: 2px dashed var(--fc-border-color);
    margin: 30px 0;
}
.teacher-management-area, .student-submission-area {
    background-color: var(--fc-white-color);
    border: 1px solid var(--fc-border-color);
    padding: 25px;
    border-radius: var(--fc-border-radius);
}
.teacher-management-area h4, .student-submission-area h4 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card.grade-card {
    background-color: #e2f3fe;
    border-color: var(--fc-primary-color);
}
.info-card.grade-card .card-title .dashicons {
    color: var(--fc-success-color);
}
.grade-display {
    font-size: 1.1rem;
}
.grade-display .grade-badge {
    background-color: var(--fc-success-color);
    color: var(--fc-white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}
.feedback-content {
    background-color: var(--fc-white-color);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid var(--fc-border-color);
}


/* --- NEW: Admin Dashboard - Course Management Tab --- */
.adak-dashboard-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.adak-dashboard-section .section-header h3 {
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.wp-list-table .row-actions {
    visibility: hidden;
    padding-top: 2px;
    font-size: 13px;
}
tr:hover .row-actions {
    visibility: visible;
}