#affiliate-auth-wrapper {
    max-width: 380px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 32px 28px 24px 28px;
}

.affiliate-form {
    display: none;
    animation: fadeIn 0.4s;
}
.affiliate-form.active {
    display: block;
}

.affiliate-form h1 {
    text-align: center !important;
    color: #222;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 300 !important;
    font-size: 20px;
    margin-top: 12px;
}

.affiliate-logo {
    display:flex;
    justify-content: center ;
}

.form-span-text {
    text-align: center;
    color: #555;
    font-weight: 300;
    font-size: 13px;
    margin-bottom: 20px;
}

/* Fields */
.affiliate-field {
    margin-bottom: 18px;
    position: relative;
}

.affiliate-field label {
    display: block;
    margin-bottom: 6px;
    color: #222;
    font-size: 13px;
}

.affiliate-field input {
    width: 92.5%;
    padding: 12px 14px;
    font-size: 15px;
    background: #fafbfc;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border 0.2s;
}

.affiliate-field input:focus {
    border-color: #2069ff;
    outline: none;
}

/* Password toggle */
.password-input {
    position: relative;
}
.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Sign in button */
.affiliate-btn {
    background-color: #2069ff !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border: none !important;
    width: 100% !important;
    padding: 12px !important;
    border-radius: 8px !important;
    margin-top: 10px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.affiliate-btn:hover {
    background-color: #005ce6;
}

/* Divider */
.affiliate-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.affiliate-divider span {
    background: #fff;
    padding: 0 12px;
    color: #555;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.affiliate-divider:before {
    content: "";
    display: block;
    height: 1px;
    background: #e0e0e0;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 0;
}

/* Remember / Forgot */
.affiliate-remember-me {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.affiliate-remember-me input[type="checkbox"] {
    margin-right: 6px;
}

/* Social login button */
.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #3c4043;
    text-decoration: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 20px auto;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.google-login-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.google-login-btn span {
    flex: 1;
    text-align: center;
}

/* Sign up link */
.DonotHaveAccount {
    text-align: center;
    margin-top: 14px;
}

.DonotHaveAccount a {
    color: #2069ff;
    text-decoration: none;
    font-weight: 500;
}
.DonotHaveAccount a:hover {
    text-decoration: underline;
}


   /* hide headers/footers */
        .hello-header,
        .hello-footer,
        .hello-footer-part,
        .footer {
            display: none !important;
        }

        /* form wrapper */
        #affiliate-auth-wrapper {
            max-width: 420px;
            margin: 40px auto;
            background: #fff;
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
        }

        h1 {
            text-align: center;
            font-size: 26px;
            font-weight: 600;
            font-family: 'Plus Jakarta Sans', sans-serif;
            color: #222;
            line-height: 1.4;
        }

        h1 strong {
            color: #2069ff;
        }

        .form-span-text {
            text-align: center;
            margin-top: -8px;
            font-size: 13px;
            color: #555;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        .affiliate-field {
            margin-bottom: 18px;
        }

        .affiliate-field label {
            display: block;
            margin-bottom: 6px;
            font-size: 13px;
            color: #222;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

    
        .affiliate-field select {
            width: 100%;
            background: #fafbfc;
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 10px;
            font-size: 14px;
            transition: 0.2s;
        }

        .affiliate-field input:focus,
        .affiliate-field select:focus {
            border-color: #2069ff;
            outline: none;
        }

        .affiliate-btn {
            width: 100%;
            background: #2069ff;
            color: #fff;
            padding: 12px;
            border: none;
            font-size: 15px;
            border-radius: 6px;
            cursor: pointer;
            transition: 0.2s;
        }

        .affiliate-btn:hover {
            background: #0f55dd;
        }

         .error-msg {
            color: red;
            font-size: 12px;
            margin-top: 4px;
            display: none;
        }

        .error-border {
            border-color: red !important;
        }