/* Base Styles & Variables */
:root {
    --primary-color: #5d531a;      /* Dark blue from logo */
    --secondary-color: #845d2a;    /* Lighter blue from logo */
    --accent-color: #d4af37;       /* Gold from logo */
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #f8f9fa;        /* Off-white from logo */
    --dark-color: #1a1a1a;         /* Darker shade for text */
    --text-color: #48462d;         /* Dark gray from logo */
    --text-light: #718096;         /* Medium gray from logo */
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    background-color: #f5f6fa;
    color: var(--text-color);
    line-height: 1.6;
}

/* Dashboard Layout */
.dashboard {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: var(--transition);
    z-index: 1000;
}

.logo {
    text-align: center;
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.logo h2 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.logo p {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.8;
}

.nav-links {
    list-style: none;
    padding: 0 1rem;
}

.nav-links li {
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.nav-links li i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.nav-links li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-links li.active {
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 500;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 1.5rem 2rem;
    transition: var(--transition);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Dashboard Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.stat-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.stat-card h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Quick Links */
.quick-links {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.quick-links h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
}

.link-card {
    background: var(--light-color);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link-card:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.link-card i {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: inherit;
}

.link-card span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Requirements Cards */
.requirements-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.requirements-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.requirements-card h2 i {
    color: var(--accent-color);
}

.requirements-list {
    list-style: none;
    margin: 1.5rem 0;
}

.requirements-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid #eee;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.warning {
    color: var(--warning-color);
    font-weight: 500;
}

.verification-note {
    background: rgba(46, 204, 113, 0.1);
    border-left: 4px solid var(--success-color);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.verification-note h3 {
    color: var(--success-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.verification-note p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Office Etiquette */
.warning-banner {
    background-color: rgba(241, 196, 15, 0.15);
    border-left: 4px solid var(--warning-color);
    color: var(--warning-color);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.warning-banner i {
    font-size: 1.2rem;
}

.office-category {
    margin: 2rem 0;
}

.office-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.office-category ol {
    list-style-position: inside;
    margin-left: 0.5rem;
}

.office-category ol li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    line-height: 1.6;
}

/* Staff Guides */
.guides-container {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.guide-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 1.8rem;
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.guide-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.guide-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.guide-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Melony Section */
.melony-container {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: 0 auto;
}

.melony-header {
    margin-bottom: 2rem;
    text-align: center;
}

.melony-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.melony-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Melony Direct Link */
.melony-direct-link {
    margin-top: 2rem;
    text-align: center;
}

.website-preview {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

.preview-header {
    background: #f5f5f5;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.preview-buttons {
    display: flex;
    gap: 6px;
    margin-right: 10px;
}

.preview-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.preview-button.red { background-color: #ff5f56; }
.preview-button.yellow { background-color: #ffbd2e; }
.preview-button.green { background-color: #27c93f; }

.preview-url {
    flex: 1;
    background: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #5f6368;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #dadce0;
}

.preview-url i {
    color: #34a853;
    font-size: 0.7rem;
}

.preview-content {
    padding: 3rem 2rem;
    text-align: center;
}

.preview-content i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.preview-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.preview-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.connection-note {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.connection-note i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    min-width: 220px;
    margin: 0 auto;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-primary i {
    font-size: 0.9em;
}

.website-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.website-url {
    display: flex;
    align-items: center;
    background: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.website-url i {
    margin-right: 0.5rem;
    color: #34a853;
    font-size: 0.9rem;
}

.website-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 4px;
}

.iframe-container {
    position: relative;
    flex: 1;
    min-height: 600px;
    background: #f8f9fa;
    width: 100%;
    height: 100%;
}

.iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

#melony-website {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
    min-height: 600px;
}

.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.iframe-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.loading-spinner {
    text-align: center;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.loading-spinner p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 1rem 0 2rem;
}

.fallback-message {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.fallback-message p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: white;
}

.mt-2 {
    margin-top: 1rem;
}

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

/* Staff Guides Section - Clean Layout */
#staff-guides {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Callsigns Section */
.callsigns-section {
    margin: 3rem 0;
}

.callsigns-section h3,
.guides-section h3,
.discord-abbreviations h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.callsigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.callsign-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

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

.callsign-card h4 {
    color: var(--text-color);
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.callsign-card p {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Courier New', monospace;
}

/* Guides Section */
.guides-section {
    margin: 3rem 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.guide-card {
    background: white;
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.guide-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    display: block;
}

.guide-card h4 {
    color: var(--primary-color);
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

.guide-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Discord Abbreviations */
.discord-abbreviations {
    margin: 3rem 0;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.abbreviations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.abbreviation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.25rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.abbreviation:hover {
    background: #f1f3f5;
}

.abbreviation span {
    color: var(--text-color);
    font-size: 0.95rem;
}

.abbreviation code {
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #777;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    flex: 1;
    padding: 0;
    position: relative;
    min-height: 400px;
}

.modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
}

.modal-loading i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.modal-loading p {
    color: var(--text-light);
    font-size: 1.1rem;
}

#guide-iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    display: none;
}

.modal-footer {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .callsigns-grid,
    .abbreviations-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .guide-card,
    .callsign-card {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .callsigns-grid,
    .abbreviations-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        padding: 0.5rem;
    }
    
    .melony-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .user-info {
        width: 100%;
        justify-content: space-between;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    line-height: 1;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem 0.5rem;
}

.modal-body {
    flex: 1;
    position: relative;
    overflow: auto;
}

.modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

.modal-loading i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.modal-loading p {
    color: var(--text-light);
    margin: 0;
}

#guide-iframe {
    width: 100%;
    height: 70vh;
    min-height: 400px;
    border: none;
    background: white;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Dashboard Styles */
.welcome-section {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-section h2 {
    color: var(--primary-color);
    margin: 0 0 0.5rem;
    font-size: 2rem;
}

.welcome-section p {
    color: var(--text-light);
    margin: 0;
    font-size: 1.1rem;
}

.quick-access {
    margin-bottom: 2.5rem;
}

.quick-access h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

.link-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    box-sizing: border-box;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.link-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    background: rgba(var(--accent-rgb), 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.link-card:hover i {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.link-card span {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.link-card small {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.notices-section {
    margin-top: 2.5rem;
}

.notices-section h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
}

.notice-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--accent-color);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.notice-card:hover {
    transform: translateX(5px);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
}

.notice-card h4 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.section.active {
    display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 1rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }