



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

        body {
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: #FFFFFF;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-bottom: 50px;
        }

        /* --- LOGO SECTION --- */
        .logo-wrapper {
            margin-top: 40px;
            margin-bottom: 40px;
            text-align: center;
        }

        #mb-logo {
            width: 140px; /* Adjust size to match your asset */
            height: auto;
            display: block;
        }

        .page-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 40px;
        }

        /* --- FORM LAYOUT --- */
        .form-container {
            width: 90%;
            max-width: 450px;
        }

        .input-group {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
            padding: 15px 0;
            margin-bottom: 10px;
        }

        .input-label {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-main);
            white-space: nowrap;
        }

        .input-field {
            width: 60%;
            border: none;
            outline: none;
            text-align: right;
            font-size: 15px;
            background: transparent;
        }

        .input-field::placeholder {
            color: var(--text-muted);
        }

        /* --- GENDER SECTION --- */
        .gender-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .gender-option {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 15px;
            color: var(--text-main);
        }

        /* --- TERMS SECTION --- */
        .terms-wrapper {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-top: 30px;
            margin-bottom: 30px;
            font-size: 13px;
            line-height: 1.4;
        }

        .custom-checkbox {
            width: 20px;
            height: 20px;
            background-color: var(--brand-green);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .custom-checkbox::after {
            content: '✓';
            color: white;
            font-size: 12px;
            font-weight: bold;
        }

        .terms-text b { color: #000; }
        .terms-link { color: var(--brand-green); text-decoration: underline; }

        /* --- ACTION BUTTON --- */
        .register-btn {
            width: 100%;
            height: 55px;
            border: none;
            border-radius: 30px;
            background: var(--brand-gradient);
            color: white;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(35, 166, 213, 0.2);
        }

        @media (min-width: 1024px) {
            body { background-color: #f4f7f6; padding-top: 50px; }
            .form-container { 
                background: white; 
                padding: 40px; 
                border-radius: 15px; 
                box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
            }
        }
  .back-to-login {
    margin-top: 25px;
    text-align: center;
    width: 100%;
}

.back-to-login a {
    color: var(--text-main);
    text-decoration: underline;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    display: inline-block;
}
  
      /* 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 */
}
