/**
 * Generator Power Parts — My Account Page Styles
 * gpp-my-account.css
 * Upload to: /wp-content/themes/astra-child/assets/gpp-my-account.css
 */

/* ============================================================
   FULL WIDTH
============================================================ */

.page-id-19 .entry-content,
.page-id-19 .site-content,
.page-id-19 .content-area,
.page-id-19 #content,
.page-id-19 .ast-container,
.page-id-19 .container,
.page-id-19 article,
.page-id-19 .post-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.page-id-19 .site-content,
.page-id-19 #content { padding-top: 0 !important; margin-top: 0 !important; }

.page-id-19 .entry-title,
.page-id-19 .ast-breadcrumbs-wrapper { display: none !important; }

.page-id-19 .gpp-page-wrap {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}

/* ============================================================
   PAGE HEADER
============================================================ */

.gpp-account .gpp-page-header {
    background: #0D1B2A;
    padding: 2.5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.gpp-account .gpp-page-header::before {
    content: '';
    position: absolute;
    right: -40px; top: -40px;
    width: 400px; height: 400px;
    border: 60px solid rgba(244,128,26,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.gpp-account .gpp-page-header-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.gpp-account .gpp-page-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #F4801A; margin-bottom: .4rem; font-family: 'Barlow', sans-serif; }
.gpp-account .gpp-page-title { font-family: 'Barlow Condensed', sans-serif !important; font-size: 2.8rem !important; font-weight: 800 !important; text-transform: uppercase; color: #fff !important; line-height: 1 !important; margin: 0 0 .5rem !important; padding: 0 !important; border: none !important; }
.gpp-account .gpp-page-sub { color: rgba(255,255,255,.55); font-size: .9rem; font-family: 'Barlow', sans-serif; line-height: 1.6; margin-bottom: 1rem; }
.gpp-account .gpp-page-sub strong { color: #fff; }
.gpp-account .gpp-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: rgba(255,255,255,.35); font-family: 'Barlow', sans-serif; }
.gpp-account .gpp-breadcrumb a { color: rgba(255,255,255,.35); text-decoration: none !important; }
.gpp-account .gpp-breadcrumb a:hover { color: #F4801A; }
.gpp-bc-sep { color: rgba(255,255,255,.18); }

/* ============================================================
   OUTER LAYOUT
============================================================ */

.gpp-account-outer { background: #F4F6F9; padding: 2.5rem 2rem 4rem; }
.gpp-account-inner { max-width: 1200px; margin: 0 auto; }

/* ============================================================
   LOGGED IN — DASHBOARD LAYOUT
============================================================ */

.gpp-account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ============================================================
   SIDEBAR
============================================================ */

.gpp-account-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 80px;
}

/* User info */
.gpp-account-user {
    background: #0D1B2A;
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: .85rem;
}

.gpp-account-avatar { flex-shrink: 0; }

.gpp-avatar-img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(244,128,26,.5) !important;
}

.gpp-account-user-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: .03em;
}

.gpp-account-user-email {
    font-size: .72rem;
    color: rgba(255,255,255,.45);
    font-family: 'Barlow', sans-serif;
    margin-top: 2px;
}

/* Nav */
.gpp-account-nav {
    background: #fff;
    border: 1px solid #E8EDF2;
    border-radius: 8px;
    overflow: hidden;
}

.gpp-account-nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid #F4F6F9;
    text-decoration: none !important;
    font-family: 'Barlow', sans-serif;
    font-size: .875rem;
    font-weight: 500;
    color: #0D1B2A;
    transition: all .15s;
}

.gpp-account-nav-item:last-child { border-bottom: none; }
.gpp-account-nav-item:hover { background: #F4F6F9; color: #F4801A; }
.gpp-account-nav-item:hover svg { color: #F4801A; }
.gpp-account-nav-item svg { color: #4A5568; transition: color .15s; flex-shrink: 0; }
.gpp-account-nav-active { background: #FFF3EA !important; color: #F4801A !important; font-weight: 700 !important; }
.gpp-account-nav-active svg { color: #F4801A !important; }

/* Quick links */
.gpp-account-quick {
    background: #fff;
    border: 1px solid #E8EDF2;
    border-radius: 8px;
    padding: 1rem;
}

.gpp-account-quick-title {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #4A5568;
    margin-bottom: .65rem;
    font-family: 'Barlow', sans-serif;
}

.gpp-account-quick-link {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: #F4801A;
    text-decoration: none !important;
    font-family: 'Barlow', sans-serif;
    padding: .3rem 0;
    transition: color .15s;
}

.gpp-account-quick-link:hover { color: #C0600E; }

/* ============================================================
   MAIN CONTENT AREA
============================================================ */

.gpp-account-content {
    background: #fff;
    border: 1px solid #E8EDF2;
    border-radius: 8px;
    padding: 1.75rem;
    min-height: 400px;
}

.gpp-account-content h2,
.gpp-account-content h3 {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #0D1B2A !important;
    margin-bottom: 1rem !important;
    padding-bottom: .75rem !important;
    border-bottom: 1px solid #E8EDF2 !important;
}

.gpp-account-content p {
    font-family: 'Barlow', sans-serif !important;
    font-size: .9rem !important;
    color: #4A5568 !important;
    line-height: 1.65 !important;
}

.gpp-account-content a {
    color: #F4801A !important;
    text-decoration: none !important;
}

.gpp-account-content a:hover { text-decoration: underline !important; }

.gpp-account-content table.shop_table,
.gpp-account-content table.woocommerce-orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: .875rem !important;
}

.gpp-account-content table th {
    font-size: .72rem !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: #4A5568 !important;
    padding: .65rem .85rem !important;
    border-bottom: 1.5px solid #E8EDF2 !important;
    background: #F4F6F9 !important;
    text-align: left !important;
}

.gpp-account-content table td {
    padding: .85rem !important;
    border-bottom: 1px solid #F4F6F9 !important;
    color: #0D1B2A !important;
    vertical-align: middle !important;
}

.gpp-account-content table tr:last-child td { border-bottom: none !important; }

.gpp-account-content .woocommerce-orders-table__cell-order-status span,
.gpp-account-content mark.order-status {
    font-family: 'Barlow', sans-serif !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 3px !important;
    background: #EAF5EE !important;
    color: #1A6B3A !important;
}

.gpp-account-content .button,
.gpp-account-content a.button,
.gpp-account-content button {
    background: #F4801A !important;
    color: #fff !important;
    border: none !important;
    padding: 9px 18px !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: .82rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background .2s !important;
    display: inline-block !important;
}

.gpp-account-content .button:hover,
.gpp-account-content a.button:hover { background: #C0600E !important; }

.gpp-account-content input[type="text"],
.gpp-account-content input[type="email"],
.gpp-account-content input[type="password"],
.gpp-account-content input[type="tel"],
.gpp-account-content select,
.gpp-account-content textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1.5px solid #E8EDF2 !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: .9rem !important;
    color: #0D1B2A !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color .2s !important;
}

.gpp-account-content input:focus,
.gpp-account-content textarea:focus { border-color: #F4801A !important; }

.gpp-account-content label {
    font-family: 'Barlow', sans-serif !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
    color: #4A5568 !important;
    display: block !important;
    margin-bottom: 5px !important;
}

.gpp-account-content .woocommerce-form-row { margin-bottom: 1rem !important; }

.gpp-account-content .woocommerce-message {
    background: #F4F6F9 !important;
    border-left: 3px solid #F4801A !important;
    padding: 1rem 1.25rem !important;
    border-radius: 0 5px 5px 0 !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: .875rem !important;
    color: #4A5568 !important;
}

/* ============================================================
   LOGGED OUT — FORM STYLING
============================================================ */

/* Headings */
#customer_login h2 {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #0D1B2A !important;
    margin: 0 0 1.25rem !important;
    padding: 0 !important;
    border: none !important;
}

/* Labels */
#customer_login label {
    font-family: 'Barlow', sans-serif !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
    color: #4A5568 !important;
    display: block !important;
    margin-bottom: 5px !important;
}

#customer_login .required { color: #F4801A !important; }

/* Inputs */
#customer_login input[type="text"],
#customer_login input[type="email"],
#customer_login input[type="password"] {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1.5px solid #E8EDF2 !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: .9rem !important;
    color: #0D1B2A !important;
    background: #fff !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color .2s !important;
    margin-bottom: .85rem !important;
}

#customer_login input[type="text"]:focus,
#customer_login input[type="email"]:focus,
#customer_login input[type="password"]:focus {
    border-color: #F4801A !important;
}

/* Password toggle button — hide the unstyled blue box */
#customer_login .show-password-input {
    display: none !important;
}

/* Remember me */
#customer_login .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: .82rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #4A5568 !important;
    margin-bottom: 1rem !important;
    cursor: pointer !important;
}

/* Log In button */
#customer_login .woocommerce-form-login__submit {
    width: 100% !important;
    background: #F4801A !important;
    color: #fff !important;
    border: none !important;
    padding: 13px !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    cursor: pointer !important;
    transition: background .2s !important;
    margin-top: .5rem !important;
}

#customer_login .woocommerce-form-login__submit:hover {
    background: #C0600E !important;
}

