/*
 * BestCloud Glass — WooCommerce Design System
 * Shared styles for Login, Register, Dashboard,
 * My Services, Orders, Cart and Checkout.
 */

.bc-client-area .woocommerce {
    color: var(--bc-text, #f3f7ff);
}



.bc-client-area .woocommerce-MyAccount-content {
    background: #071a32;
    border: 1px solid #174c73;
    border-radius: 12px;
    padding: 25px;
    min-height: 240px;
}

.bc-client-area .woocommerce-MyAccount-content p,
.bc-client-area .woocommerce-MyAccount-content strong {
    color: #e9f6ff;
}

.bc-client-area .woocommerce-MyAccount-content a {
    color: var(--bc-cyan, #38dcff);
}

/* BESTCLOUD AUTH FORMS V1 */

.bc-client-area .woocommerce #customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.bc-client-area .woocommerce #customer_login > .u-column1,
.bc-client-area .woocommerce #customer_login > .u-column2 {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
}

.bc-client-area .woocommerce #customer_login h2 {
    color: #fff;
    font-size: 25px;
    margin: 0 0 18px;
}

.bc-client-area .woocommerce form.login,
.bc-client-area .woocommerce form.register {
    background: #071a32;
    border: 1px solid #17618d;
    border-radius: 14px;
    padding: 28px;
    min-height: 250px;
}

.bc-client-area .woocommerce form.login label,
.bc-client-area .woocommerce form.register label {
    color: #e9f6ff;
    font-weight: 600;
}

.bc-client-area .woocommerce form.login input.input-text,
.bc-client-area .woocommerce form.register input.input-text {
    display: block;
    width: 100%;
    background: #031022;
    border: 1px solid #25618b;
    color: #fff;
    border-radius: 8px;
    padding: 13px 14px;
    box-sizing: border-box;
}

.bc-client-area .woocommerce form.login input.input-text:focus,
.bc-client-area .woocommerce form.register input.input-text:focus {
    outline: 2px solid #38dcff;
    outline-offset: 1px;
}

.bc-client-area .woocommerce form.login button.button,
.bc-client-area .woocommerce form.register button.button {
    background: #009bff;
    color: #fff;
    border: 1px solid #38dcff;
    border-radius: 9px;
    padding: 13px 24px;
    font-weight: 700;
    cursor: pointer;
}

.bc-client-area .woocommerce form.login button.button:hover,
.bc-client-area .woocommerce form.register button.button:hover {
    background: #0075c8;
    color: #fff;
}

.bc-client-area .woocommerce .woocommerce-privacy-policy-text,
.bc-client-area .woocommerce .woocommerce-privacy-policy-text p {
    color: #b9cce0;
}

@media (max-width: 767px) {
    .bc-client-area .woocommerce #customer_login {
        grid-template-columns: 1fr;
    }
}

/* BESTCLOUD CLIENT AREA — CONSOLIDATED */

/* Main account layout */
body .bc-client-area .bc-client-content .woocommerce:has(> .woocommerce-MyAccount-navigation) {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    width: 100%;
}

