/* Chizmiz Bazar Account Plugin v2 */
.cnb-header-account{
    position:fixed;
    top:18px;
    left:18px;
    z-index:999999;
    direction:rtl;
    font-family:inherit;
}
.cnb-header-account-link{
    display:flex!important;
    align-items:center;
    gap:9px;
    text-decoration:none!important;
    color:#171717!important;
    background:#fff;
    border:1px solid rgba(0,0,0,.10);
    border-radius:999px;
    padding:5px 7px 5px 13px;
    box-shadow:0 7px 24px rgba(0,0,0,.10);
    transition:transform .2s ease,box-shadow .2s ease;
    line-height:1;
}
.cnb-header-account-link:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 28px rgba(0,0,0,.14);
}
.cnb-header-user-name{
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
}
.cnb-header-avatar{
    width:36px;
    height:36px;
    min-width:36px;
    border-radius:50%;
    background:#111;
    color:#fff;
    display:flex!important;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:800;
    box-sizing:border-box;
}
.cnb-header-login-icon svg{
    width:19px;
    height:19px;
    display:block;
}
.cnb-account-wrap{
    --cnb-bg:#fff;
    --cnb-text:#171717;
    --cnb-muted:#777;
    --cnb-border:#e8e8e8;
    max-width:980px;
    margin:35px auto;
    padding:10px;
    box-sizing:border-box;
    font-family:inherit;
    color:var(--cnb-text);
}
.cnb-auth-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}
.cnb-card{
    background:var(--cnb-bg);
    border:1px solid var(--cnb-border);
    border-radius:22px;
    padding:30px;
    box-shadow:0 12px 35px rgba(0,0,0,.06);
    box-sizing:border-box;
}
.cnb-card-title,.cnb-profile-head{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}
.cnb-card-title h2,.cnb-profile-head h2{
    margin:3px 0 0;
    font-size:25px;
    line-height:1.3;
}
.cnb-eyebrow{
    color:var(--cnb-muted);
    font-size:12px;
    font-weight:600;
}
.cnb-icon,.cnb-avatar{
    width:52px;
    height:52px;
    flex:0 0 52px;
    border-radius:15px;
    background:#111;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:700;
}
.cnb-avatar{border-radius:50%;font-size:20px}
.cnb-form label{display:block;margin:0 0 17px}
.cnb-form label>span{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
}
.cnb-form input{
    width:100%;
    height:50px;
    border:1px solid #ddd;
    border-radius:12px;
    padding:0 14px;
    background:#fff;
    color:#111;
    outline:none;
    box-sizing:border-box;
    font:inherit;
    transition:.2s ease;
}
.cnb-form input:focus{
    border-color:#111;
    box-shadow:0 0 0 3px rgba(0,0,0,.06);
}
.cnb-submit{
    width:100%;
    min-height:50px;
    border:0;
    border-radius:12px;
    background:#111;
    color:#fff;
    cursor:pointer;
    font:inherit;
    font-weight:700;
}
.cnb-info{
    border:1px solid var(--cnb-border);
    border-radius:16px;
    overflow:hidden;
    margin-bottom:18px;
}
.cnb-info-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:17px 18px;
    border-bottom:1px solid var(--cnb-border);
}
.cnb-info-row:last-child{border-bottom:0}
.cnb-info-row span{color:var(--cnb-muted);font-size:14px}
.cnb-info-row strong{font-size:15px}
.cnb-orders{
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-decoration:none!important;
    color:#fff!important;
    background:#111;
    border-radius:16px;
    padding:17px 19px;
    margin-top:5px;
}
.cnb-orders span{display:flex;flex-direction:column;gap:4px;font-weight:700}
.cnb-orders small{font-size:11px;font-weight:500;opacity:.65}
.cnb-orders b{font-size:23px}
.cnb-logout-form{margin-top:14px}
.cnb-logout{
    width:100%;
    min-height:46px;
    border:1px solid #ddd;
    background:#fff;
    color:#222;
    border-radius:12px;
    cursor:pointer;
    font:inherit;
    font-weight:600;
}
.cnb-alert{
    padding:13px 16px;
    border-radius:12px;
    margin-bottom:18px;
    font-size:14px;
    border:1px solid;
}
.cnb-alert-error{background:#fff4f4;border-color:#ffd5d5;color:#a30000}
.cnb-alert-success{background:#f2fff5;border-color:#ccefd5;color:#176b2e}

@media(max-width:700px){
    .cnb-header-account{top:10px;left:10px}
    .cnb-header-user-name{font-size:12px}
    .cnb-header-avatar{width:34px;height:34px;min-width:34px}
    .cnb-account-wrap{margin:20px auto;padding:8px}
    .cnb-auth-grid{grid-template-columns:1fr;gap:16px}
    .cnb-card{padding:22px 18px;border-radius:18px}
    .cnb-card-title h2,.cnb-profile-head h2{font-size:22px}
    .cnb-info-row{align-items:flex-start;flex-direction:column;gap:5px}
}
