 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

    body {
        margin: 0;
        font-family: 'Poppins', sans-serif;
        background: linear-gradient(135deg, #4d148c, #ff6600);
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        overflow: hidden;
    }

    /* Background circles */
    .circle {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.5;
        z-index: 0;
    }

    .c1 { width: 300px; height: 300px; background: #ff6600; top: -50px; right: -50px; }
    .c2 { width: 250px; height: 250px; background: #4d148c; bottom: -60px; left: -40px; }

    .login-card {
        position: relative;
        width: 100%;
        max-width: 380px;
        padding: 35px 30px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 8px 40px rgba(0,0,0,0.25);
        backdrop-filter: blur(12px);
        color: #fff;
        z-index: 1;
        animation: fadeIn 0.8s ease;
        overflow: hidden;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .title {
        text-align: center;
        font-size: 26px;
        font-weight: 600;
        margin-bottom: 25px;
    }

    .input-box {
        position: relative;
        margin-bottom: 20px;
    }

    .input-box input {
        width: 100%;
        padding: 13px 45px;
        border-radius: 12px;
        border: none;
        background: rgba(255,255,255,0.18);
        color: #fff;
        font-size: 15px;
        outline: none;
        box-sizing: border-box; /* FIX: prevents overflow */
    }

    .input-box input::placeholder {
        color: rgba(255,255,255,0.75);
    }

    .input-icon {
        position: absolute;
        top: 50%;
        left: 14px;
        transform: translateY(-50%);
        font-size: 17px;
        opacity: 0.8;
        pointer-events: none;
    }

    .toggle-pass {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        font-size: 13px;
        color: #fff;
        opacity: 0.8;
        user-select: none;
    }

    .btn {
        width: 100%;
        background: #ff6600;
        padding: 13px;
        border: none;
        border-radius: 12px;
        font-size: 16px;
        color: #fff;
        cursor: pointer;
        font-weight: 600;
        transition: 0.3s;
    }

    .btn:hover {
        background: #e25500;
    }

    .footer {
        text-align: center;
        margin-top: 18px;
        font-size: 13px;
        color: #fff;
        opacity: 0.8;
    }

    /* Mobile fixes */
    @media (max-width: 450px) {
        .login-card {
            padding: 28px 22px;
        }
        .title {
            font-size: 22px;
        }
    }