/* Navigation — BestCloud Glass */
body .bc-client-area .woocommerce > .woocommerce-MyAccount-navigation {
    grid-column: 1;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

body .bc-client-area .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body .bc-client-area .woocommerce-MyAccount-navigation ul li {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body .bc-client-area .woocommerce-MyAccount-navigation ul li a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 14px 17px;
    background: linear-gradient(135deg,#081e39,#0a2441);
    border: 1px solid #175782;
    border-radius: 11px;
    outline: none;
    box-shadow: none;
    color: #edf7ff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}

body .bc-client-area .woocommerce-MyAccount-navigation ul li a:hover {
    background: #103657;
    border-color: #38dcff;
    color: #fff;
}

body .bc-client-area .woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg,#075c96,#09335b);
    border-color: #38dcff;
    box-shadow: inset 3px 0 0 #38dcff;
    color: #fff;
}

/* Main content */
body .bc-client-area .woocommerce > .woocommerce-MyAccount-content {
    grid-column: 2;
    float: none;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 28px 32px;
    box-sizing: border-box;
    background: linear-gradient(145deg,#081b35,#06142a);
    border: 1px solid #175782;
    border-radius: 14px;
    color: #eaf4ff;
}

body .bc-client-area .woocommerce-MyAccount-content p,
body .bc-client-area .woocommerce-MyAccount-content strong {
    color: #eaf4ff;
}

body .bc-client-area .woocommerce-MyAccount-content a {
    color: #38dcff;
}

body .bc-client-area .woocommerce-MyAccount-content a:hover {
    color: #fff;
}

/* Consistent section headings */
body .bc-client-area .woocommerce-MyAccount-content > h2:first-child,
body .bc-client-area .woocommerce-MyAccount-content > .bc-account-heading:first-child {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px;
    padding: 0;
}

/* Orders: no white WooCommerce notice */
body .bc-client-area .woocommerce-MyAccount-content .woocommerce-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
    padding: 8px 0;
    min-height: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #dcecff;
}

body .bc-client-area .woocommerce-MyAccount-content .woocommerce-info::before {
    display: none;
}

body .bc-client-area .woocommerce-MyAccount-content .woocommerce-info .button {
    float: none;
    margin: 0;
    padding: 10px 16px;
    background: transparent;
    color: #38dcff;
    border: 1px solid rgba(56,220,255,.45);
    border-radius: 8px;
    text-decoration: none;
}

body .bc-client-area .woocommerce-MyAccount-content .woocommerce-info .button:hover {
    background: rgba(56,220,255,.08);
}

/* Addresses */
body .bc-client-area .woocommerce-Addresses {
    display: block;
    margin-top: 20px;
}

body .bc-client-area .woocommerce-Addresses .woocommerce-Address {
    display: block;
    float: none;
    width: 100%;
    min-height: 0;
    padding: 26px 30px;
    box-sizing: border-box;
    background: #091c36;
    border: 1px solid #24628b;
    border-radius: 12px;
}

body .bc-client-area .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    margin: 0 0 18px;
    padding: 0 0 16px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(56,220,255,.16);
}

body .bc-client-area .woocommerce-Address-title h2,
body .bc-client-area .woocommerce-Address-title h3 {
    float: none;
    flex: 1 1 auto;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 21px;
    line-height: 1.3;
    text-align: left;
    color: #fff;
}

body .bc-client-area .woocommerce-Address-title a {
    float: none;
    flex: 0 0 auto;
    margin: 0;
    text-align: right;
    color: #38dcff;
    font-weight: 700;
}

body .bc-client-area .woocommerce-Address address {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    color: #d9e9ff;
    font-size: 14px;
    line-height: 1.8;
    font-style: normal;
    text-align: left;
}

/* Account Details */
body .bc-client-area .woocommerce-MyAccount-content form.woocommerce-EditAccountForm {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-sizing: border-box;
}

body .bc-client-area .woocommerce-MyAccount-content .form-row {
    margin-bottom: 20px;
    box-sizing: border-box;
}

body .bc-client-area .woocommerce-EditAccountForm .form-row-first,
body .bc-client-area .woocommerce-EditAccountForm .form-row-last {
    display: inline-block;
    float: none;
    vertical-align: top;
    width: calc(50% - 12px);
}

body .bc-client-area .woocommerce-EditAccountForm .form-row-first {
    margin-right: 20px;
}

body .bc-client-area .woocommerce-EditAccountForm .form-row-wide {
    display: block;
    float: none;
    clear: both;
    width: 100%;
}

body .bc-client-area .woocommerce-MyAccount-content label {
    display: block;
    margin-bottom: 8px;
    color: #e9f4ff;
    font-size: 14px;
    font-weight: 600;
}

body .bc-client-area .woocommerce-MyAccount-content input.input-text,
body .bc-client-area .woocommerce-MyAccount-content input[type="password"],
body .bc-client-area .woocommerce-MyAccount-content select,
body .bc-client-area .woocommerce-MyAccount-content textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    box-sizing: border-box;
    background: #06142a;
    color: #fff;
    border: 1px solid #2a608d;
    border-radius: 9px;
    box-shadow: none;
    caret-color: #38dcff;
}

body .bc-client-area .woocommerce-MyAccount-content input::placeholder,
body .bc-client-area .woocommerce-MyAccount-content textarea::placeholder {
    color: #a7b4d1;
    opacity: 1;
}

body .bc-client-area .woocommerce-MyAccount-content input:focus,
body .bc-client-area .woocommerce-MyAccount-content select:focus,
body .bc-client-area .woocommerce-MyAccount-content textarea:focus {
    outline: 2px solid rgba(56,220,255,.2);
    border-color: #38dcff;
}