/* Register button */
#customer_login .woocommerce-form-register__submit {
    width: 100% !important;
    background: #F4801A !important;
    color: #fff !important;
    border: none !important;
    padding: 13px !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    cursor: pointer !important;
    transition: background .2s !important;
    margin-top: .5rem !important;
}

#customer_login .woocommerce-form-register__submit:hover {
    background: #C0600E !important;
}

/* Lost password link */
#customer_login .woocommerce-LostPassword a,
#customer_login .lost_password a {
    color: #F4801A !important;
    font-size: .8rem !important;
    font-family: 'Barlow', sans-serif !important;
    text-decoration: none !important;
}

#customer_login .woocommerce-LostPassword a:hover,
#customer_login .lost_password a:hover {
    color: #C0600E !important;
    text-decoration: underline !important;
}

/* Privacy policy text */
#customer_login .woocommerce-privacy-policy-text,
#customer_login .woocommerce-privacy-policy-text p {
    font-size: .78rem !important;
    color: #4A5568 !important;
    line-height: 1.6 !important;
    font-family: 'Barlow', sans-serif !important;
    margin-bottom: 1rem !important;
}

#customer_login .woocommerce-privacy-policy-text a {
    color: #F4801A !important;
}

.gpp-account-auth {
    max-width: 900px;
    margin: 0 auto;
}

