:root {
    --primary-color-wdplus: var(--main-color, #e91e63);
    --secondary-color-wdplus: var(--red-5, #e91e63d4);
    --background-color-wdplus: #f5f5f5;
    --form-background-wdplus: rgba(255, 255, 255, 0.98);
    --text-primary-wdplus: #333;
    --text-secondary-wdplus: #666;
    --border-color-wdplus: #eee;
}

.container-wdplus {
    width: 100%;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.form-box {
    background: var(--form-background-wdplus);
    padding: 0px;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(62 37 37 / 19%);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.logo-container-wdplus {
    width: 150px;
}

.logo-container-wdplus img {
    width: 100%;
    height: auto !important;
}

.logo {
    font-size: 24px;
    color: white;
}

.floating-input-field {
    position: relative;
    margin-bottom: 30px;
}

.floating-input-field input {
    width: 100%;
    padding: 16px 40px 16px 12px;
    border: 2px solid var(--border-color-wdplus);
    border-radius: 12px;
    font-size: 14px;
    background: transparent;
    color: var(--text-primary-wdplus);
    transition: all 0.3s ease;
    height: unset;
}

.floating-input-field label {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--form-background-wdplus);
    padding: 0 5px;
    color: var(--text-secondary-wdplus);
    font-size: 14px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-input-field input:focus~label,
.floating-input-field input:valid~label {
    top: 0;
    font-size: 14px;
    color: var(--primary-color-wdplus);
}

.floating-input-field i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color-wdplus);
    font-size: 18px;
    transition: all 0.3s ease;
}

.custom-checkbox {
    position: relative;
    width: 24px;
    height: 24px;
}

.custom-checkbox input {
    display: none;
}

.custom-checkbox label {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color-wdplus);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--form-background-wdplus);
}

.custom-checkbox label i {
    color: white;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.custom-checkbox input:checked+label {
    background: var(--primary-color-wdplus);
}

.custom-checkbox input:checked+label i {
    opacity: 1;
    transform: scale(1);
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color-wdplus);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background-color: var(--secondary-color-wdplus) !important;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    position: absolute;
    display: none;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.submit-btn.loading .btn-text,
.submit-btn.loading i {
    opacity: 0;
}

.submit-btn.loading .loading-spinner {
    display: block;
}

.tooltip-wdplus {
    position: relative;
}

.tooltip-wdplus:before {
    content: attr(data-tooltip-wdplus);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--text-primary-wdplus);
    color: var(--form-background-wdplus);
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip-wdplus:hover:before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

@media (max-width: 480px) {
    .form-box {
        padding: 30px 20px;
    }

    .logo-area {
        flex-direction: column;
        text-align: center;
    }

    .extra-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-color-wdplus);
}

.social-login {
    margin-bottom: 30px;
}

.google-btn {
    width: 100%;
    padding: 14px;
    background: var(--form-background-wdplus);
    border: 2px solid var(--border-color-wdplus);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-primary-wdplus);
    transition: all 0.3s ease;
}

.extra-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.extra-links a {
    color: var(--text-secondary-wdplus);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.floating-input-field input:focus {
    border-color: var(--primary-color-wdplus);
    outline: none;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.checkbox span {
    color: var(--text-secondary-wdplus);
    font-size: 14px;
}

.top-header {
    text-align: center;
    margin-bottom: 0px;
}

.top-header h2 {
    color: var(--text-primary-wdplus);
    margin-bottom: 10px;
}

.top-header p {
    color: var(--text-secondary-wdplus);
    margin-bottom: 10px;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.otp-inputs input {
    width: 100%;
    height: 50px;
    text-align: center;
    font-size: 24px;
    letter-spacing: 12px;
    border: 2px solid var(--border-color-wdplus);
    border-radius: 12px;
    background: transparent;
    color: var(--text-primary-wdplus);
    transition: all 0.3s ease;
}

.otp-inputs input:focus {
    border-color: var(--primary-color-wdplus);
    outline: none;
}

.action-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 30px;
}

.edit-number {
    color: var(--primary-color-wdplus);
    text-decoration: none;
    font-size: 14px;
}

.resend-code {
    text-align: right;
}

.resend-code .timer {
    margin-left: 15px;
    color: var(--text-secondary-wdplus);
    font-size: 14px;
}

.resend-code .resend-link {
    color: var(--primary-color-wdplus);
    text-decoration: none;
    font-size: 14px;
}

.resend-code .resend-link.disabled {
    color: var(--text-secondary-wdplus);
    cursor: not-allowed;
    opacity: 0.7;
}

#user-phone {
    font-weight: bold;
}

.msg_strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color-wdplus);
}

.alert {
    display: none;
    align-items: center;
    padding: 11px 20px;
    border-radius: 8px;
    margin: 25px 0;
    font-size: 12px;
}

.alert.alert-success,
.alert.alert-error {
    display: flex;
}

.alert-success {
    background-color: #e7f6ed;
    border: 1px solid #b7e4c7;
    color: #1b4332;
}

.alert-error {
    background-color: #fde8e8;
    border: 1px solid #f8b4b4;
    color: #981b1b;
}

.alert-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    line-height: 1;
}

.alert-icon svg {
    vertical-align: middle;
}

.alert.slide-in {
    animation: slideIn 0.5s ease forwards;
}

.svg_success {
    display: none;
}

.alert-success .svg_success {
    display: inline-block;
}

.svg_error {
    display: none;
}

.alert-error .svg_error {
    display: inline-block;
}

.floating-input-field .input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color-wdplus);
    transition: all 0.3s ease;
}

.login-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-popup {
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px;
    width: 470px
}

.close-popup {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
}
.create-account-question a,.create-account-question p {
    display: none;
}
.login-form-side .floating-input-field label , .wd-dropdown .floating-input-field label{
    font-size: 11px;
}
.login-form-side .floating-input-field input:focus~label ,.wd-dropdown .floating-input-field input:focus~label, .login-form-side .floating-input-field input:valid~label ,.wd-dropdown .floating-input-field input:valid~label
{
    font-size: 12px;
}
.back_to_start{
    font-size:12px;
}
.back_to_start{
    display: flex;
    justify-content: end;
    margin-top: 21px;
    margin-left: 10px;
}
.wd-dropdown a.create-account-link {
    display: none;
}

.wd-dropdown .container.wdplus_login_register
{
    padding-inline: unset !important;
    margin-inline: unset !important;
}
.wd-dropdown .form-box{
    border:unset !important;
}
body:not(.woodmartplus-myaccount) .wdplus_login_register .logo-area {
    display: none;
}