/* =========================================================
   BEHZADKALA ACCOUNT CENTER — FRONTEND
========================================================= */

body.bkac-account-page,
body.bkac-account-page * {
    box-sizing: border-box;
}

body.bkac-account-page.logged-in .main-page-wrapper {
    background: linear-gradient(180deg, #f7faff 0, #fff 360px);
}

body.bkac-account-page.logged-in .page-title,
body.bkac-account-page.logged-in .entry-header,
body.bkac-account-page.logged-in .wd-page-title,
body.bkac-account-page.logged-in .woocommerce-MyAccount-title,
body.bkac-account-page.logged-in .wd-my-account-sidebar > .title,
body.bkac-account-page.logged-in .wd-my-account-sidebar > h2,
body.bkac-account-page.logged-in .wd-my-account-sidebar > h3 {
    display: none !important;
}

body.bkac-account-page.logged-in .site-content,
body.bkac-account-page.logged-in .container,
body.bkac-account-page.logged-in .container.wd-builder-off {
    width: 100%;
    max-width: none;
}

body.bkac-account-page.logged-in .woocommerce-my-account-wrapper {
    display: grid !important;
    grid-template-columns: minmax(245px, 285px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    width: min(100% - 32px, 1460px);
    margin: 34px auto 64px !important;
}

body.bkac-account-page.logged-in .woocommerce-MyAccount-navigation,
body.bkac-account-page.logged-in .woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

body.bkac-account-page.logged-in .woocommerce-MyAccount-content {
    padding: 26px !important;
    border: 1px solid rgba(31, 105, 225, .10);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(24, 63, 119, .07);
}

/* Account hero */

.bkac-account-hero {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 190px;
    padding: 30px 34px;
    overflow: hidden;
    border: 1px solid rgba(31, 105, 225, .13);
    border-radius: 28px;
    background:
        radial-gradient(circle at 4% 8%, rgba(60, 130, 235, .25), transparent 29%),
        radial-gradient(circle at 96% 90%, rgba(80, 143, 236, .20), transparent 30%),
        linear-gradient(135deg, #071f43, #0b2855 57%, #123e78);
    box-shadow: 0 24px 58px rgba(11, 40, 85, .17);
    color: #fff;
}

.bkac-account-hero__content {
    min-width: 0;
}

.bkac-account-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    color: #a9ceff;
    font-size: 10px;
    font-weight: 800;
}

.bkac-account-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 2.5vw, 38px);
    font-weight: 900;
    line-height: 1.6;
}

.bkac-account-hero p {
    max-width: 760px;
    margin: 7px 0 0;
    color: rgba(230, 239, 253, .76);
    font-size: 12px;
    line-height: 2;
}

.bkac-account-hero__profile {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 13px;
    min-width: 285px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.bkac-account-hero__avatar,
.bkac-account-hero__avatar img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
}

.bkac-account-hero__avatar img {
    border: 3px solid rgba(255, 255, 255, .22);
}

.bkac-account-hero__profile > div:last-child {
    min-width: 0;
}

.bkac-account-hero__profile strong,
.bkac-account-hero__profile span {
    display: block;
}

.bkac-account-hero__profile strong {
    color: #fff;
    font-size: 13px;
    font-weight: 850;
}

