


        :root {
            --brand-gradient: linear-gradient(90deg, #23A6D5, #A8CF45);
            --text-main: #000000;
            --text-muted: #A0A0A0;
            --border-color: #D1D1D1;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: #FFFFFF;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            width: 100%;
        }

        /* Support Icon */
        .support-header {
            width: 100%;
            display: flex;
            justify-content: flex-end;
            padding: 20px;
            box-sizing: border-box;
        }

        .support-icon {
            width: 32px;
            height: 32px;
            cursor: pointer;
        }

        /* Logo Area Refactor */
        .logo-container {
            margin-top: 40px;
            margin-bottom: 50px;
            display: flex;
            justify-content: center;
        }

        .logo-img {
            width: 150px; /* Scaled for visual impact */
            height: auto;
            display: block;
        }

        .login-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 45px;
            color: var(--text-main);
        }

        /* Form Layout */
        .form-container {
            width: 88%;
            max-width: 400px;
            display: flex;
            flex-direction: column;
        }

        .input-group {
            margin-bottom: 35px;
            width: 100%;
        }

        .input-label {
            font-size: 14px;
            font-weight: 700;
            display: block;
            margin-bottom: 8px;
            color: var(--text-main);
        }

        .input-field {
            width: 100%;
            border: none;
            border-bottom: 1px solid var(--border-color);
            padding: 12px 0;
            font-size: 16px;
            outline: none;
            background: transparent;
            box-sizing: border-box;
        }

        .input-field::placeholder {
            color: var(--text-muted);
            text-align: right;
            font-size: 14px;
        }

        /* Login Button */
        .login-btn {
            width: 100%;
            height: 55px;
            border: none;
            border-radius: 30px;
            background: var(--brand-gradient);
            color: white;
            font-size: 18px;
            font-weight: 700;
            margin-top: 15px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(35, 166, 213, 0.25);
        }

        /* Register Area with Breathing Space */
        .register-container {
            margin-top: 35px;
            padding-bottom: 100px; /* MASSIVE BREATHING SPACE BELOW */
            text-align: center;
        }

        .register-link {
            color: #000;
            text-decoration: underline;
            font-weight: 700;
            font-size: 18px;
            cursor: pointer;
            display: inline-block;
        }

        @media (min-width: 1024px) {
            .form-container {
                max-width: 450px;
                padding: 40px;
                box-shadow: 0 10px 40px rgba(0,0,0,0.04);
                border-radius: 20px;
            }
            .logo-container { margin-top: 70px; }
        }

   /* Overlay */
.rankify-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 10, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    /* animation */
    animation: fadeIn 0.3s ease;
}

/* Base Box */
.rankify-alert-box {
    width: 340px;
    padding: 30px 20px;
    border-radius: 18px;
    text-align: center;
    color: #eaeaea;
    position: relative;

    background: rgba(20, 20, 30, 0.65);
    backdrop-filter: blur(12px);

    animation: scaleIn 0.3s ease;
}

/* Gradient border base */
.rankify-alert-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;

    -webkit-mask: 
        linear-gradient(#000 0 0) content-box, 
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

/* SUCCESS (green glow) */
.rankify-alert-box.success::before {
    background: linear-gradient(135deg, #00ffae, #00ffc8);
}

.rankify-alert-box.success {
    box-shadow: 0 0 25px rgba(0, 255, 174, 0.35);
}

/* ERROR (red glow) */
.rankify-alert-box.error::before {
    background: linear-gradient(135deg, #ff4d4d, #ff1a75);
}

.rankify-alert-box.error {
    box-shadow: 0 0 25px rgba(255, 50, 80, 0.35);
}

/* Text */
.rankify-alert-text {
    font-size: 15px;
    margin-bottom: 20px;
}

/* Divider */
.rankify-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

/* Button */
.rankify-alert-btn {
    background: transparent;
    border: 1px solid white;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    width: 100px;
    padding: 3px;
    border-radius:50px;
    transition: 0.3s;
}

.rankify-alert-btn:hover {
    color: #00ffc8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Fade out */
.fade-out {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; transform: scale(0.95); }
}

.rankify-alert-box {
    position: relative;
    z-index: 10001;
}

.rankify-alert-btn {
    position: relative;
    z-index: 10002;
    pointer-events: auto;
}
.rankify-alert-box::before {
    pointer-events: none; /* ðŸ”¥ THIS IS KEY */
}



       