/* Astra flex container overrides — must be block for grid children to work */
.page-id-19 .ast-container {
    display: block !important;
}

#customer_login.col2-set {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
}

#customer_login .u-column1,
#customer_login .u-column2 {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

#customer_login .u-column1 { order: 1; }
#customer_login .u-column2 { order: 2; }

.gpp-account-auth .woocommerce {
    width: 100% !important;
}

.gpp-auth-card {
    background: #fff;
    border: 1px solid #E8EDF2;
    border-radius: 8px;
    padding: 2rem;
}

.gpp-auth-title {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #0D1B2A !important;
    margin-bottom: .35rem !important;
    padding: 0 !important;
    border: none !important;
}

.gpp-auth-sub {
    font-size: .875rem !important;
    color: #4A5568 !important;
    margin-bottom: 1.5rem !important;
    font-family: 'Barlow', sans-serif !important;
    line-height: 1.6 !important;
}

.gpp-auth-card .woocommerce-form input[type="text"],
.gpp-auth-card .woocommerce-form input[type="email"],
.gpp-auth-card .woocommerce-form input[type="password"] {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1.5px solid #E8EDF2 !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: .9rem !important;
    color: #0D1B2A !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color .2s !important;
    margin-bottom: .85rem !important;
}

.gpp-auth-card .woocommerce-form input:focus { border-color: #F4801A !important; }

.gpp-auth-card .woocommerce-form label {
    font-family: 'Barlow', sans-serif !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
    color: #4A5568 !important;
    display: block !important;
    margin-bottom: 5px !important;
}

.gpp-auth-card .woocommerce-form .button,
.gpp-auth-card .woocommerce-form button[type="submit"] {
    width: 100% !important;
    background: #F4801A !important;
    color: #fff !important;
    border: none !important;
    padding: 13px !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: background .2s !important;
    margin-top: .5rem !important;
}

.gpp-auth-card .woocommerce-form .button:hover { background: #C0600E !important; }

.gpp-auth-card .woocommerce-LostPassword a,
.gpp-auth-card .woocommerce-form a {
    color: #F4801A !important;
    font-size: .8rem !important;
    font-family: 'Barlow', sans-serif !important;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 900px) {
    .gpp-account-layout { grid-template-columns: 1fr; }
    .gpp-account-sidebar { position: static; }
    .gpp-account-auth { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .gpp-account-outer { padding: 1.5rem 1rem 2rem; }
    .gpp-account .gpp-page-header { padding: 2rem 1rem; }
    .gpp-account .gpp-page-title { font-size: 2rem !important; }
    .gpp-account-content { padding: 1.25rem; }
}
