/* Modern Minimalist Student Dashboard - Light Blue Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    height: 80px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.top-bar-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.page-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.user-profile {
    display: flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #60a5fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.user-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.user-details p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    z-index: 100000;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(96, 165, 250, 0.2);
}

.sidebar-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    padding: 10px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar h2 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.school-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    text-align: center;
}

.user-info-sidebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar-sidebar {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-details-sidebar {
    flex: 1;
}

.user-name-sidebar {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px 0;
}

.user-role-sidebar {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0 20px 20px 20px;
    margin: 0;
}

.sidebar-menu li {
    margin: 0 0 8px 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sidebar-menu a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: white;
    border-radius: 0 2px 2px 0;
}

.sidebar-menu a i {
    width: 22px;
    margin-right: 15px;
    font-size: 18px;
    text-align: center;
    opacity: 0.9;
}

/* Main Content */
.content {
    margin-left: 280px;
    margin-top: 80px;
    padding: 30px;
    min-height: calc(100vh - 80px);
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Date Header */
.date-header {
    margin-bottom: 30px;
}

.date-text {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    border-radius: 20px;
    padding: 40px;
    padding-right: 360px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.welcome-banner h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.welcome-banner p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.welcome-graphics {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.1;
}

.welcome-graphics i {
    font-size: 140px;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Finance Section */
.finance-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.finance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.finance-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.finance-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.finance-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.finance-card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

.finance-card-title {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

.finance-card-amount {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Course Instructors Section */
.instructors-section {
    margin-bottom: 40px;
}

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

.see-all-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.see-all-link:hover {
    color: #3b82f6;
}

.instructors-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.instructor-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
    border: 3px solid white;
}

/* Daily Notice Section */
.notice-section {
    margin-bottom: 40px;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.notice-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.notice-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.notice-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.notice-card-content {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.notice-card-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.notice-card-link:hover {
    color: #3b82f6;
}

/* Enrolled Courses Section */
.courses-section {
    margin-bottom: 40px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.course-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.course-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.course-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.course-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

.course-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.course-card-footer {
    display: flex;
    justify-content: flex-end;
}

.view-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.view-btn:hover {
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(96, 165, 250, 0.4);
}

/* Student Information Section */
.student-info-section {
    margin-bottom: 40px;
}

.student-info-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

.info-content h3 {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* Detailed Student Information */
.detailed-info-section {
    margin-bottom: 40px;
}

.detailed-info-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.detailed-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.detailed-info-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.detailed-info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.detailed-info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    flex: 1;
}

.info-value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
    flex: 2;
    text-align: right;
}

.info-text {
    font-size: 14px;
    color: #1e293b;
    line-height: 1.6;
    margin-top: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #60a5fa;
}

/* Filter Buttons for Daily Tasks */
.filter-buttons {
display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.filter-btn {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.filter-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

/* All Tasks Button */
.filter-all {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    color: white;
    border-color: #64748b;
}

.filter-all:hover {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    color: white;
}

.filter-all.active {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    border-color: #334155;
    color: white;
}

/* Completed Button */
.filter-completed {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    border-color: #10b981;
}

.filter-completed:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}

.filter-completed.active {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    border-color: #047857;
    color: white;
}

/* Pending Button */
.filter-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    border-color: #f59e0b;
}

.filter-pending:hover {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: white;
}

.filter-pending.active {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    border-color: #b45309;
    color: white;
}

/* Incomplete Button */
.filter-incomplete {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
    border-color: #ef4444;
}

.filter-incomplete:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
}

.filter-incomplete.active {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    border-color: #b91c1c;
    color: white;
}

/* Modal URL Input Styling */
.platform-url {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.platform-url:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
    transform: translateY(-1px);
}

.platform-url::placeholder {
    color: #94a3b8;
    font-style: italic;
}

.platform-url:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add Another Link Button */
.add-url-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
color: white;
border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 2px 4px rgba(96, 165, 250, 0.2);
    position: relative;
    overflow: hidden;
}

.add-url-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(96, 165, 250, 0.3);
}

.add-url-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(96, 165, 250, 0.2);
}

.add-url-btn::before {
    content: '';
    position: absolute;
top: 0;
    left: -100%;
width: 100%;
height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.add-url-btn:hover::before {
    left: 100%;
}

/* Remove URL Button */
.remove-url-btn {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.2);
}

.remove-url-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.remove-url-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.2);
}

