@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-glow: rgba(255, 85, 0, 0.35);

    --color-text: #0f172a;
    --color-text-muted: #475569;

    --primary: #ff5500;
    --primary-hover: #e04b00;
    --primary-glow: rgba(255, 85, 0, 0.15);

    --secondary: #d97706;

    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.15);

    --warning: #f59e0b;

    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.15);

    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 85, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 170, 0, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
}

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

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

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

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

a {
    color: inherit;
    text-decoration: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    font-family: var(--font-main);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border: 1px solid #000000;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-text-muted);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(255, 85, 0, 0.1);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-text) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-glow);
}

/* Header / Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

header .logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

header .logo i {
    color: var(--primary);
}

header .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

header .header-right .lang-selector {
    display: flex;
    align-items: center;
}

/* Sidebar Toggle Button */
.sidebar-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    padding: 8px;
}

.sidebar-toggle-btn:hover {
    color: var(--primary);
}

.sidebar-toggle-btn i {
    font-size: 1.4rem;
}

/* Language Selector */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
    font-family: var(--font-main);
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 80px;
    left: -300px;
    width: 280px;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    z-index: 99;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 20px 0;
}

.sidebar.open {
    left: 0;
}

.sidebar nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.sidebar nav ul .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar nav ul .nav-link:hover,
.sidebar nav ul .nav-link.active {
    color: var(--primary);
    background: rgba(255, 85, 0, 0.05);
    border-left-color: var(--primary);
}

.sidebar nav ul .admin-link {
    font-weight: 600;
    border-top: 1px solid var(--border-color);
}

.sidebar nav ul .admin-link:hover {
    background: rgba(255, 85, 0, 0.1);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0);
    z-index: 98;
    transition: background 0.3s ease;
    pointer-events: none;
    visibility: hidden;
}

.sidebar-overlay.open {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: all;
    visibility: visible;
}

.sidebar li.lang-item {
    display: none;
}

@media (max-width: 768px) {
    .sidebar li.lang-item {
        display: flex;
    }
}

/* Mobile Menu Button (Legacy, kept for compatibility) */
.mobile-menu-btn {
    display: none;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px 0;
    text-align: center;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(248, 250, 252, 0.85), rgba(248, 250, 252, 0.98)), url('../uploads/enduro_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.hero-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.info-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #000000;
    padding: 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    background: rgba(255, 85, 0, 0.02);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Classes Section */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.class-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.class-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-text);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.class-card h4 {
    color: var(--color-text);
    padding-bottom: 10px;
}

.class-card .class-details {
    list-style: none;
    margin: 15px 0 25px 0;
    flex-grow: 1;
}

.class-card .class-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.class-card .class-details li i {
    color: var(--secondary);
    font-size: 0.85rem;
}

.class-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
}

