:root{
    --acc-green:#087657;
    --acc-green-dark:#055d45;
    --acc-soft:#edf7f3;
    --acc-border:#e5e9ed;
    --acc-text:#172033;
    --acc-muted:#7b8496;
    --acc-bg:#f6f7f9;
}

.account-v2-wrap{
    background:var(--acc-bg);
    padding:42px 18px 70px;
    min-height:620px;
}

.account-v2-container{
    max-width:1240px;
    margin:0 auto;
}

.account-v2-head{
    margin-bottom:24px;
}

.account-v2-head h1{
    font-size:30px;
    margin:0 0 7px;
    color:var(--acc-text);
}

.account-v2-head p{
    margin:0;
    color:var(--acc-muted);
    font-size:14px;
}

.account-v2-grid{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:24px;
    align-items:start;
}

.account-v2-sidebar{
    background:#fff;
    border:1px solid var(--acc-border);
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 7px 25px rgba(17,24,39,.05);
    position:sticky;
    top:20px;
}

.account-v2-user{
    padding:22px;
    border-bottom:1px solid var(--acc-border);
}

.account-v2-avatar{
    width:54px;
    height:54px;
    border-radius:50%;
    background:var(--acc-green);
    color:#fff;
    display:grid;
    place-items:center;
    font-size:21px;
    font-weight:800;
    margin-bottom:12px;
}

.account-v2-user strong{
    display:block;
    font-size:15px;
    color:var(--acc-text);
}

.account-v2-user span{
    display:block;
    margin-top:4px;
    color:var(--acc-muted);
    font-size:11px;
    overflow:hidden;
    text-overflow:ellipsis;
}

.account-v2-nav{
    padding:10px;
}

.account-v2-nav a{
    display:flex;
    align-items:center;
    gap:11px;
    padding:12px 13px;
    border-radius:9px;
    color:#455064;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    margin:2px 0;
}

.account-v2-nav a:hover{
    background:#f6f8fa;
    color:var(--acc-green);
}

.account-v2-nav a.active{
    background:var(--acc-soft);
    color:var(--acc-green);
}

.account-v2-nav-icon{
    width:22px;
    text-align:center;
}

.account-v2-content{
    min-width:0;
}

.acc-card{
    background:#fff;
    border:1px solid var(--acc-border);
    border-radius:16px;
    box-shadow:0 7px 25px rgba(17,24,39,.05);
    overflow:hidden;
    margin-bottom:20px;
}

.acc-card-head{
    padding:19px 22px;
    border-bottom:1px solid var(--acc-border);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
}

.acc-card-head h2{
    margin:0;
    font-size:17px;
    color:var(--acc-text);
}

.acc-card-body{
    padding:22px;
}

.acc-stats{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:15px;
    margin-bottom:20px;
}

.acc-stat{
    background:#fff;
    border:1px solid var(--acc-border);
    border-radius:14px;
    padding:20px;
}

.acc-stat-label{
    color:var(--acc-muted);
    font-size:11px;
    margin-bottom:7px;
}

.acc-stat-value{
    font-size:25px;
    font-weight:800;
    color:var(--acc-text);
}

.acc-grid-2{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}

.acc-field{
    margin-bottom:15px;
}

.acc-field label{
    display:block;
    font-size:12px;
    font-weight:700;
    margin-bottom:7px;
    color:#263247;
}

.acc-input{
    width:100%;
    height:44px;
    border:1px solid #dfe4ea;
    border-radius:9px;
    padding:0 13px;
    outline:none;
    background:#fff;
    color:#172033;
}

.acc-input:focus{
    border-color:var(--acc-green);
    box-shadow:0 0 0 3px rgba(8,118,87,.08);
}

.acc-btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-height:43px;
    padding:0 18px;
    border-radius:9px;
    border:0;
    background:var(--acc-green);
    color:#fff !important;
    text-decoration:none;
    font-weight:700;
    font-size:13px;
    cursor:pointer;
}

.acc-btn:hover{
    background:var(--acc-green-dark);
}

.acc-btn-light{
    background:#fff;
    border:1px solid var(--acc-border);
    color:#334155 !important;
}

.acc-alert{
    margin-bottom:18px;
    padding:13px 15px;
    border-radius:10px;
    font-size:13px;
}

.acc-alert.success{
    background:#ecfdf5;
    color:#067647;
    border:1px solid #a7f3d0;
}

.acc-alert.error{
    background:#fef2f2;
    color:#b42318;
    border:1px solid #fecaca;
}

.acc-empty{
    text-align:center;
    padding:55px 20px;
    color:var(--acc-muted);
}

.acc-empty-icon{
    font-size:40px;
    margin-bottom:12px;
}

.acc-order{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr 1fr;
    align-items:center;
    gap:15px;
    padding:16px 0;
    border-bottom:1px solid var(--acc-border);
    font-size:13px;
}

.acc-order:last-child{
    border-bottom:0;
}

.acc-order strong{
    color:var(--acc-text);
}

.acc-status{
    display:inline-flex;
    padding:5px 9px;
    border-radius:20px;
    background:#f1f5f9;
    color:#475569;
    font-size:10px;
    font-weight:700;
}