/* URL Input Group Container */
.url-input-group {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.url-input-group:last-child {
    margin-bottom: 0;
}

/* Platform URLs Container */
.platform-urls-container {
    margin-top: 12px;
    padding: 12px;
    background: #f8fafc;
border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.platform-urls-container:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Platform Item Styling */
.platform-item {
    margin-bottom: 16px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.platform-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.platform-item:last-child {
    margin-bottom: 0;
}

/* Platform Checkbox Styling */
.platform-item label {
    display: flex;
    align-items: center;
cursor: pointer;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.platform-item input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #60a5fa;
    cursor: pointer;
}

.platform-item input[type="checkbox"]:checked + span {
    color: #1e293b;
    font-weight: 600;
}

/* Platform Group Container */
.platform-group {
    margin-top: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Task Item Container */
.task-item {
    background: white;
    border-radius: 12px;
padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.task-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.task-item h3 {
    color: #1e293b;
font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

/* Radio Group Styling */
.radio-group {
display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.radio-group label {
display: flex;
align-items: center;
cursor: pointer;
    font-weight: 500;
    color: #374151;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #60a5fa;
    cursor: pointer;
}

.radio-group input[type="radio"]:checked + span {
    color: #1e293b;
    font-weight: 600;
}

/* Family Information Section */
.family-info-section {
    margin-bottom: 40px;
}

.family-info-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.family-cards {
display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.family-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
display: flex;
align-items: center;
    gap: 16px;
}

.family-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.family-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

.family-content h3 {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.family-content p {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* Attendance Overview Section */
.attendance-overview-section {
    margin-bottom: 40px;
}

.attendance-overview-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.attendance-cards {
display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}

.attendance-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.attendance-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.attendance-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    border-radius: 12px;
display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

.attendance-content h3 {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.attendance-percentage {
    font-size: 24px;
    font-weight: 700;
    color: #10b981;
    margin: 0 0 4px 0;
}

.absent-days {
    font-size: 24px;
    font-weight: 700;
    color: #ef4444;
    margin: 0 0 4px 0;
}

.last-checkin {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.attendance-content small {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Summary Cards */
.summary-cards {
display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.attendance-card .card-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.fee-card .card-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.campus-card .card-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.roll-card .card-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.card-content {
    flex: 1;
}

.card h3 {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Attendance Section */
.attendance-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
    text-align: center;
}

.attendance-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.attendance-buttons {
display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.attendance-btn {
padding: 12px 24px;
border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-in {
    background: #10b981;
color: white;
}

.check-in:hover {
    background: #059669;
}

.check-out {
    background: #ef4444;
color: white;
}

.check-out:hover {
    background: #dc2626;
}

.attendance-btn:disabled {
opacity: 0.5;
    cursor: not-allowed;
}

/* Tasks Summary */
.tasks-summary {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

.tasks-summary h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.tasks-table {
width: 100%;
    border-collapse: collapse;
}

.tasks-table th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.tasks-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
font-size: 14px;
    color: #1e293b;
}

.tasks-table tbody tr:hover {
    background: #f8fafc;
}

.totals-row {
    background: #f1f5f9;
    font-weight: 600;
}

/* Modal Styles - Compatible with Bootstrap */
body.petty-cash-page .modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

body.petty-cash-page .modal.show {
    display: block !important;
}

body.petty-cash-page .modal.fade {
    transition: opacity 0.15s linear;
}

body.petty-cash-page .modal.fade:not(.show) {
    opacity: 0;
    pointer-events: none;
}

body.petty-cash-page .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

body.petty-cash-page .modal-backdrop.fade {
    opacity: 0;
}

body.petty-cash-page .modal-backdrop.show {
    opacity: 1;
}

body.petty-cash-page .modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
    pointer-events: none;
}

body.petty-cash-page .modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

body.petty-cash-page .modal-dialog-centered::before {
    display: block;
    height: min-content;
    content: "";
}

body.petty-cash-page .modal-lg {
    max-width: 800px;
}

body.petty-cash-page .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    outline: 0;
}

body.petty-cash-page .modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    border-top-left-radius: calc(12px - 1px);
    border-top-right-radius: calc(12px - 1px);
}

body.petty-cash-page .modal-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

body.petty-cash-page .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.close {
    color: #94a3b8;
    font-size: 24px;
font-weight: bold;
cursor: pointer;
    transition: color 0.2s ease;
}

.close:hover {
    color: #64748b;
}

body.petty-cash-page .modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 24px;
}

body.petty-cash-page .modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

body.petty-cash-page .modal-footer > * {
    margin: 4px;
}

/* Task Form */
.tasks-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
    margin-bottom: 24px;
}

.task-item {
    background: #f8fafc;
padding: 20px;
border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.task-item h3 {
font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.radio-group {
display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.radio-group label {
display: flex;
align-items: center;
cursor: pointer;
font-size: 14px;
    color: #64748b;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    accent-color: #3b82f6;
}

.platform-group {
display: flex;
flex-direction: column;
    gap: 8px;
}

.platform-item {
    background: white;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.platform-item label {
display: flex;
align-items: center;
cursor: pointer;
font-size: 14px;
    color: #1e293b;
}

.platform-item input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #10b981;
}

.submit-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
color: white;
border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(96, 165, 250, 0.4);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 250px;
    }
    
    .content {
        margin-left: 250px;
    }
    
    .top-bar {
        left: 250px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .content {
        margin-left: 0;
padding: 20px;
}

    .top-bar {
        left: 0;
        padding: 0 20px;
    }
    
    .welcome-banner {
        padding: 30px 20px;
    }
    
    .welcome-banner h1 {
        font-size: 24px;
    }
    
    .finance-cards,
    .notice-cards,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .instructors-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 15px;
    }
    
    .welcome-banner {
        padding: 20px 15px;
    }
    
    .welcome-banner h1 {
        font-size: 20px;
}

.attendance-buttons {
        flex-direction: column;
        align-items: center;
}

.attendance-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .tasks-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 300;
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
color: white;
border: none;
    padding: 12px;
    border-radius: 8px;
cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
display: block;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Task Breakdown Section */
.task-breakdown-section {
    margin-bottom: 40px;
}

.task-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.task-breakdown-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.task-breakdown-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.task-breakdown-card.completed {
    border-left: 3px solid #10b981;
    background: #f9fafb;
}

.task-breakdown-card.in-progress {
    border-left: 3px solid #3b82f6;
    background: #f9fafb;
}

.task-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.task-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.task-breakdown-card.completed .task-icon {
    background: #10b981;
}

.task-breakdown-card.in-progress .task-icon {
    background: #3b82f6;
}

.task-info {
    flex: 1;
    min-width: 0;
}

.task-info h3 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    word-wrap: break-word;
    letter-spacing: -0.01em;
}

.task-status {
    margin: 0;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.task-breakdown-card.completed .task-status {
    color: #065f46;
    background: #d1fae5;
}

.task-breakdown-card.in-progress .task-status {
    color: #1e40af;
    background: #dbeafe;
}

.task-progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 12px 0;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.05);
}

.task-progress-bar .progress-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.task-progress-bar .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.task-breakdown-card.completed .task-progress-bar .progress-fill {
    background: #10b981;
}

.progress-text {
    margin: 0 0 12px 0;
    font-size: 12px;
    font-weight: 500;
    color: #1e293b;
    text-align: center;
    letter-spacing: -0.01em;
}

.task-stats {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 11px;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.stat-row:hover {
    background: rgba(59, 130, 246, 0.05);
    margin: 0 -12px;
    padding: 6px 12px;
    border-radius: 4px;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row.total-row {
    border-top: 1px solid #e2e8f0;
    margin-top: 8px;
    padding-top: 8px;
    font-weight: 500;
    background: #f1f5f9;
    margin: 8px -12px 0 -12px;
    padding: 8px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
}

.stat-row.remaining-row {
    color: #dc2626;
    font-weight: 500;
    background: #fef2f2;
    margin: 6px -12px 0 -12px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    font-size: 12px;
}

.stat-row.remaining-row .stat-value {
    color: #dc2626;
}

.stat-label {
    color: #64748b;
    font-weight: 400;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-label i {
    font-size: 10px;
    width: 12px;
    text-align: center;
}

.stat-value {
    color: #1e293b;
    font-weight: 500;
    font-size: 11px;
}

/* Platform-specific styling */
.platform-youtube { color: #ff0000; }
.platform-linkedin { color: #0077b5; }
.platform-facebook { color: #1877f2; }
.platform-instagram { color: #e4405f; }

/* Icon styling for stat labels */
.stat-label i.fa-check-circle {
    color: #10b981;
}

.stat-label i.fa-target {
    color: #dc2626;
}

/* Mobile Responsive for Task Breakdown */
@media (max-width: 768px) {
    .task-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .task-breakdown-card {
        padding: 20px;
    }
    
    .task-header {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .task-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .task-info h3 {
        font-size: 16px;
    }
}