.class-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* Event Schedule & Regulations (Accordion) */
.rules-section {
    padding: 60px 0;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rule-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.rule-num {
    background: rgba(255, 85, 0, 0.1);
    color: var(--primary);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

/* Multi-step Registration Form */
.register-container {
    max-width: 800px;
    margin: 40px auto;
}

.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.stepper-progress {
    position: absolute;
    top: 20px;
    left: 40px;
    width: 0%;
    height: 2px;
    background: var(--primary);
    z-index: 1;
    transition: var(--transition);
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    cursor: pointer;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.step-node.active .step-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.step-node.completed .step-circle {
    border-color: var(--success);
    background: var(--success);
    color: #fff;
}

.step-label {
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.step-node.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step-node.completed .step-label {
    color: var(--success);
}

/* Form Styles */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

input,
select,
textarea {
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.15);
    background: #fff;
}

/* Custom Number Checker Layout */
.start-number-group {
    display: flex;
    gap: 10px;
}

.start-number-group input {
    flex-grow: 1;
}

.number-status {
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
}

.number-status.available {
    color: var(--success);
}

.number-status.unavailable {
    color: var(--danger);
}

/* Waiver / Liability Box */
.waiver-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius);
    height: 250px;
    overflow-y: scroll;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.waiver-box h4 {
    color: var(--color-text);
    margin-bottom: 10px;
}

.waiver-box p {
    margin-bottom: 12px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
    margin-top: 2px;
}

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

/* Payment Panel */
.payment-details {
    background: rgba(255, 85, 0, 0.03);
    border: 1px dashed var(--primary);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.payment-details p {
    margin-bottom: 8px;
}

.bank-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.bank-name {
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
}

.bank-account {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text);
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: rgba(255, 85, 0, 0.02);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-wrapper i {
    font-size: 2.5rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.file-preview {
    margin-top: 15px;
    max-height: 300px;
    width: auto;
    max-width: 100%;
    display: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    object-fit: contain;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* Status / Ticket Search & Output */
.search-container {
    max-width: 600px;
    margin: 40px auto;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.search-box input {
    flex-grow: 1;
}

/* Ticket Styling */
.ticket-wrapper {
    max-width: 500px;
    margin: 0 auto;
    perspective: 1000px;
}

.ticket-card {
    background: linear-gradient(145deg, #181822 0%, #101015 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.ticket-card::before,
.ticket-card::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--bg-primary);
    border-radius: 50%;
    top: 60%;
    z-index: 10;
}

.ticket-card::before {
    left: -12px;
    border-right: 1px solid var(--border-color);
}

.ticket-card::after {
    right: -12px;
    border-left: 1px solid var(--border-color);
}

.ticket-header {
    background: linear-gradient(90deg, var(--primary), #e04b00);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.ticket-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ticket-body {
    padding: 25px;
}

.ticket-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.ticket-item {
    display: flex;
    flex-direction: column;
}

.ticket-label {
    font-size: 0.75rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-val {
    font-size: 1rem;
    font-weight: 600;
    color: #ed4f00;
}

.ticket-divider {
    border-top: 1px dashed var(--border-color);
    margin: 20px 0;
    position: relative;
}

.ticket-footer {
    padding: 0 25px 25px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-code-wrapper {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 15px;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.qr-code-wrapper canvas,
.qr-code-wrapper img {
    max-width: 100%;
}

.ticket-num-badge {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.2);
}

.status-banner {
    padding: 15px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-pending {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.status-approved {
    background: rgba(0, 204, 102, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.status-scrutineered {
    background: rgba(0, 204, 102, 0.2);
    border: 2px solid var(--success);
    color: var(--success);
    box-shadow: 0 0 15px var(--success-glow);
}

.status-rejected {
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* Footer styling */
footer {
    border-top: 1px solid var(--border-color);
    background: #08080a;
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
    color: var(--color-text-muted);
}

footer p {
    font-size: 0.9rem;
}

/* Responsive Breakpoints */

/* Desktop Layout - Sidebar visible by default */
@media (min-width: 769px) {
    .sidebar {
        position: fixed;
        top: 80px;
        left: -300px;
        width: 280px;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-right: 1px solid var(--border-color);
        z-index: 99;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding: 30px 0;
    }

    .sidebar.open {
        left: 0;
    }

    .sidebar-overlay {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0);
        z-index: 98;
        transition: background 0.3s ease;
        pointer-events: none;
        visibility: hidden;
    }

    .sidebar-overlay.open {
        background: rgba(0, 0, 0, 0.5);
        pointer-events: all;
        visibility: visible;
    }

    header .navbar {
        height: 80px;
    }

    header .logo {
        margin-right: auto;
    }
}

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    header .navbar {
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header .logo {
        font-size: 1.3rem;
    }

    header .header-right .lang-selector {
        display: none;
    }

    .sidebar .lang-item {
        display: flex;
    }

    .sidebar {
        top: 70px;
        height: calc(100vh - 70px);
        width: 250px;
        left: -250px;
    }

    .sidebar-overlay {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .hero-section {
        padding: 60px 0 40px 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }

    .stepper {
        margin-bottom: 30px;
    }

    .step-label {
        display: none;
    }

    .stepper::before {
        left: 20px;
        right: 20px;
    }

    .class-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }

    .class-card-footer .class-price {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 20px;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
    }

    .form-navigation {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .search-box {
        flex-direction: column;
    }
}

/* Language Switch Style */
.lang-switch-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.lang-label {
    transition: var(--transition);
}

.lang-label.active {
    color: var(--primary) !important;
}

.lang-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    margin-bottom: 0 !important;
}

.lang-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lang-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
    transition: .3s;
    border-radius: 22px;
}

.lang-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--primary);
    transition: .3s;
    border-radius: 50%;
}

.lang-switch input:checked+.lang-slider:before {
    transform: translateX(20px);
}

.classes-split {
    display: grid;
    grid-template-columns: 70fr 30fr;
    gap: 25px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
  .classes-split {
    grid-template-columns: 1fr; /* Berubah jadi 1 kolom ke bawah */
  }
  .clock {
    display: none;
  }
}