:root {
    --primary: #274c77;
    --primary-dark: #3a0ca3;
    --primary-light: #4895ef;
    --secondary: #6096ba;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #fca311;
    --info: #4361ee;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --sidebar-width: 280px;
    --header-height: 70px;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    padding-top:60px;
    background-color: #f5f7fb;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

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

.sidebar-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sidebar-header p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.sidebar-menu {
    padding: 15px 0;
}

.menu-item {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid transparent;
    margin: 5px 0;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--success);
}

.menu-item.active {
    background: rgba(255, 255, 255, 0.2);
    border-left: 4px solid white;
}

.menu-item i {
    margin-right: 15px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.menu-text {
    font-weight: 500;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 25px;
    transition: var(--transition);
}

.header {
    position: fixed !important;
}

/* Header */
.header22 {
    background: white;
    padding: 20px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header22 h1 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.user-actions {
    display: flex;
    gap: 15px;
}

/* Dashboard */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--success));
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-card p {
    color: var(--gray);
    font-weight: 500;
}

/* Section Styles */
.section {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.section-header h2 {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.8rem;
}

/* Buttons */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #2a9d8f);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #e63946);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #f77f00);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, var(--info), #3a86ff);
    color: white;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* Tables */
.table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    background-color: var(--light);
    font-weight: 600;
    color: var(--primary);
}

tr:hover {
    background-color: rgba(67, 97, 238, 0.03);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--light-gray);
}

.tab {
    padding: 12px 25px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}

