/**
 * style.css - 한국미래사업학교 강연장 메인 스타일시트
 * Cosmic Color Scheme + Duolingo Gamified Style
 */

/* ==========================================
   CSS Variables - Color Scheme
   ========================================== */
:root {
    /* Primary Colors - Cosmic Theme */
    --primary-deep: rgb(0, 35, 102);       /* 대관상세정보 배경 */
    --primary-dark: rgb(31, 41, 55);       /* 카피라이트 배경 */
    --primary-light: rgb(249, 250, 251);   /* 중간 배경 */

    /* Cosmic Accent Colors */
    --accent-purple: #8B5CF6;
    --accent-blue: #3B82F6;
    --accent-cyan: #06B6D4;
    --accent-pink: #EC4899;
    --accent-gold: #F59E0B;

    /* Duolingo Green (Gamified) */
    --duo-green: #58CC02;
    --duo-green-dark: #4CAF00;
    --duo-green-light: #89E219;

    /* Gradients */
    --gradient-cosmic: linear-gradient(135deg, var(--primary-deep) 0%, #1e3a8a 50%, #3730a3 100%);
    --gradient-aurora: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    --gradient-success: linear-gradient(135deg, var(--duo-green) 0%, var(--duo-green-light) 100%);

    /* Text Colors */
    --text-dark: #1F2937;
    --text-body: #4B5563;
    --text-light: #9CA3AF;
    --text-white: #FFFFFF;

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-dark: #111827;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-cosmic: 0 10px 40px rgba(0, 35, 102, 0.3);
    --shadow-glow: 0 0 30px rgba(88, 204, 2, 0.4);

    /* Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================
   Container
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 800px;
}

.container-lg {
    max-width: 1400px;
}

/* ==========================================
   Header Styles
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-deep);
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-cosmic);
    border-radius: var(--border-radius-md);
    color: var(--text-white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.logo-text {
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav li {
    position: relative;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-fast);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    color: var(--primary-deep);
    background: rgba(0, 35, 102, 0.08);
}

.main-nav > ul > li > a i {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.main-nav li.has-submenu:hover > a i {
    transform: rotate(180deg);
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    padding: 8px 0;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
}

.main-nav li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: var(--text-body);
    transition: all var(--transition-fast);
}

.submenu li a:hover {
    color: var(--primary-deep);
    background: var(--bg-light);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-reservation {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-success);
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-fast);
}

.btn-reservation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 204, 2, 0.5);
}

.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    color: var(--primary-deep);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-fast);
}

.btn-call:hover {
    background: var(--primary-deep);
    color: var(--text-white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================
   Mobile Bottom Navigation
   ========================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 8px 4px;
    color: var(--text-light);
    font-size: 0.625rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--duo-green);
}

.mobile-bottom-nav .nav-item-main {
    position: relative;
}

.mobile-bottom-nav .nav-item-main i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-top: -24px;
    background: var(--gradient-success);
    color: var(--text-white);
    font-size: 1.5rem;
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.mobile-bottom-nav .nav-item-main span {
    margin-top: 4px;
    color: var(--duo-green);
    font-weight: 700;
}

/* ==========================================
   Mobile Side Menu
   ========================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal-backdrop);
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: var(--z-modal);
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
    overflow-y: auto;
}

.mobile-side-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--gradient-cosmic);
    color: var(--text-white);
}

.mobile-menu-header .logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: none;
    -webkit-text-fill-color: inherit;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.25rem;
}

.mobile-menu-nav {
    padding: 16px 0;
}

.mobile-menu-nav a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-body);
    border-bottom: 1px solid var(--bg-light);
    transition: all var(--transition-fast);
}

.mobile-menu-nav a:hover {
    background: var(--bg-light);
    color: var(--primary-deep);
}

.mobile-menu-contact {
    padding: 20px 24px;
    background: var(--bg-light);
}

.mobile-menu-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.875rem;
    color: var(--text-body);
}

.mobile-menu-contact i {
    color: var(--primary-deep);
}

/* ==========================================
   Main Content Area
   ========================================== */
.site-main {
    min-height: 100vh;
    padding-top: 72px;
}

/* ==========================================
   Section Styles
   ========================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    margin-bottom: 16px;
    background: rgba(0, 35, 102, 0.1);
    color: var(--primary-deep);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--primary-deep);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* Section Backgrounds */
.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--primary-dark);
    color: var(--text-white);
}

