
/* v2.1: first-paint + NexSell breadcrumb */
[id^="account-"] .breadcrumb{
 background:#0f1726!important;
 border:1px solid #252f43!important;
 border-radius:14px!important;
 box-shadow:none!important;
}
[id^="account-"] .breadcrumb>li>a{color:#cbd5e1!important;font-weight:600}
[id^="account-"] .breadcrumb>li:last-child>a{color:#a78bfa!important}
[id^="account-"] .breadcrumb>li:first-child>a{color:#8b5cf6!important}
[id^="account-"] .breadcrumb>li+li:before{color:#566176!important}
[id^="account-"] .breadcrumb a:hover{color:#c4b5fd!important;text-decoration:none}
[id^="account-account"] #content>h2{margin-top:24px;padding-left:2px}
[id^="account-account"] #content>.list-unstyled{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:12px!important;
}
[id^="account-account"] #content>.list-unstyled li a{
 min-height:48px;display:flex!important;align-items:center;
 background:linear-gradient(145deg,#151e2e,#111827)!important;
 border:1px solid #2a354a!important;
 box-shadow:0 8px 22px rgba(0,0,0,.12);
}
[id^="account-account"] #content>.list-unstyled li a:hover{
 border-color:#7c3aed!important;
 box-shadow:0 10px 28px rgba(124,58,237,.12);
}
@media(max-width:767px){
 [id^="account-account"] #content>.list-unstyled{grid-template-columns:1fr!important}
}


#nx-account-overlay{position:fixed;inset:0;background:rgba(4,8,18,.66);backdrop-filter:blur(3px);z-index:99998;display:none}
#nx-account-overlay.nx-open{display:block}
.nx-account-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-47%) scale(.98);width:min(400px,calc(100vw - 28px));background:#fff;color:#111827;border-radius:22px;box-shadow:0 32px 100px rgba(0,0,0,.38);z-index:99999;opacity:0;visibility:hidden;transition:.18s;overflow:hidden}
.nx-account-modal.nx-open{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}
.nx-modal-in{padding:22px}.nx-modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e7eb;padding-bottom:16px;margin-bottom:18px}
.nx-modal-title{font-size:22px;font-weight:800;margin:0}.nx-close{width:34px;height:34px;border:1px solid #e5e7eb;background:#fff;border-radius:11px;font-size:22px;line-height:28px}
.nx-field{position:relative;margin-bottom:12px}.nx-field input{width:100%;height:52px;border:1px solid #d8dee9;border-radius:14px;padding:0 46px 0 16px;box-sizing:border-box;outline:none}
.nx-field input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.12)}.nx-eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:0;background:transparent}
.nx-links{display:flex;justify-content:space-between;gap:12px;margin:5px 0 20px;font-size:14px}.nx-links a{color:#2563eb;cursor:pointer;text-decoration:none}
.nx-submit{width:100%;height:50px;border:0;border-radius:999px;background:#050505;color:#fff;font-weight:800}.nx-msg{display:none;border-radius:12px;padding:10px 12px;margin-bottom:12px;font-size:13px}.nx-error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.nx-ok{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
body.nx-lock{overflow:hidden}

/* Whole OpenCart account area */
[id^="account-"]{max-width:1240px!important;padding-top:18px;padding-bottom:55px;color:#f8fafc}
[id^="account-"] .breadcrumb{background:#111827;border:1px solid #273247;border-radius:14px;padding:12px 16px;margin-bottom:22px}
[id^="account-"] .breadcrumb a{color:#aab6cb}[id^="account-"] #content{background:linear-gradient(145deg,#111827,#0d1422);border:1px solid #263249;border-radius:20px;padding:28px;box-shadow:0 18px 50px rgba(0,0,0,.18);min-height:390px}
[id^="account-"] #content h1,[id^="account-"] #content h2,[id^="account-"] #content h3{color:#f8fafc;font-weight:800}[id^="account-"] #content h1{font-size:28px;margin-top:0}
[id^="account-"] #content p,[id^="account-"] #content label,[id^="account-"] #content td{color:#b9c4d7}[id^="account-"] #content a:not(.btn){color:#38bdf8}
[id^="account-"] #content .list-unstyled{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}
[id^="account-"] #content .list-unstyled li a{display:block;background:#161f30;border:1px solid #2b374d;border-radius:12px;padding:12px 14px;color:#dbe5f5!important}
[id^="account-"] #content .list-unstyled li a:hover{border-color:#7c3aed;background:#1d2440;text-decoration:none}
[id^="account-"] legend{color:#dbe4f3;border-color:#2c3850}[id^="account-"] .form-horizontal .form-group{border:0;margin-left:0;margin-right:0;padding:7px 0}
[id^="account-"] .control-label{color:#cbd5e1!important}[id^="account-"] .form-control{height:46px;background:#0b1220;border:1px solid #334155;border-radius:12px;color:#f8fafc;box-shadow:none}
[id^="account-"] textarea.form-control{height:auto}[id^="account-"] .form-control:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.14)}
[id^="account-"] .btn{border-radius:11px;font-weight:700;padding:10px 16px}[id^="account-"] .btn-primary,[id^="account-"] .btn-info{border:0;background:linear-gradient(135deg,#7c3aed,#9333ea);color:#fff}
[id^="account-"] .btn-default{background:#202b3d;color:#e5e7eb;border:1px solid #35435b}
[id^="account-"] .table-responsive{border:1px solid #2b374d;border-radius:14px;overflow:hidden}[id^="account-"] .table{margin:0;background:#111827}
[id^="account-"] .table>thead>tr>td,[id^="account-"] .table>thead>tr>th{background:#1a2435;color:#94a3b8;border-color:#2c3850}
[id^="account-"] .table>tbody>tr>td{border-color:#263249;background:#101827;color:#d7deeb}
[id^="account-"] #column-right .list-group,[id^="account-"] #column-left .list-group{background:#111827;border:1px solid #29364c;border-radius:18px;overflow:hidden}
[id^="account-"] #column-right .list-group-item,[id^="account-"] #column-left .list-group-item{background:#111827;color:#b9c4d7;border-color:#263249;padding:13px 15px}
[id^="account-"] #column-right .list-group-item:hover,[id^="account-"] #column-left .list-group-item:hover{background:#1d2740;color:#fff;border-left:3px solid #8b5cf6}
[id^="account-"] .panel,[id^="account-"] .well{background:#111827;border:1px solid #2b374d;border-radius:15px;color:#cbd5e1}
[id^="account-"] .panel-heading{background:#1a2435;border-color:#2b374d;color:#fff}[id^="account-"] .panel-body,[id^="account-"] .panel-footer{background:#111827;border-color:#2b374d}
@media(max-width:767px){[id^="account-"]{padding:12px 14px 35px!important}[id^="account-"] #content{padding:20px 16px;border-radius:16px}[id^="account-"] #content .list-unstyled{grid-template-columns:1fr}.nx-modal-in{padding:18px}}

/* v2.2 — breadcrumb and contact profile */
[id^="account-"] .breadcrumb>li>a{
 color:#ffffff!important;
 font-size:15px!important;
 font-weight:700!important;
}
[id^="account-"] .breadcrumb>li:last-child>a{color:#ffffff!important}
[id^="account-"] .breadcrumb>li:first-child>a{color:#ffffff!important}
[id^="account-"] .breadcrumb>li+li:before{color:#8b96aa!important}
[id^="account-"] .breadcrumb a:hover{color:#c4b5fd!important}

.nx-contact-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px;margin:6px 0 26px;
}
.nx-contact-card{
 display:flex;align-items:center;gap:13px;
 background:linear-gradient(145deg,#161f30,#111827);
 border:1px solid #2b374d;border-radius:14px;padding:15px 16px;
 min-height:72px;
}
.nx-contact-icon{
 width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;
 background:rgba(124,58,237,.14);color:#c4b5fd;font-size:17px;flex:0 0 40px;
}
.nx-contact-label{font-size:12px;color:#8f9bb0;margin-bottom:4px}
.nx-contact-value{font-size:15px;color:#fff;font-weight:700;word-break:break-word}
.nx-contact-empty{color:#7f8ba0;font-weight:600}
@media(max-width:767px){.nx-contact-grid{grid-template-columns:1fr}}


/* ==========================================================
   NexSell Account v2.7 FINAL
   Store Theme v1.1 owns the global palette and theme button.
   This file never paints html/body/header/footer and defines
   no global --nx-* variables.
   ========================================================== */

/* LIGHT — only OpenCart account routes/containers */
html:not(.nx-dark) [id^="account-"]{color:#111827!important}

html:not(.nx-dark) [id^="account-"] .breadcrumb{
 background:#ffffff!important;border-color:#dbe3ef!important;
}
html:not(.nx-dark) [id^="account-"] .breadcrumb>li>a{
 color:#172033!important;
}
html:not(.nx-dark) [id^="account-"] .breadcrumb>li:first-child>a{
 color:#7c3aed!important;
}
html:not(.nx-dark) [id^="account-"] .breadcrumb>li:last-child>a{
 color:#172033!important;
}
html:not(.nx-dark) [id^="account-"] .breadcrumb>li+li:before{
 color:#94a3b8!important;
}

html:not(.nx-dark) [id^="account-"] #content{
 background:#ffffff!important;border-color:#dbe3ef!important;
 box-shadow:0 18px 50px rgba(15,23,42,.08)!important;
}
html:not(.nx-dark) [id^="account-"] #content h1,
html:not(.nx-dark) [id^="account-"] #content h2,
html:not(.nx-dark) [id^="account-"] #content h3{
 color:#111827!important;
}
html:not(.nx-dark) [id^="account-"] #content p,
html:not(.nx-dark) [id^="account-"] #content label,
html:not(.nx-dark) [id^="account-"] #content td{
 color:#526176!important;
}
html:not(.nx-dark) [id^="account-"] #content a:not(.btn){color:#0284c7!important}

html:not(.nx-dark) [id^="account-"] #content .list-unstyled li a{
 background:#f8fafc!important;border-color:#dbe3ef!important;
 color:#172033!important;box-shadow:0 8px 22px rgba(15,23,42,.07)!important;
}
html:not(.nx-dark) [id^="account-"] #content .list-unstyled li a:hover{
 background:#f4f0ff!important;border-color:#8b5cf6!important;
}

html:not(.nx-dark) [id^="account-"] legend{color:#172033!important;border-color:#dbe3ef!important}
html:not(.nx-dark) [id^="account-"] .control-label{color:#475569!important}
html:not(.nx-dark) [id^="account-"] .form-control{
 background:#ffffff!important;border-color:#cbd5e1!important;color:#111827!important;
}
html:not(.nx-dark) [id^="account-"] .btn-default{
 background:#ffffff!important;color:#172033!important;border-color:#cbd5e1!important;
}

html:not(.nx-dark) [id^="account-"] .table-responsive{border-color:#dbe3ef!important}
html:not(.nx-dark) [id^="account-"] .table{background:#ffffff!important}
html:not(.nx-dark) [id^="account-"] .table>thead>tr>td,
html:not(.nx-dark) [id^="account-"] .table>thead>tr>th{
 background:#f1f5f9!important;color:#475569!important;border-color:#dbe3ef!important;
}
html:not(.nx-dark) [id^="account-"] .table>tbody>tr>td{
 background:#ffffff!important;color:#334155!important;border-color:#e2e8f0!important;
}

html:not(.nx-dark) [id^="account-"] #column-right .list-group,
html:not(.nx-dark) [id^="account-"] #column-left .list-group{
 background:#ffffff!important;border-color:#dbe3ef!important;
}
html:not(.nx-dark) [id^="account-"] #column-right .list-group-item,
html:not(.nx-dark) [id^="account-"] #column-left .list-group-item{
 background:#ffffff!important;color:#475569!important;border-color:#e2e8f0!important;
}
html:not(.nx-dark) [id^="account-"] #column-right .list-group-item:hover,
html:not(.nx-dark) [id^="account-"] #column-left .list-group-item:hover{
 background:#f8fafc!important;color:#111827!important;
}

html:not(.nx-dark) [id^="account-"] .panel,
html:not(.nx-dark) [id^="account-"] .well{
 background:#ffffff!important;border-color:#dbe3ef!important;color:#475569!important;
}
html:not(.nx-dark) [id^="account-"] .panel-heading{
 background:#f1f5f9!important;border-color:#dbe3ef!important;color:#172033!important;
}
html:not(.nx-dark) [id^="account-"] .panel-body,
html:not(.nx-dark) [id^="account-"] .panel-footer{
 background:#ffffff!important;border-color:#dbe3ef!important;
}

/* Contact cards exist only inside the Account page markup injected by this module */
html:not(.nx-dark) [id^="account-"] .nx-contact-card{
 background:#f8fafc!important;border-color:#dbe3ef!important;
}
html:not(.nx-dark) [id^="account-"] .nx-contact-label{color:#64748b!important}
html:not(.nx-dark) [id^="account-"] .nx-contact-value{color:#111827!important}
html:not(.nx-dark) [id^="account-"] .nx-contact-empty{color:#64748b!important}

/* DARK stays visually identical to the successful v2.2 design. */

/* v2.9 password visibility control */
.nx-account-modal .nx-field{position:relative!important}
.nx-account-modal .nx-field input[type="password"],
.nx-account-modal .nx-field input[type="text"]{padding-right:58px!important}
.nx-account-modal .nx-eye{
 position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%)!important;
 z-index:20!important;width:40px!important;height:40px!important;padding:8px!important;margin:0!important;
 border:0!important;background:transparent!important;display:flex!important;align-items:center!important;
 justify-content:center!important;cursor:pointer!important;color:#172033!important;opacity:1!important;
}
.nx-account-modal .nx-eye svg{display:block!important;width:24px!important;height:24px!important;fill:currentColor!important}

/* v3.0.1 CLEAN — visual colors are owned by NexSell Store Theme */
.nx-account-modal,
.nx-account-modal .nx-close,
.nx-account-modal .nx-field input,
.nx-account-modal .nx-links a,
.nx-account-modal .nx-eye{color:inherit}
