.spinner {
    border: 4px solid #e0f2fe;
    border-top: 4px solid #0284c7;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.spinner-text {
    margin-top: 16px;
    color: #0284c7;
    font-weight: 600;
    font-size: 14px;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, sans-serif;
    overflow-x: hidden;
}

/* Animated Blue Gradient Background */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(270deg, #0284c7, #38bdf8, #0ea5e9, #0284c7);
    background-size: 800% 800%;
    animation: gradientBG 16s ease infinite;
}

/* White Card with Top Curve */
.login-card {
    background: white;
    border-radius: 40px 40px 0 30px 30px 0 10;
    position: relative;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    margin-top: auto;

}

/* Input Styling */
.input-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: none;
    border-bottom: 2px solid #0ea5e9;
    background: transparent;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    color: #333;
}

.input-wrapper input::placeholder {
    color: #ccc;
}

.input-wrapper input:focus {
    border-bottom-color: #0284c7;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #0ea5e9;
    transition: all 0.3s ease;
}

.input-wrapper input:focus~.input-icon {
    color: #0284c7;
}

.eye-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eye-icon:hover {
    color: #0284c7;
}

/* Login Button */
.login-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 16px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}

.login-btn:active {
    transform: translateY(0);
}

/* Custom Checkbox */
.custom-checkbox {
    accent-color: #0284c7;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        border-radius: 30px 30px 0 0;
        padding: 30px 25px !important;
    }
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #333 !important;
}