.section-deep {
    background: var(--primary-deep);
    color: var(--text-white);
}

.section-gradient {
    background: var(--gradient-cosmic);
    color: var(--text-white);
}

/* ==========================================
   Card Styles (Duolingo-inspired)
   ========================================== */
.card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-text {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* Feature Card */
.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--duo-green);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    background: var(--bg-light);
    color: var(--primary-deep);
    font-size: 2rem;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-success);
    color: var(--text-white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-text {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ==========================================
   Button Styles
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-success);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(88, 204, 2, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 204, 2, 0.5);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-deep);
    border: 2px solid var(--primary-deep);
}

.btn-secondary:hover {
    background: var(--primary-deep);
    color: var(--text-white);
}

.btn-cosmic {
    background: var(--gradient-cosmic);
    color: var(--text-white);
    box-shadow: var(--shadow-cosmic);
}

.btn-cosmic:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 35, 102, 0.4);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================
   Form Styles
   ========================================== */
.form-group {
    margin-bottom: 20px;
}

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

.form-label .required {
    color: #EF4444;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--duo-green);
    box-shadow: 0 0 0 4px rgba(88, 204, 2, 0.15);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control-lg {
    padding: 18px 24px;
    font-size: 1.125rem;
    border-radius: var(--border-radius-lg);
}

/* Form Select */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 48px;
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    accent-color: var(--duo-green);
    cursor: pointer;
}

.form-check-label {
    font-size: 0.9375rem;
    color: var(--text-body);
    cursor: pointer;
}

/* ==========================================
   Footer Styles
   ========================================== */
.site-footer {
    background: var(--bg-dark);
    color: #9CA3AF;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top .footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: none;
    -webkit-text-fill-color: var(--text-white);
    color: var(--text-white);
}

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--duo-green);
    transform: translateY(-4px);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: #9CA3AF;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-contact .contact-list {
    list-style: none;
}

.footer-contact .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.footer-contact .contact-list i {
    color: var(--duo-green);
    margin-top: 4px;
}

.footer-contact .contact-list a {
    color: #9CA3AF;
    transition: color var(--transition-fast);
}

.footer-contact .contact-list a:hover {
    color: var(--text-white);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-business p {
    font-size: 0.8125rem;
    color: #6B7280;
    margin-bottom: 4px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
}

.footer-legal a {
    color: #9CA3AF;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--text-white);
}

.footer-legal .divider {
    color: #4B5563;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: #6B7280;
}

/* ==========================================
   Floating Elements
   ========================================== */
.floating-reservation {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: var(--z-fixed);
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--gradient-success);
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-glow);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(88, 204, 2, 0.6);
    }
}

.floating-call {
    display: none;
    position: fixed;
    bottom: 160px;
    right: 20px;
    z-index: var(--z-fixed);
    width: 56px;
    height: 56px;
    background: var(--primary-deep);
    color: var(--text-white);
    font-size: 1.5rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-cosmic);
    transition: all var(--transition-fast);
}

.floating-call:hover {
    transform: scale(1.1);
}

/* ==========================================
   Toast Messages
   ========================================== */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: var(--z-tooltip);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s ease;
}

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

.toast-success {
    border-left: 4px solid var(--duo-green);
}

.toast-error {
    border-left: 4px solid #EF4444;
}

.toast-info {
    border-left: 4px solid var(--accent-blue);
}

.toast-icon {
    font-size: 1.25rem;
}

.toast-success .toast-icon {
    color: var(--duo-green);
}

.toast-error .toast-icon {
    color: #EF4444;
}

.toast-info .toast-icon {
    color: var(--accent-blue);
}

.toast-message {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-deep); }
.text-success { color: var(--duo-green); }
.text-danger { color: #EF4444; }
.text-muted { color: var(--text-light); }
.text-white { color: var(--text-white); }

.bg-primary { background-color: var(--primary-deep); }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.bg-white { background-color: var(--bg-white); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Grid System */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================
   Scrollbar Styling
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

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

/* ==========================================
   Selection Styling
   ========================================== */
::selection {
    background: rgba(88, 204, 2, 0.3);
    color: var(--text-dark);
}

::-moz-selection {
    background: rgba(88, 204, 2, 0.3);
    color: var(--text-dark);
}