.tab.active {
    border-bottom: 3px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.tab:hover:not(.active) {
    border-bottom: 3px solid var(--light-gray);
}

/* Attendance Grid */
.attendance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.attendance-item {
    background: var(--light);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.attendance-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.attendance-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(50px);
    opacity: 0;
    transition: var(--transition);
}

.modal-backdrop.active .modal {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.modal-header h3 {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 1200px) {
    .sidebar {
        width: 80px;
        overflow: visible;
    }
    
    .sidebar .menu-text {
        display: none;
    }
    
    .main-content {
        margin-left: 80px;
    }
}

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

@media (max-width: 768px) {
    .sidebar {
        width: 0;
        overflow: hidden;
    }
    
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .header22 {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section {
        padding: 15px;
    }
    
    .attendance-grid {
        grid-template-columns: 1fr;
    }
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--box-shadow);
    z-index: 3000;
    transform: translateX(100%);
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    background: linear-gradient(135deg, var(--success), #2a9d8f);
}

.notification-error {
    background: linear-gradient(135deg, var(--danger), #e63946);
}

.notification-warning {
    background: linear-gradient(135deg, var(--warning), #f77f00);
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 20px;
}

.login-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 700;
}

/* Export Section */
.export-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* Premium Banner */
.premium-banner {
    background: linear-gradient(135deg, var(--warning) 0%, var(--danger) 100%);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

/* Status Indicators */
.status-present {
    color: var(--success);
    font-weight: 600;
}

.status-absent {
    color: var(--danger);
    font-weight: 600;
}

.status-late {
    color: var(--warning);
    font-weight: 600;
}

.status-excused {
    color: var(--info);
    font-weight: 600;
}

/* Charts */
.chart-container {
    position: relative;
    height: 300px;
    margin-top: 20px;
}

/* Class Buttons */
.class-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.class-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    background: var(--light);
    color: var(--dark);
}

.class-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.class-btn:hover:not(.active) {
    background: var(--light-gray);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Pin Code Modal */
.pin-modal {
    text-align: center;
}

.pin-input {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.pin-input input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.pin-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* Analysis Cards */
.analysis-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.analysis-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.analysis-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(67, 97, 238, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Attendance Status Buttons */
.attendance-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-present {
    background: rgba(76, 201, 240, 0.1);
    color: var(--success);
}

.btn-present.active {
    background: var(--success);
    color: white;
}

.btn-absent {
    background: rgba(247, 37, 133, 0.1);
    color: var(--danger);
}

.btn-absent.active {
    background: var(--danger);
    color: white;
}

.btn-late {
    background: rgba(252, 163, 17, 0.1);
    color: var(--warning);
}

.btn-late.active {
    background: var(--warning);
    color: white;
}

.btn-excused {
    background: rgba(67, 97, 238, 0.1);
    color: var(--info);
}

.btn-excused.active {
    background: var(--info);
    color: white;
}

/* Attendance Book Styles */
.attendance-book-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    overflow-x: auto;
}

.attendance-book-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.attendance-book-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.attendance-book-table th {
    background-color: var(--primary);
    color: white;
    padding: 12px;
    text-align: center;
    position: sticky;
    top: 0;
}

.attendance-book-table td {
    padding: 8px;
    border: 1px solid var(--light-gray);
    text-align: center;
}

.attendance-book-table tr:nth-child(even) {
    background-color: var(--light);
}

.attendance-status {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-P {
    background-color: var(--success);
    color: white;
}

.status-A {
    background-color: var(--danger);
    color: white;
}

.status-L {
    background-color: var(--warning);
    color: white;
}

.status-E {
    background-color: var(--info);
    color: white;
}

.attendance-book-summary {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--light);
    border-radius: var(--border-radius);
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.day-header {
    text-align: center;
    font-weight: bold;
    padding: 5px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 4px;
}

.day-cell {
    text-align: center;
    padding: 5px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    min-height: 30px;
    min-width: 30px;
}

.day-cell.empty {
    background-color: #f8f9fa;
}

.day-cell.weekend {
    background-color: #f0f0f0;
}

.day-cell.today {
    background-color: #e7f5ff;
    border: 1px solid var(--primary-light);
}

.attendance-book-student-info {
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 1;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

@media print {
    body * {
        visibility: hidden;
    }
    .attendance-book-container, .attendance-book-container * {
        visibility: visible;
    }
    .attendance-book-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        box-shadow: none;
    }
    .btn {
        display: none;
    }
}

.text-muted {
    color: var(--gray);
    font-size: 0.9rem;
}

.menu-item.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.menu-item.locked:hover {
    background: transparent;
    border-left: 4px solid transparent;
}

/* Ensure modals are properly visible when active */
.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
    z-index: 2000;
}

.modal-backdrop.active .modal {
    transform: translateY(0);
    opacity: 1;
    z-index: 2001;
}

/* Improve PIN input visibility */
.pin-digit:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    transform: scale(1.05);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    position: fixed;
    top: 50px;
    left: 15px;
    z-index: 1001;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: none; 
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100%;
        width: 280px;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .header22 {
        padding-left: 70px;
    }
    
    .user-actions {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .user-actions .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    /* Ensure menu text is visible on mobile */
    .menu-text {
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .menu-item {
        padding: 12px 20px;
        justify-content: flex-start;
    }
    
    .menu-item i {
        margin-right: 15px;
        width: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 260px;
        left: -260px;
    }
    
    .mobile-menu-btn {
        display: flex;
        top: 70px;
        left: 10px;
        width: 36px;
        height: 36px;
    }
    
    .menu-item {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Ensure sidebar header text is visible */
.sidebar-header h2,
.sidebar-header p {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

/* Ensure all sidebar text is visible */
.sidebar {
    overflow: visible;
}

.sidebar-header {
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-color);
    white-space: normal;
    word-wrap: break-word;
}

.sidebar-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: normal;
    word-wrap: break-word;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary);
}

.menu-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: var(--primary);
}

.menu-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.menu-text {
    display: inline-block;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* On mobile, ensure text doesn't get cut off */
@media (max-width: 768px) {
    .menu-text {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    
    .sidebar-menu {
        padding: 10px 0;
    }
}

/* Content Section Styles */
.content-section {
    margin: 25px 0;
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.content-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 12px;
    
    margin: 20px 0;
}

.content-card h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.content-card h5 {
    color: var(--primary);
    margin: 20px 0 10px 0;
    font-size: 1.2rem;
}

.content-card p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.content-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.content-card li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.feature-highlight {
    background: rgba(67, 97, 238, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(67, 97, 238, 0.1);
    margin: 20px 0;
}

/* AdSense Container Styles */
.adsense-container {
    margin: 30px 0;
    border-radius: 8px;
    text-align: center;
    border: 2px dashed #dee2e6;
}

/* Responsive Ad Containers */
@media (min-width: 768px) {
    .adsense-container {
        margin: 30px auto;
    }
}

@media (max-width: 767px) {
    .adsense-container {
        margin: 20px 0;
    }
}

/* Content Typography Enhancements */
.content-section h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.content-card strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Print-friendly Content Styles */
@media print {
    .adsense-container {
        display: none;
    }
    
    .content-section {
        box-shadow: none;
        margin: 10px 0;
        padding: 15px;
    }
}