﻿

html {
    scrollbar-width: thin;
    scrollbar-color: #003366 #f1f5f9;
}

    html.lenis {
        height: auto;
    }

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5) ), url("../Images/login-bg-3.jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.material-group {
    position: relative;
    margin-top: 24px;
}

.material-input {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    outline: none;
    background: transparent;
    transition: 0.3s;
}

    .material-input:focus {
        border-bottom-color: #ad8b3a;
    }

.material-label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
    transition: 0.3s;
}

.material-input:focus ~ .material-label,
.material-input:not(:placeholder-shown) ~ .material-label {
    top: -12px;
    font-size: 11px;
    color: #ad8b3a;
    font-weight: 700;
    text-transform: uppercase;
}

#registrationModal {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    #registrationModal.active {
        display: flex;
        opacity: 1;
    }

.modern-row {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

    .modern-row:hover {
        background: oklch(86.9% 0.005 56.366);
        transform: scale(1.01);
        border-left-color: #ad8b3a;
        box-shadow: 0 10px 30px -10px rgba(0, 33, 71, 0.1);
    }

.material-input {
    padding-right: 2.5rem;
}

.material-group {
    position: relative;
}

#registrationModal .overflow-y-auto {
    scrollbar-width: thin;
    scrollbar-color: #003366 #f1f1f1;
}

    #registrationModal .overflow-y-auto::-webkit-scrollbar {
        width: 6px;
    }

    #registrationModal .overflow-y-auto::-webkit-scrollbar-track {
        background: #f8fafc;
    }

    #registrationModal .overflow-y-auto::-webkit-scrollbar-thumb {
        background-color: #003366;
        border-radius: 20px;
    }

@media (max-width: 768px) {
    #registrationModal .close-container {
        position: sticky;
        top: 0;
        right: 0;
        z-index: 50;
        background: white;
        display: flex;
        justify-content: flex-end;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
}

@layer utilities {
    .animate-spin-slow {
        animation: spin 3s linear infinite;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 20px 45px rgba(34, 197, 94, 0.6);
    }
}

.animate-pulseGlow {
    animation: pulseGlow 1.8s ease-in-out infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeUp {
    animation: fadeUp 1s ease-out forwards;
}