.bkac-account-hero__profile span {
    max-width: 210px;
    margin-top: 2px;
    overflow: hidden;
    color: rgba(229, 239, 253, .72);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bkac-account-badge {
    display: inline-flex !important;
    width: fit-content;
    margin-top: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff !important;
    font-size: 8px !important;
    font-weight: 850;
}

.bkac-account-badge--approved { background: rgba(31, 195, 125, .23); color: #bfffe0 !important; }
.bkac-account-badge--pending { background: rgba(255, 181, 71, .20); color: #ffe3ad !important; }
.bkac-account-badge--rejected { background: rgba(255, 96, 96, .20); color: #ffd0d0 !important; }

/* Navigation */

.bkac-navigation {
    position: sticky;
    top: 112px;
    overflow: hidden;
    border: 1px solid rgba(31, 105, 225, .10);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 17px 42px rgba(24, 63, 119, .07);
}

.bkac-navigation__toggle {
    display: none !important;
}

.bkac-navigation__toggle::before,
.bkac-navigation__toggle::after {
    display: none !important;
}

.bkac-navigation__toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #1765dc;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bkac-navigation__list {
    display: grid;
    gap: 5px;
    margin: 0 !important;
    padding: 12px !important;
    list-style: none !important;
}

.bkac-navigation__item {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.bkac-navigation__item::before,
.bkac-navigation__item::after {
    display: none !important;
}

.bkac-navigation__item a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 51px;
    padding: 8px 10px !important;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #24466f !important;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.7;
    text-decoration: none !important;
    transition: .2s ease;
}

.bkac-navigation__item a:hover {
    transform: translateX(-2px);
    border-color: rgba(31, 105, 225, .09);
    background: #edf4ff;
    color: #1765dc !important;
}

.bkac-navigation__item.is-active a {
    border-color: #1765dc;
    background: linear-gradient(145deg, #1765dc, #3c82eb);
    color: #fff !important;
    box-shadow: 0 11px 25px rgba(23, 101, 220, .21);
}

.bkac-navigation__icon {
    display: flex;
    flex: 0 0 37px;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 11px;
    background: #e8f1ff;
    color: #1765dc;
}

.bkac-navigation__item.is-active .bkac-navigation__icon {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.bkac-navigation__icon svg,
.bkac-navigation__arrow {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bkac-navigation__label {
    flex: 1 1 auto;
    min-width: 0;
}

.bkac-navigation__arrow {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    opacity: .7;
}

.bkac-navigation__item--customer-logout {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #e5ebf3 !important;
}

.bkac-navigation__item--customer-logout a { color: #b23c4b !important; }
.bkac-navigation__item--customer-logout .bkac-navigation__icon { background: #fff0f1; color: #c54958; }

/* Shared buttons */

.bkac-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px !important;
    border-radius: 11px !important;
    font-size: 9.5px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: .2s ease;
}

.bkac-btn:hover { transform: translateY(-2px); }
.bkac-btn--primary { border: 1px solid #1765dc !important; background: #1765dc !important; color: #fff !important; }
.bkac-btn--primary:hover { background: #1259c6 !important; }
.bkac-btn--ghost { border: 1px solid #d3e0f2 !important; background: #fff !important; color: #1765dc !important; }
.bkac-btn--ghost:hover { border-color: #b7cce9 !important; background: #f5f9ff !important; }
.bkac-btn--light { border: 1px solid #fff !important; background: #fff !important; color: #1765dc !important; }
.bkac-btn--outline-light { border: 1px solid rgba(255, 255, 255, .25) !important; background: rgba(255, 255, 255, .08) !important; color: #fff !important; }

/* Dashboard */

.bkac-dashboard {
    display: grid;
    gap: 22px;
}

.bkac-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.bkac-stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 95px;
    padding: 13px;
    border: 1px solid rgba(31, 105, 225, .09);
    border-radius: 17px;
    background: radial-gradient(circle at 100% 0, rgba(31, 105, 225, .08), transparent 42%), #fff;
    box-shadow: 0 12px 30px rgba(24, 63, 119, .045);
    text-decoration: none !important;
    transition: .2s ease;
}

.bkac-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(23, 101, 220, .22);
    box-shadow: 0 18px 38px rgba(24, 63, 119, .08);
}

.bkac-stat-card__icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #e8f1ff;
    color: #1765dc;
}

.bkac-stat-card__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bkac-stat-card > div {
    flex: 1 1 auto;
    min-width: 0;
}

.bkac-stat-card strong,
.bkac-stat-card span { display: block; }
.bkac-stat-card strong { color: #0b2855; font-size: 21px; font-weight: 900; line-height: 1.4; }
.bkac-stat-card span { color: #738197; font-size: 8.7px; line-height: 1.7; }
.bkac-stat-card > svg { flex: 0 0 15px; width: 15px; height: 15px; fill: none; stroke: #1765dc; stroke-width: 2; }

.bkac-dashboard-section {
    padding: 23px;
    border: 1px solid rgba(31, 105, 225, .08);
    border-radius: 21px;
    background: linear-gradient(145deg, #f7faff, #fff);
}

.bkac-dashboard-section__head span,
.bkac-card-head span {
    display: block;
    margin-bottom: 2px;
    color: #1765dc;
    font-size: 8.8px;
    font-weight: 800;
}

.bkac-dashboard-section__head h2,
.bkac-card-head h3 {
    margin: 0;
    color: #0b2855;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.7;
}

.bkac-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 17px;
}

.bkac-quick-action {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 82px;
    padding: 12px;
    border: 1px solid rgba(31, 105, 225, .08);
    border-radius: 15px;
    background: #fff;
    text-decoration: none !important;
    transition: .2s ease;
}

.bkac-quick-action:hover { transform: translateY(-3px); border-color: rgba(23, 101, 220, .20); box-shadow: 0 15px 34px rgba(24, 63, 119, .07); }
.bkac-quick-action__icon { display:flex; flex:0 0 42px; align-items:center; justify-content:center; width:42px; height:42px; border-radius:13px; background:#e8f1ff; color:#1765dc; }
.bkac-quick-action__icon svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.bkac-quick-action > div { flex:1 1 auto; min-width:0; }
.bkac-quick-action strong { display:block; color:#25466e; font-size:9.8px; font-weight:850; }
.bkac-quick-action span { display:block; margin-top:2px; color:#7b899c; font-size:7.9px; line-height:1.7; }
.bkac-quick-action > svg { flex:0 0 15px; width:15px; height:15px; fill:none; stroke:#1765dc; stroke-width:2; }

.bkac-dashboard-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 14px;
}

.bkac-dashboard-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(31, 105, 225, .09);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(24, 63, 119, .05);
}

.bkac-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5ebf3;
}

.bkac-card-head a { color:#1765dc !important; font-size:8.8px; font-weight:850; text-decoration:none !important; }

.bkac-order-list { display:grid; gap:8px; margin-top:15px; }
.bkac-order-row { display:grid; grid-template-columns:minmax(100px,.7fr) minmax(150px,1fr) auto; align-items:center; gap:10px; min-height:61px; padding:10px 11px; border:1px solid rgba(31,105,225,.07); border-radius:13px; background:#fbfdff; }
.bkac-order-row__number strong,.bkac-order-row__number span,.bkac-order-row__status span,.bkac-order-row__status strong{display:block;}
.bkac-order-row__number strong{color:#173760;font-size:9.8px;font-weight:900;}
.bkac-order-row__number span{margin-top:2px;color:#8995a6;font-size:7.8px;}
.bkac-order-row__status span{color:#1765dc;font-size:8px;font-weight:800;}
.bkac-order-row__status strong{margin-top:2px;color:#53677f;font-size:8.6px;font-weight:750;}
.bkac-order-row > a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 10px;border:1px solid #d4e0f1;border-radius:9px;background:#fff;color:#1765dc!important;font-size:8.2px;font-weight:850;text-decoration:none!important;}

.bkac-mini-empty { padding:28px 15px 8px; text-align:center; }
.bkac-mini-empty strong { display:block; color:#23456e; font-size:12px; font-weight:900; }
.bkac-mini-empty p { margin:6px 0 14px; color:#7b899c; font-size:9px; }

.bkac-unread-badge { display:inline-flex; padding:5px 9px; border-radius:999px; background:#e8f1ff; color:#1765dc; font-size:7.8px; font-weight:850; }
.bkac-ticket-summary__numbers { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:16px; }
.bkac-ticket-summary__numbers > div { padding:12px 8px; border:1px solid rgba(31,105,225,.07); border-radius:12px; background:#f8fbff; text-align:center; }
.bkac-ticket-summary__numbers strong,.bkac-ticket-summary__numbers span{display:block;}
.bkac-ticket-summary__numbers strong{color:#0b2855;font-size:18px;font-weight:900;}
.bkac-ticket-summary__numbers span{margin-top:2px;color:#7b899c;font-size:7.3px;line-height:1.6;}
.bkac-ticket-summary__actions { display:flex; gap:8px; margin-top:15px; }

.bkac-repairer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(31, 105, 225, .10);
    border-radius: 20px;
    background: radial-gradient(circle at 100% 0, rgba(31,105,225,.11), transparent 36%), linear-gradient(145deg,#f3f8ff,#fff);
}

.bkac-repairer-card--pending { border-color:rgba(217,137,11,.18); background:radial-gradient(circle at 100% 0,rgba(232,162,51,.13),transparent 36%),#fffaf0; }
.bkac-repairer-card--rejected { border-color:rgba(202,73,88,.15); background:radial-gradient(circle at 100% 0,rgba(202,73,88,.10),transparent 36%),#fff8f9; }
.bkac-repairer-card__icon { display:flex; flex:0 0 58px; align-items:center; justify-content:center; width:58px; height:58px; border-radius:17px; background:linear-gradient(145deg,#1765dc,#3c82eb); color:#fff; }
.bkac-repairer-card__icon svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.bkac-repairer-card__content { flex:1 1 auto; min-width:0; }
.bkac-repairer-card__content span { display:block; color:#1765dc; font-size:8.8px; font-weight:800; }
.bkac-repairer-card__content h3 { margin:2px 0 0; color:#0b2855; font-size:16px; font-weight:900; line-height:1.7; }
.bkac-repairer-card__content p { margin:4px 0 0; color:#738197; font-size:9.2px; line-height:1.9; }
.bkac-repairer-card__actions { display:flex; flex:0 0 auto; gap:8px; }

.bkac-support-banner { display:flex; align-items:center; gap:14px; padding:22px 24px; border-radius:21px; background:radial-gradient(circle at 100% 0,rgba(80,143,236,.25),transparent 37%),linear-gradient(135deg,#071f43,#0b2855 56%,#123e78); color:#fff; box-shadow:0 20px 46px rgba(11,40,85,.16); }
.bkac-support-banner__icon { display:flex; flex:0 0 57px; align-items:center; justify-content:center; width:57px; height:57px; border:1px solid rgba(255,255,255,.16); border-radius:17px; background:rgba(255,255,255,.10); }
.bkac-support-banner__icon svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.bkac-support-banner__content { flex:1 1 auto; min-width:0; }
.bkac-support-banner__content span { display:block; color:#8dbaff; font-size:8.7px; font-weight:800; }
.bkac-support-banner__content h3 { margin:2px 0 0; color:#fff; font-size:15px; font-weight:900; line-height:1.7; }
.bkac-support-banner__content p { margin:3px 0 0; color:rgba(226,237,253,.72); font-size:8.8px; }
.bkac-support-banner__actions { display:flex; flex:0 0 auto; flex-wrap:wrap; gap:8px; }

/* Shared section heads */

.bkac-section-head { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-bottom:19px; border-bottom:1px solid #e3eaf3; }
.bkac-section-head > div { min-width:0; }
.bkac-kicker { display:block; margin-bottom:3px; color:#1765dc; font-size:9px; font-weight:800; }
.bkac-section-head h2 { margin:0; color:#0b2855; font-size:22px; font-weight:900; line-height:1.7; }
.bkac-section-head p { margin:4px 0 0; color:#748198; font-size:9.6px; line-height:1.9; }

/* Service endpoints */

.bkac-service-page { display:grid; gap:21px; }
.bkac-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.bkac-service-card { min-width:0; padding:21px; border:1px solid rgba(31,105,225,.09); border-radius:19px; background:radial-gradient(circle at 100% 0,rgba(31,105,225,.08),transparent 38%),#fff; box-shadow:0 14px 34px rgba(24,63,119,.045); }
.bkac-service-card__icon { display:flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:16px; background:linear-gradient(145deg,#1765dc,#3c82eb); color:#fff; box-shadow:0 10px 22px rgba(23,101,220,.20); }
.bkac-service-card__icon svg { width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.bkac-service-card h3 { margin:17px 0 0; color:#173760; font-size:14px; font-weight:900; line-height:1.8; }
.bkac-service-card p { min-height:54px; margin:5px 0 15px; color:#748198; font-size:9px; line-height:1.9; }

.bkac-repairer-status-panel { display:flex; align-items:center; gap:16px; padding:24px; border:1px solid rgba(31,105,225,.11); border-radius:21px; background:linear-gradient(145deg,#f3f8ff,#fff); }
.bkac-repairer-status-panel__icon { display:flex; flex:0 0 64px; align-items:center; justify-content:center; width:64px; height:64px; border-radius:19px; background:linear-gradient(145deg,#1765dc,#3c82eb); color:#fff; }
.bkac-repairer-status-panel__icon svg { width:31px; height:31px; fill:none; stroke:currentColor; stroke-width:1.7; }
.bkac-repairer-status-panel__content { flex:1 1 auto; min-width:0; }
.bkac-repairer-status-panel__content span{display:block;color:#1765dc;font-size:9px;font-weight:800;}
.bkac-repairer-status-panel__content h3{margin:2px 0 0;color:#0b2855;font-size:18px;font-weight:900;line-height:1.7;}
.bkac-repairer-status-panel__content p{margin:4px 0 0;color:#748198;font-size:9.6px;line-height:1.9;}
.bkac-repairer-status-panel__actions{display:flex;flex:0 0 auto;gap:8px;}

/* Tickets */

.bkac-tickets-page,
.bkac-new-ticket,
.bkac-ticket-view { display:grid; gap:20px; }

.bkac-ticket-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.bkac-ticket-stat { padding:16px; border:1px solid rgba(31,105,225,.08); border-radius:16px; background:#f8fbff; text-align:center; }
.bkac-ticket-stat strong,.bkac-ticket-stat span{display:block;}
.bkac-ticket-stat strong{color:#0b2855;font-size:22px;font-weight:900;}
.bkac-ticket-stat span{margin-top:2px;color:#76849a;font-size:8.4px;}

.bkac-empty-state { padding:45px 20px; border:1px dashed rgba(31,105,225,.20); border-radius:20px; background:#f8fbff; text-align:center; }
.bkac-empty-state__icon { display:flex; align-items:center; justify-content:center; width:55px; height:55px; margin:0 auto 12px; border-radius:17px; background:#e8f1ff; color:#1765dc; font-size:22px; font-weight:900; }
.bkac-empty-state h3{margin:0;color:#173760;font-size:15px;font-weight:900;}
.bkac-empty-state p{margin:6px 0 15px;color:#748198;font-size:9.5px;}

.bkac-ticket-list { display:grid; gap:9px; }
.bkac-ticket-row { display:grid; grid-template-columns:minmax(95px,.7fr) minmax(210px,1.5fr) minmax(145px,.9fr) auto; align-items:center; gap:13px; min-height:78px; padding:12px 13px; border:1px solid rgba(31,105,225,.08); border-radius:15px; background:#fff; transition:.2s ease; }
.bkac-ticket-row:hover{border-color:rgba(23,101,220,.20);box-shadow:0 13px 30px rgba(24,63,119,.06);}
.bkac-ticket-row.has-unread{border-color:rgba(23,101,220,.25);background:#f7fbff;}
.bkac-ticket-row__number span,.bkac-ticket-row__number small,.bkac-ticket-row__main strong,.bkac-ticket-row__main span,.bkac-ticket-row__status small{display:block;}
.bkac-ticket-row__number span{color:#173760;font-size:9.3px;font-weight:900;}
.bkac-ticket-row__number small{width:fit-content;margin-top:4px;padding:3px 7px;border-radius:999px;background:#e8f1ff;color:#1765dc;font-size:7px;font-weight:850;}
.bkac-ticket-row__main strong{color:#27476f;font-size:10.2px;font-weight:850;line-height:1.8;}
.bkac-ticket-row__main span{margin-top:2px;color:#7c899c;font-size:8px;}
.bkac-ticket-row__status small{margin-top:4px;color:#8a96a7;font-size:7.6px;}

.bkac-status { display:inline-flex; align-items:center; width:fit-content; min-height:26px; padding:0 8px; border-radius:999px; font-size:7.6px; font-weight:850; }
.bkac-status--open{background:#e8f1ff;color:#1765dc;}
.bkac-status--reviewing{background:#fff3df;color:#c37308;}
.bkac-status--answered,.bkac-status--awaiting_customer{background:#efe9ff;color:#744cc5;}
.bkac-status--referred{background:#e5f8f7;color:#148c87;}
.bkac-status--resolved{background:#e7f8ed;color:#24894c;}
.bkac-status--closed{background:#edf0f4;color:#6c7889;}

/* Ticket form */

.bkac-ticket-form,
.bkac-ticket-reply { padding:22px; border:1px solid rgba(31,105,225,.09); border-radius:20px; background:linear-gradient(145deg,#f8fbff,#fff); }
.bkac-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.bkac-field { display:grid; gap:7px; min-width:0; }
.bkac-field--wide { grid-column:1/-1; }
.bkac-field > span,.bkac-admin-reply label > span{color:#173760;font-size:9.5px;font-weight:850;}
.bkac-field b{color:#c54858;}
.bkac-field small{color:#8793a4;font-size:7.8px;line-height:1.7;}
.bkac-field input,.bkac-field select,.bkac-field textarea,.bkac-ticket-reply textarea,.bkac-ticket-reply input[type=file] {
    width:100%!important;
    margin:0!important;
    padding:11px 12px!important;
    border:1px solid #d6e1ef!important;
    border-radius:12px!important;
    outline:0!important;
    background:#fff!important;
    color:#24466f!important;
    font-family:inherit!important;
    font-size:10px!important;
    box-shadow:none!important;
}
.bkac-field input,.bkac-field select{min-height:45px;}
.bkac-field textarea,.bkac-ticket-reply textarea{min-height:145px;resize:vertical;line-height:1.9;}
.bkac-field input:focus,.bkac-field select:focus,.bkac-field textarea:focus,.bkac-ticket-reply textarea:focus{border-color:#3c82eb!important;box-shadow:0 0 0 4px rgba(23,101,220,.08)!important;}
.bkac-conditional-field[hidden]{display:none!important;}
.bkac-ticket-form__footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;padding-top:17px;border-top:1px solid #e2eaf4;}
.bkac-form-note{max-width:650px;color:#7b899c;font-size:8.4px;line-height:1.8;}

/* Ticket conversation */

.bkac-ticket-meta { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; padding:14px; border:1px solid rgba(31,105,225,.08); border-radius:16px; background:#f7faff; }
.bkac-ticket-meta > div{min-width:0;padding:10px;border-radius:11px;background:#fff;}
.bkac-ticket-meta small,.bkac-ticket-meta strong{display:block;}
.bkac-ticket-meta small{margin-bottom:3px;color:#8793a4;font-size:7.5px;}
.bkac-ticket-meta strong,.bkac-ticket-meta a{color:#26466f!important;font-size:8.8px;font-weight:850;text-decoration:none!important;}

.bkac-conversation { display:grid; gap:12px; padding:20px; border:1px solid rgba(31,105,225,.08); border-radius:19px; background:#f8fbff; }
.bkac-message { width:min(82%,760px); padding:15px; border-radius:17px; }
.bkac-message--customer { justify-self:start; border:1px solid rgba(31,105,225,.11); border-bottom-right-radius:5px; background:#fff; }
.bkac-message--staff { justify-self:end; border:1px solid rgba(23,101,220,.16); border-bottom-left-radius:5px; background:#eaf2ff; }
.bkac-message__head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:9px; border-bottom:1px solid rgba(31,105,225,.09); }
.bkac-message__head strong{color:#173760;font-size:9.5px;font-weight:900;}
.bkac-message__head span{color:#8491a3;font-size:7.5px;}
.bkac-message__body{padding-top:10px;color:#566a82;font-size:9.5px;line-height:2;}
.bkac-message__body p{margin:0 0 8px;}
.bkac-attachments{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(31,105,225,.09);}
.bkac-attachments a{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid rgba(31,105,225,.10);border-radius:9px;background:#fff;color:#1765dc!important;font-size:7.7px;font-weight:800;text-decoration:none!important;}
.bkac-attachments small{color:#8a96a7;font-size:6.8px;}

.bkac-ticket-reply h3{margin:0 0 12px;color:#173760;font-size:14px;font-weight:900;}
.bkac-reply-file{display:grid;gap:7px;margin:10px 0 13px;color:#173760;font-size:9px;font-weight:850;}
.bkac-closed-note{padding:17px;border:1px solid #dfe5ed;border-radius:14px;background:#f1f3f6;color:#6c7889;font-size:9px;text-align:center;}

/* WooCommerce native endpoint styling */

body.bkac-account-page.logged-in .woocommerce-MyAccount-content > p:first-child {
    margin-top:0;
}

body.bkac-account-page.logged-in .woocommerce-orders-table,
body.bkac-account-page.logged-in .woocommerce-table,
body.bkac-account-page.logged-in .shop_table {
    overflow:hidden;
    border:1px solid #dfe7f1!important;
    border-radius:15px!important;
    background:#fff;
}

body.bkac-account-page.logged-in .woocommerce-orders-table th,
body.bkac-account-page.logged-in .woocommerce-orders-table td,
body.bkac-account-page.logged-in .shop_table th,
body.bkac-account-page.logged-in .shop_table td {
    padding:12px!important;
    border-color:#edf1f6!important;
    font-size:9px!important;
}

body.bkac-account-page.logged-in .woocommerce-MyAccount-content input.input-text,
body.bkac-account-page.logged-in .woocommerce-MyAccount-content select,
body.bkac-account-page.logged-in .woocommerce-MyAccount-content textarea {
    border:1px solid #d6e1ef!important;
    border-radius:11px!important;
    background:#fff!important;
    box-shadow:none!important;
}

body.bkac-account-page.logged-in .woocommerce-MyAccount-content .button {
    border-radius:10px!important;
}

/* Tablet */

@media (max-width: 1100px) {
    .bkac-stats-grid,
    .bkac-quick-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .bkac-dashboard-columns { grid-template-columns:1fr; }
    .bkac-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .bkac-account-hero__profile { min-width:240px; }
}

@media (max-width: 900px) {
    body.bkac-account-page.logged-in .woocommerce-my-account-wrapper {
        grid-template-columns: 1fr;
        width:min(100% - 24px, 820px);
        margin-top:22px!important;
    }

    .bkac-account-hero { grid-column:auto; flex-direction:column; align-items:stretch; padding:25px; }
    .bkac-account-hero__profile { width:100%; min-width:0; }
    .bkac-navigation { position:static; }
    .bkac-navigation__toggle { display:flex !important; align-items:center; justify-content:space-between; width:100%; min-height:54px; padding:0 15px; border:0; background:#fff; color:#173760; font-family:inherit; font-size:10.5px; font-weight:850; cursor:pointer; }
    .bkac-navigation__toggle svg{width:18px;height:18px;fill:none;stroke:#1765dc;stroke-width:2;transition:.2s ease;}
    .bkac-navigation__toggle[aria-expanded="true"] svg{transform:rotate(180deg);}
    .bkac-navigation__list{display:none;border-top:1px solid #e5ebf3;}
    .bkac-navigation__list.is-open{display:grid;}
    .bkac-ticket-row { grid-template-columns:minmax(90px,.7fr) minmax(0,1.4fr) auto; }
    .bkac-ticket-row__status { display:none; }
    .bkac-support-banner,.bkac-repairer-card,.bkac-repairer-status-panel{align-items:flex-start;flex-wrap:wrap;}
    .bkac-support-banner__actions,.bkac-repairer-card__actions,.bkac-repairer-status-panel__actions{width:100%;}
}

/* Mobile */

@media (max-width: 767px) {
    body.bkac-account-page.logged-in .woocommerce-my-account-wrapper { width:calc(100% - 16px); gap:14px; margin:12px auto 40px!important; }
    body.bkac-account-page.logged-in .woocommerce-MyAccount-content { padding:15px!important; border-radius:18px; }
    .bkac-account-hero { min-height:0; padding:21px 17px; border-radius:20px; text-align:center; }
    .bkac-account-hero h1{font-size:24px;}
    .bkac-account-hero p{font-size:10px;}
    .bkac-account-hero__profile{text-align:right;}
    .bkac-account-hero__avatar,.bkac-account-hero__avatar img{width:56px;height:56px;border-radius:15px;}
    .bkac-stats-grid,.bkac-quick-grid,.bkac-service-grid,.bkac-ticket-stats,.bkac-ticket-meta{grid-template-columns:1fr;}
    .bkac-dashboard-section,.bkac-dashboard-card,.bkac-ticket-form,.bkac-ticket-reply{padding:16px;border-radius:17px;}
    .bkac-quick-action{min-height:70px;}
    .bkac-dashboard-columns{gap:11px;}
    .bkac-order-row{grid-template-columns:1fr auto;}
    .bkac-order-row__status{grid-column:1/2;}
    .bkac-ticket-summary__numbers{grid-template-columns:1fr;}
    .bkac-ticket-summary__actions,.bkac-repairer-card__actions,.bkac-support-banner__actions{display:grid;grid-template-columns:1fr;width:100%;}
    .bkac-repairer-card__icon,.bkac-support-banner__icon{flex-basis:50px;width:50px;height:50px;}
    .bkac-section-head{align-items:flex-start;flex-direction:column;}
    .bkac-section-head .bkac-btn{width:100%;}
    .bkac-form-grid{grid-template-columns:1fr;}
    .bkac-field--wide{grid-column:auto;}
    .bkac-ticket-form__footer{align-items:stretch;flex-direction:column;}
    .bkac-ticket-form__footer .bkac-btn{width:100%;}
    .bkac-ticket-row{grid-template-columns:1fr auto;gap:8px;}
    .bkac-ticket-row__number{grid-column:1/2;}
    .bkac-ticket-row__main{grid-column:1/2;}
    .bkac-ticket-row > .bkac-btn{grid-column:2/3;grid-row:1/3;align-self:center;}
    .bkac-message{width:96%;}
    .bkac-ticket-meta{padding:10px;}
}