.acc-status.completed{
    background:#ecfdf3;
    color:#067647;
}

.acc-status.cancelled{
    background:#fef2f2;
    color:#b42318;
}

.acc-login-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.acc-login-side{
    padding:36px;
    background:linear-gradient(135deg,#087657,#0b8c68);
    color:#fff;
    border-radius:16px;
}

.acc-login-side h2{
    font-size:28px;
    margin:0 0 12px;
}

.acc-login-side p{
    opacity:.85;
    line-height:1.6;
}

.acc-benefit{
    display:flex;
    gap:10px;
    margin-top:16px;
    font-size:13px;
}

.acc-tabs{
    display:flex;
    gap:8px;
    margin-bottom:20px;
}

.acc-tabs a{
    flex:1;
    padding:11px;
    text-align:center;
    border-radius:8px;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    border:1px solid var(--acc-border);
    color:#64748b;
}

.acc-tabs a.active{
    background:var(--acc-green);
    border-color:var(--acc-green);
    color:#fff;
}

@media(max-width:900px){

    .account-v2-grid{
        grid-template-columns:1fr;
    }

    .account-v2-sidebar{
        position:static;
    }

    .account-v2-nav{
        display:flex;
        overflow:auto;
    }

    .account-v2-nav a{
        white-space:nowrap;
    }

    .acc-login-layout{
        grid-template-columns:1fr;
    }
}

@media(max-width:650px){

    .acc-stats{
        grid-template-columns:1fr;
    }

    .acc-grid-2{
        grid-template-columns:1fr;
    }

    .acc-order{
        grid-template-columns:1fr 1fr;
    }

    .account-v2-wrap{
        padding:24px 12px 50px;
    }
}

/* =========================================================
   HESABIM - ORTAK HEADER / TOPBAR FIX
   Sadece /hesabim/ sayfalarında uygulanır
   ========================================================= */

/* Üst bar taşmasın */
.ce-topbar{
    min-height:56px !important;
    height:auto !important;
}

.ce-topbar__inner{
    min-height:56px !important;
    height:auto !important;
    display:flex !important;
    align-items:center !important;
}

/* Telefon normal satır içinde kalsın */
.ce-topbar__phone{
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;

    gap:7px !important;

    width:auto !important;
    height:auto !important;

    min-width:0 !important;
    min-height:0 !important;

    max-width:none !important;
    max-height:none !important;

    margin:0 12px !important;
    padding:0 !important;

    color:#075c51 !important;
    text-decoration:none !important;

    font-size:14px !important;
    font-weight:700 !important;
    line-height:1 !important;

    position:static !important;
    transform:none !important;

    white-space:nowrap !important;
}

/* Dev telefon ikonunu kesin olarak küçült */
.ce-topbar__phone .ce-topbar__phone-icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:16px !important;
    height:16px !important;

    min-width:16px !important;
    min-height:16px !important;

    max-width:16px !important;
    max-height:16px !important;

    flex:0 0 16px !important;

    margin:0 !important;
    padding:0 !important;

    overflow:hidden !important;

    position:static !important;
    transform:none !important;
}

.ce-topbar__phone .ce-topbar__phone-icon svg{
    display:block !important;

    width:16px !important;
    height:16px !important;

    min-width:16px !important;
    min-height:16px !important;

    max-width:16px !important;
    max-height:16px !important;

    margin:0 !important;
    padding:0 !important;

    fill:currentColor !important;

    position:static !important;

    transform:none !important;
    scale:1 !important;
}

/* Bazı tema kuralları path/svg'yi büyütüyorsa engelle */
.ce-topbar__phone svg,
.ce-topbar__phone svg path{
    transform:none !important;
}

.ce-topbar__phone-text{
    display:inline !important;

    width:auto !important;
    height:auto !important;

    margin:0 !important;
    padding:0 !important;

    position:static !important;

    font-size:14px !important;
    line-height:1 !important;
}

/* Kampanya + kod + telefon aynı hizada */
.ce-topbar__promo,
.ce-topbar__center,
.ce-topbar__campaign,
.ce-topbar__middle{
    display:flex !important;
    align-items:center !important;
}

/* Hesabım header ana satırı da taşmasın */
.ce-header,
.ce-header__inner,
.ce-main-header,
.ce-main-header__inner{
    overflow:visible !important;
}

/* Tablet */
@media(max-width:991px){

    .ce-topbar__phone{
        margin:0 7px !important;
        font-size:12px !important;
        gap:5px !important;
    }

    .ce-topbar__phone-text{
        font-size:12px !important;
    }

    .ce-topbar__phone .ce-topbar__phone-icon,
    .ce-topbar__phone .ce-topbar__phone-icon svg{
        width:14px !important;
        height:14px !important;

        min-width:14px !important;
        min-height:14px !important;

        max-width:14px !important;
        max-height:14px !important;

        flex-basis:14px !important;
    }
}

/* Mobil */
@media(max-width:767px){

    .ce-topbar__phone{
        font-size:11px !important;
        margin:0 5px !important;
    }

    .ce-topbar__phone-text{
        font-size:11px !important;
    }
}

