/**
 * URL Shortener - Dark Theme with Glassmorphism
 * Pure black base with glass effects, gradient borders, and modern animations
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --pure-black: #000000;
    --dark-gray: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Gradient Colors */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);

    /* Border Gradients */
    --border-gradient: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #667eea);
    --border-gradient-2: linear-gradient(135deg, #4facfe, #00f2fe, #43e97b, #4facfe);

    /* Shadows */
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);
    --shadow-glow-strong: 0 0 40px rgba(102, 126, 234, 0.5);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--pure-black);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(79, 172, 254, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 200%;
    animation: particleMove 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleMove {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Glass Effect Mixin */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.logo svg {
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.6));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.6)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.9)); }
}

.admin-link {
    position: relative;
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.admin-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: var(--border-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-link:hover::before {
    opacity: 1;
}

.admin-link:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Main Content */
.main {
    max-width: 900px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeIn 1s ease;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(102, 126, 234, 0.5);
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    animation: fadeIn 1.2s ease;
}

/* Card - Glass Effect */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-glass);
    margin-bottom: 60px;
    animation: fadeInUp 1s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--border-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 0.03;
}

/* Form Styles */
.shorten-form {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    color: var(--text-primary);
    position: relative;
}

.form-input:focus {
    outline: none;
    background: var(--glass-bg-hover);
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.5), var(--shadow-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Custom Code Input */
.custom-code-input {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.custom-code-input::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    padding: 2px;
    background: var(--border-gradient-2);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-code-input:focus-within::before {
    opacity: 1;
}

.domain-prefix {
    padding: 16px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: var(--text-secondary);
    font-size: 16px;
    white-space: nowrap;
    font-weight: 500;
}

.form-input-custom {
    border-radius: 0 12px 12px 0;
    flex: 1;
}

/* Length Selector */
.length-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.length-selector:focus-within {
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.5), var(--shadow-glow);
}

.length-selector label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.length-selector select {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.length-selector select:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.length-selector select option {
    background: #1a1a1a;
    color: var(--text-primary);
}

.form-help {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    width: 100%;
    box-shadow: var(--shadow-glow);
    position: relative;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

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

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(102, 126, 234, 0.5);
}

.btn-outline:hover {
    background: var(--gradient-1);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.btn-copy {
    background: var(--gradient-3);
    color: var(--text-primary);
    padding: 14px 28px;
    white-space: nowrap;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
}

.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(79, 172, 254, 0.5);
}

/* Spinner */
.spinner {
    animation: spin 1s linear infinite;
}

.spinner-circle {
    stroke-dasharray: 50;
    stroke-dashoffset: 25;
    animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0% { stroke-dashoffset: 25; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -25; }
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(67, 233, 123, 0.1);
    border-color: rgba(67, 233, 123, 0.3);
    color: #43e97b;
}

.alert-error {
    background: rgba(245, 87, 108, 0.1);
    border-color: rgba(245, 87, 108, 0.3);
    color: #f5576c;
}

.alert-warning {
    background: rgba(254, 225, 64, 0.1);
    border-color: rgba(254, 225, 64, 0.3);
    color: #fee140;
}

/* Result Container */
.result-container {
    margin-top: 30px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.result-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.result-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(102, 126, 234, 0.1) 0deg,
        transparent 60deg,
        transparent 120deg,
        rgba(240, 147, 251, 0.1) 180deg,
        transparent 240deg,
        transparent 300deg,
        rgba(102, 126, 234, 0.1) 360deg
    );
    animation: rotate 8s linear infinite;
    pointer-events: none;
}

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

.result-header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.success-icon {
    color: #43e97b;
    filter: drop-shadow(0 0 10px rgba(67, 233, 123, 0.6));
    margin-bottom: 12px;
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.result-header h3 {
    font-size: 24px;
    color: var(--text-primary);
}

.result-url {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.short-url-input {
    flex: 1;
    padding: 16px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(67, 233, 123, 0.3);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #43e97b;
    box-shadow: 0 0 20px rgba(67, 233, 123, 0.2);
}

.result-original {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.result-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.result-link {
    color: rgba(102, 126, 234, 0.8);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.result-link:hover {
    color: #667eea;
    text-decoration: underline;
}

.result-actions {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.result-actions .btn {
    flex: 1;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 36px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    padding: 2px;
    background: var(--border-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

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

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.4));
    animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 1s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
}

.footer p {
    margin-bottom: 8px;
}

.footer a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .card {
        padding: 28px;
        border-radius: 20px;
    }

    .custom-code-input {
        flex-direction: column;
        align-items: stretch;
    }

    .domain-prefix {
        border-right: 1px solid var(--glass-border);
        border-radius: 12px 12px 0 0;
    }

    .form-input-custom {
        border-radius: 0 0 12px 12px;
    }

    .result-url {
        flex-direction: column;
    }

    .result-actions {
        flex-direction: column;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .card {
        padding: 20px;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

/* Tabs */
.tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 0;
}

.tab-btn {
    padding: 14px 28px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(102, 126, 234, 0.05);
}

.tab-btn.active {
    color: var(--text-primary);
    border-bottom-color: #667eea;
    background: rgba(102, 126, 234, 0.08);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

/* Bulk URL Input */
.bulk-input-container {
    position: relative;
}

.bulk-textarea {
    width: 100%;
    min-height: 300px;
    padding: 18px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    resize: vertical;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.bulk-textarea:focus {
    outline: none;
    background: var(--glass-bg-hover);
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.5), var(--shadow-glow);
}

.bulk-textarea::placeholder {
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bulk-help {
    margin-top: 12px;
    padding: 16px;
    background: rgba(102, 126, 234, 0.08);
    border-left: 3px solid #667eea;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.bulk-help strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
}

.bulk-results {
    margin-top: 30px;
}

.bulk-result-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    animation: slideDown 0.3s ease;
}

.bulk-result-item.success {
    border-left: 3px solid #43e97b;
}

.bulk-result-item.error {
    border-left: 3px solid #f5576c;
}

.bulk-result-info {
    flex: 1;
}

.bulk-result-short {
    font-weight: 700;
    color: #43e97b;
    font-family: 'Courier New', monospace;
    margin-bottom: 4px;
    font-size: 15px;
}

.bulk-result-original {
    color: var(--text-muted);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bulk-result-error {
    color: #f5576c;
    font-size: 13px;
}

.bulk-copy-btn {
    padding: 8px 16px;
    background: var(--gradient-3);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.bulk-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.4);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-bg);
    border-radius: 5px;
    border: 2px solid var(--dark-gray);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--glass-bg-hover);
}

/* Selection */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: var(--text-primary);
}