/* Custom Premium Design Styles for the My Account Login Page */
.custom-login-page-wrapper {
    position: relative;
    width: 100%;
    text-align: right;
    padding: 120px 0 80px;
}

.custom-login-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Welcome Section */
.custom-login-welcome-col {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-login-welcome-col .welcome-title {
    font-size: 60px;
    text-align: center;
    margin-bottom: 17px;
    color: #000;
    line-height: 1;
}

.custom-login-welcome-col .welcome-subtitle {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 17px;
    text-align: center;
}

.custom-login-welcome-col .welcome-image-container {
    width: 100%;
    margin: 0 auto;
    max-width: 384px;
    text-align: center;
}

.custom-login-welcome-col .welcome-illustration {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tabbed Card Section */
.custom-login-card-col {
    flex: 0.8;
    min-width: 380px;
    max-width: 460px;
    position: relative;
    z-index: 3;
}

.custom-login-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid #F1F5F9;
    overflow: hidden;
    width: 100%;
}

/* Custom Tabs Header */
.custom-login-tabs {
    display: flex;
    border-bottom: 1px solid #F1F5F9;
    background-color: #F8FAFC;
}

.custom-login-tab-btn {
    flex: 1;
    padding: 20px 15px;
    font-size: 18px;
    font-weight: 700;
    color: #94A3B8;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    outline: none;
    text-align: center;
}

.custom-login-tab-btn.active {
    color: #F15A48;
    border-bottom-color: #F15A48;
    background-color: #FFF6F5;
}

/* Tab Contents */
.custom-login-tab-content {
    display: none;
    padding: 40px 30px;
}

.custom-login-tab-content.active {
    display: block;
}

.custom-login-single-title {
    font-size: 24px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 25px;
    text-align: center;
}

/* WooCommerce forms overrides within card */
.custom-login-card form {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.custom-login-card .woocommerce-form-row {
    margin-bottom: 24px !important;
    padding: 0 !important;
}

.custom-login-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-align: right;
}

.custom-login-card input.input-text:focus {
    border-color: #F15A48 !important;
    box-shadow: 0 0 0 3px rgba(241, 90, 72, 0.1) !important;
    outline: none !important;
}

.custom-login-card button[type="submit"] {
    border-radius: 12px !important;
}

/* Background Decorative elements */
.custom-login-decor-circle {
    position: absolute;
    top: 60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: url('../img/circle.png') no-repeat center center;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
}

.wd-page-content {
    background: url('../img/dots-bg.png') no-repeat bottom left !important;
    background-position: bottom left;
}

/* Social Login section styling inside card */
.custom-login-card .wd-login-divider,
.custom-login-card .social-login-title {
    text-align: center;
    position: relative;
    margin: 30px 0 20px 0 !important;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .custom-login-container {
        flex-direction: column;
        gap: 40px;
    }

    .custom-login-welcome-col {
        text-align: center;
        align-items: center;
    }

    .custom-login-welcome-col .welcome-title {
        font-size: 36px;
    }

    .custom-login-welcome-col .welcome-title b {
        font-size: 42px;
    }

    .custom-login-welcome-col .welcome-subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .custom-login-card-col {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

/* Side-by-side fields styling for name fields */
.custom-login-card .form-row-first,
.custom-login-card .form-row-last {
    width: 48% !important;
    float: right !important;
    clear: none !important;
}

.custom-login-card .form-row-last {
    float: left !important;
}

.custom-login-card .clear {
    clear: both !important;
    height: 0;
}