﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f172a, #312e81, #4f46e5);
    position: relative;
}

/* Animated Background */

.bg-animation {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

    .bg-animation span {
        position: absolute;
        display: block;
        border-radius: 50%;
        background: rgba(255,255,255,0.06);
        animation: float 18s linear infinite;
    }

        .bg-animation span:nth-child(1) {
            width: 180px;
            height: 180px;
            left: 10%;
            top: 20%;
        }

        .bg-animation span:nth-child(2) {
            width: 250px;
            height: 250px;
            right: 10%;
            top: 15%;
            animation-delay: 4s;
        }

        .bg-animation span:nth-child(3) {
            width: 150px;
            height: 150px;
            left: 20%;
            bottom: 10%;
            animation-delay: 2s;
        }

        .bg-animation span:nth-child(4) {
            width: 220px;
            height: 220px;
            right: 15%;
            bottom: 5%;
            animation-delay: 6s;
        }

@keyframes float {

    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* Main */

.login-page {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
}

/* Logo */

.logo-section {
    text-align: center;
    margin-bottom: 25px;
}

.vivo-logo {
    width: 180px;
    margin-bottom: 10px;
}

.logo-section h2 {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo-section p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

/* Card */

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 30px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

/* Inputs */

.input-group-custom {
    margin-bottom: 22px;
}

    .input-group-custom label {
        color: #fff;
        font-size: 14px;
        margin-bottom: 8px;
        display: block;
        font-weight: 500;
    }

.input-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 0 15px;
    height: 58px;
    transition: 0.3s ease;
}

    .input-box:focus-within {
        border-color: #38bdf8;
        box-shadow: 0 0 15px rgba(56,189,248,0.4);
    }

    .input-box i {
        color: #cbd5e1;
        font-size: 18px;
        margin-right: 12px;
    }

    .input-box input {
        flex: 1;
        border: none;
        background: transparent;
        color: #fff;
        font-size: 15px;
        outline: none;
    }

        .input-box input::placeholder {
            color: rgba(255,255,255,0.55);
        }

/* OTP */

.otp-wrapper {
    display: flex;
    gap: 10px;
}

.otp-input {
    flex: 1;
}

.otp-btn {
    min-width: 110px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s ease;
}

    .otp-btn:hover {
        transform: translateY(-2px);
    }

/* Timer */

.timer-area {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 20px;
}

#timerText {
    color: #cbd5e1;
    font-size: 13px;
}

/* Login Button */

.login-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s ease;
    box-shadow: 0 8px 25px rgba(37,99,235,0.4);
}

    .login-btn:hover {
        transform: translateY(-3px);
    }

/* Footer */

.footer-text {
    margin-top: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    text-align: center;
}

/* Mobile */

@media(max-width:576px) {

    .login-card {
        padding: 24px;
        border-radius: 24px;
    }

    .logo-section h2 {
        font-size: 28px;
    }

    .vivo-logo {
        width: 150px;
    }

    .otp-wrapper {
        flex-direction: column;
    }

    .otp-btn {
        width: 100%;
        height: 52px;
    }
}