/* Password fieldset: remove inherited white line */
body .bc-client-area .woocommerce-EditAccountForm fieldset {
    display: block;
    min-width: 0;
    width: 100%;
    margin: 30px 0 24px;
    padding: 22px 24px 24px;
    box-sizing: border-box;
    background: #091c36;
    border: 1px solid #24628b;
    border-radius: 12px;
}

body .bc-client-area .woocommerce-EditAccountForm fieldset legend {
    display: table;
    float: none;
    width: auto;
    max-width: max-content;
    margin: 0;
    padding: 0 10px;
    background: #091c36;
    border: 0;
    box-shadow: none;
    color: #38dcff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

body .bc-client-area .woocommerce-EditAccountForm fieldset .form-row {
    display: block;
    width: 100%;
    margin: 0 0 18px;
}

body .bc-client-area .woocommerce-EditAccountForm fieldset .form-row:last-child {
    margin-bottom: 0;
}

body .bc-client-area .woocommerce-MyAccount-content em,
body .bc-client-area .woocommerce-MyAccount-content .description {
    color: #a7b4d1;
}

/* Save button */
body .bc-client-area .woocommerce-MyAccount-content button.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 12px 24px;
    background: linear-gradient(100deg,#38dcff,#a66aff);
    color: #061020;
    border: 0;
    border-radius: 9px;
    font-weight: 800;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 850px) {
    body .bc-client-area .bc-client-content .woocommerce:has(> .woocommerce-MyAccount-navigation) {
        grid-template-columns: minmax(0,1fr);
        gap: 20px;
    }

    body .bc-client-area .woocommerce > .woocommerce-MyAccount-navigation,
    body .bc-client-area .woocommerce > .woocommerce-MyAccount-content {
        grid-column: 1;
    }

    body .bc-client-area .woocommerce > .woocommerce-MyAccount-content {
        padding: 22px;
    }
}

@media (max-width: 600px) {
    body .bc-client-area .woocommerce-EditAccountForm .form-row-first,
    body .bc-client-area .woocommerce-EditAccountForm .form-row-last {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    body .bc-client-area .woocommerce-Address-title {
        flex-direction: column;
        align-items: flex-start;
    }

    body .bc-client-area .woocommerce-Address-title a {
        text-align: left;
    }
}


/* BESTCLOUD PRECISION POLISH */

/* Bright, consistent headings */
body .bc-client-area .woocommerce-MyAccount-content h2,
body .bc-client-area .woocommerce-MyAccount-content h3,
body .bc-client-area .woocommerce-MyAccount-content .bc-account-heading {
    color: #f3f7ff !important;
}

body .bc-client-area .woocommerce-MyAccount-content > .bc-account-heading {
    font-size: 26px !important;
    font-weight: 800 !important;
    margin: 0 0 22px !important;
    line-height: 1.3 !important;
}

/* Remove Astra's white address header */
body .bc-client-area .woocommerce-MyAccount-content .woocommerce-Address-title,
body .bc-client-area .woocommerce-MyAccount-content .woocommerce-Address-title.title,
body .bc-client-area .woocommerce-MyAccount-content .woocommerce-Address header {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
}

body .bc-client-area .woocommerce-Address-title h2,
body .bc-client-area .woocommerce-Address-title h3 {
    color: #fff !important;
    background: transparent !important;
}

/* Account details: proportional first and last name */
@media (min-width: 701px) {
    body .bc-client-area .woocommerce-EditAccountForm .form-row-first,
    body .bc-client-area .woocommerce-EditAccountForm .form-row-last {
        display: inline-block !important;
        float: none !important;
        width: calc(50% - 12px) !important;
        vertical-align: top !important;
    }

    body .bc-client-area .woocommerce-EditAccountForm .form-row-first {
        margin-right: 20px !important;
    }
}

/* Make the account form feel like BestCloud */
body .bc-client-area .woocommerce-EditAccountForm input.input-text,
body .bc-client-area .woocommerce-EditAccountForm input[type="password"] {
    border-color: #256d9b !important;
    background: #06142a !important;
    color: #fff !important;
}

body .bc-client-area .woocommerce-EditAccountForm fieldset {
    border-color: #256d9b !important;
    background: #091c36 !important;
}

body .bc-client-area .woocommerce-EditAccountForm fieldset legend {
    color: #38dcff !important;
    background: #091c36 !important;
    border: 0 !important;
}
