
/* ZEN VORIQ - SUPER ADMIN V2 */
body.super-mode{
    background:#f5f7fa;
    color:#0b1728;
}

body.super-mode .sidebar{
    background:#071522;
    border-right:1px solid #172b3d;
}

body.super-mode .sidebar .brand{
    color:#fff;
    letter-spacing:1.5px;
}

body.super-mode main{
    background:#f5f7fa;
}

body.super-mode .dashboard-head{
    margin-bottom:32px;
}

body.super-mode .dashboard-kicker{
    color:#71849d;
    letter-spacing:2px;
}

body.super-mode .dashboard-head h1{
    color:#0b1728;
    font-size:42px;
}

body.super-mode .stats-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
    margin-bottom:28px;
}

body.super-mode .stat-card{
    background:#fff;
    border:1px solid #e1e7ee;
    border-radius:18px;
    padding:22px;
    box-shadow:0 8px 25px rgba(8,17,31,.05);
}

body.super-mode .stat-card span{
    display:block;
    color:#718096;
    font-size:14px;
    margin-bottom:10px;
}

body.super-mode .stat-card b{
    display:block;
    color:#0b1728;
    font-size:32px;
}

@media(max-width:1100px){
    body.super-mode .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:650px){
    body.super-mode .stats-grid{
        grid-template-columns:1fr;
    }
}

/* SUPER V2 - ISLETME LISTESI */
body.super-mode .panel{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(8,17,31,.05);
}

body.super-mode .business-row{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    padding:16px;
    transition:.18s ease;
}

body.super-mode .business-row:hover{
    border-color:#b9c7d6;
    box-shadow:0 7px 20px rgba(8,17,31,.07);
    transform:translateY(-1px);
}

body.super-mode .business-meta b{
    color:#0b1728;
    font-size:16px;
}

body.super-mode .business-meta small{
    color:#718096;
}

body.super-mode .business-actions .btn{
    border-radius:9px;
    font-weight:700;
}

body.super-mode .business-actions .secondary{
    background:#eef2f5;
    color:#152235;
    border:1px solid #e1e7ec;
}

body.super-mode .business-actions .status{
    border-radius:20px;
    padding:6px 10px;
    font-weight:700;
}

body.super-mode .super-search input{
    border:1px solid #dce3ea;
    border-radius:11px;
    background:#fff;
}

body.super-mode .super-search input:focus{
    border-color:#8297ad;
    outline:none;
    box-shadow:0 0 0 3px rgba(90,116,143,.10);
}

/* SUPER V2 - KRITIK ISLEM */
body.super-mode .business-actions form:nth-of-type(2) .btn{
    background:#fff1f1;
    color:#b42318;
    border:1px solid #f3c7c4;
}

body.super-mode .business-actions form:nth-of-type(2) .btn:hover{
    background:#b42318;
    color:#fff;
    border-color:#b42318;
}

/* SUPER V2 - SIDEBAR */
body.super-mode .sidebar{
    padding:28px 18px;
    background:#071522;
}

body.super-mode .sidebar .brand{
    font-size:24px;
    line-height:1.15;
    margin-bottom:34px;
}

body.super-mode .sidebar .brand small{
    display:block;
    margin-top:8px;
    color:#8fa5bb;
    font-size:12px;
    letter-spacing:1px;
}

body.super-mode .sidebar a{
    display:block;
    padding:13px 14px;
    margin:6px 0;
    border-radius:10px;
    color:#dce6ef;
    text-decoration:none;
    transition:.18s ease;
}

body.super-mode .sidebar a:hover{
    background:#11283a;
    color:#fff;
}

body.super-mode .sidebar a:last-child{
    margin-top:18px;
}

/* SUPER V2 - YENI ISLETME FORMU */
body.super-mode .super-form-panel{
    max-width:900px;
    padding:30px;
}

body.super-mode .super-new-form{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
}

body.super-mode .super-new-form label{
    display:flex;
    flex-direction:column;
    gap:9px;
    color:#172235;
    font-weight:700;
}

body.super-mode .super-new-form input{
    width:100%;
    padding:14px 15px;
    border:1px solid #d9e1e8;
    border-radius:10px;
    background:#fff;
    font-size:15px;
}

body.super-mode .super-new-form input:focus{
    outline:none;
    border-color:#8297ad;
    box-shadow:0 0 0 3px rgba(90,116,143,.10);
}

body.super-mode .super-new-form small{
    color:#8290a3;
    font-weight:400;
}

body.super-mode .super-form-actions{
    grid-column:1/-1;
    display:flex;
    justify-content:flex-end;
    gap:10px;
    padding-top:8px;
}

@media(max-width:700px){
    body.super-mode .super-new-form{
        grid-template-columns:1fr;
    }
}

/* CSRF hidden alanini kesinlikle gizle */
body.super-mode input[type="hidden"]{
    display:none !important;
}

body.super-mode .super-new-form input[name="csrf_token"]{
    display:none !important;
    position:absolute !important;
    width:0 !important;
    height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
}

/* PRODUCT V2 - GENIS DUZEN */
body .product-admin.product-v2{
    display:block !important;
}

body .product-v2 .product-page-head{
    display:block !important;
    margin-bottom:24px !important;
}

body .product-v2 .product-new-panel{
    width:100% !important;
    max-width:none !important;
    margin-bottom:28px !important;
    padding:28px !important;
}

body .product-v2 .product-new-panel .gridform{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px 24px !important;
}

body .product-v2 .product-list-title{
    margin:10px 0 18px !important;
}

body .product-v2 .product-v2-list{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
    width:100% !important;
}

body .product-v2 .product-v2-card{
    width:100% !important;
    display:grid !important;
    grid-template-columns:160px minmax(0,1fr) auto !important;
    gap:24px !important;
    align-items:center !important;
    padding:22px !important;
}

body .product-v2 .product-v2-image{
    width:160px !important;
    height:130px !important;
}

body .product-v2 .product-v2-image img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    border-radius:14px !important;
}

body .product-v2 .product-v2-edit{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(180px,1fr)) !important;
    gap:14px 18px !important;
    min-width:0 !important;
}

@media(max-width:800px){
    body .product-v2 .product-new-panel .gridform,
    body .product-v2 .product-v2-edit{
        grid-template-columns:1fr !important;
    }

    body .product-v2 .product-v2-card{
        grid-template-columns:1fr !important;
    }

    body .product-v2 .product-v2-image{
        width:100% !important;
        height:200px !important;
    }
}

/* PRODUCT V2 - FOTO HIZALAMA */
body .product-v2 .product-v2-card{
    align-items:start !important;
}

body .product-v2 .product-v2-image{
    margin-top:48px !important;
}

/* QR SAYFASI */
.qr-page{
    max-width:1300px;
    margin:0 auto;
}

.qr-page-head h1{
    margin-bottom:8px;
}

.qr-page-head p{
    margin-top:0;
    color:#6b7280;
}

.qr-card{
    margin-top:28px;
    background:#fff;
    border-radius:20px;
    padding:38px;
    text-align:center;
    box-shadow:0 8px 28px rgba(15,23,42,.06);
}

.qr-business{
    font-size:25px;
    font-weight:800;
    color:#0b1728;
}

.qr-subtitle{
    margin-top:6px;
    color:#7a8491;
    font-size:15px;
}

.qr-image-box{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:28px 0 20px;
    padding:18px;
    background:#fff;
    border:1px solid #e6e8eb;
    border-radius:18px;
}

.qr-image-box img{
    width:240px;
    height:240px;
    display:block;
}

.qr-info{
    color:#667085;
    margin:0 auto 24px;
    max-width:520px;
}

.qr-actions{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

.qr-actions .btn{
    min-width:150px;
}

@media(max-width:700px){
    .qr-card{
        padding:25px 18px;
    }

    .qr-image-box img{
        width:210px;
        height:210px;
    }

    .qr-actions .btn{
        width:100%;
    }
}

/* ISLETME GORUNTULENME ISTATISTIKLERI */
.view-stats{
    display:flex;
    gap:7px;
    margin-top:8px;
    flex-wrap:wrap;
}

.view-stats span{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:5px 9px;
    border:1px solid #e3e7e5;
    border-radius:8px;
    background:#f7f9f8;
    color:#68736f;
    font-size:12px;
    line-height:1;
}

.view-stats b{
    color:#a66e12;
    font-size:14px;
}


/* ===== MENU TRAFIK GRAFIGI ===== */
.traffic-card{
    margin-top:24px;
    background:#fff;
    border:1px solid #e6e9e7;
    border-radius:16px;
    padding:22px 24px;
    box-shadow:0 4px 18px rgba(0,0,0,.04);
}

.traffic-head h2{
    margin:0;
    font-size:18px;
    color:#26332f;
}

.traffic-head p{
    margin:5px 0 20px;
    font-size:13px;
    color:#87908d;
}

.traffic-chart{
    height:230px;
    display:flex;
    align-items:flex-end;
    gap:14px;
    padding-top:20px;
}

.traffic-col{
    flex:1;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.traffic-value{
    height:24px;
    font-size:12px;
    font-weight:700;
    color:#a66e12;
}

.traffic-bar-wrap{
    flex:1;
    width:100%;
    max-width:70px;
    display:flex;
    align-items:flex-end;
    background:#f4f6f5;
    border-radius:8px 8px 3px 3px;
    overflow:hidden;
}

.traffic-bar{
    width:100%;
    min-height:2px;
    background:#b47a18;
    border-radius:8px 8px 3px 3px;
}

.traffic-label{
    margin-top:9px;
    font-size:12px;
    color:#727d79;
}

@media(max-width:700px){
    .traffic-card{padding:18px 12px}
    .traffic-chart{gap:6px;height:190px}
    .traffic-label{font-size:10px}
}

/* TRAFIK 7 / 30 GUN SECIMI */
.traffic-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
}

.traffic-tabs{
    display:flex;
    gap:7px;
}

.traffic-tab{
    border:1px solid #e1b45c;
    background:#fff;
    color:#9b6811;
    padding:8px 13px;
    border-radius:8px;
    font-weight:700;
    cursor:pointer;
}

.traffic-tab.active{
    background:#b47a18;
    border-color:#b47a18;
    color:#fff;
}

/* ===== ISLETME MENU ISTATISTIKLERI ===== */
.view-dashboard-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin:16px 0 24px;
}

.view-stat-card{
    background:#fff;
    border:1px solid #e6e9e7;
    border-radius:16px;
    padding:20px 22px;
    display:flex;
    align-items:center;
    gap:16px;
    box-shadow:0 4px 18px rgba(0,0,0,.04);
}

.view-stat-card > span{
    width:48px;
    height:48px;
    border-radius:12px;
    background:#f8ecd2;
    color:#a66e12;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:21px;
    flex-shrink:0;
}

.view-stat-card b{
    display:block;
    font-size:26px;
    line-height:1;
    color:#17211e;
    margin-bottom:7px;
}

.view-stat-card small{
    color:#747e7a;
    font-size:13px;
}

@media(max-width:800px){
    .view-dashboard-stats{
        grid-template-columns:1fr;
    }
}

/* ===== KAMPANYA YONETIMI ===== */
.campaign-form form{
    margin-top:20px;
}

.campaign-form label{
    display:block;
    margin-bottom:7px;
    font-size:14px;
    font-weight:600;
    color:#27332f;
}

.campaign-form input,
.campaign-form textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid #dfe4e1;
    border-radius:10px;
    padding:11px 13px;
    font:inherit;
    background:#fff;
}

.campaign-form input:focus,
.campaign-form textarea:focus{
    outline:none;
    border-color:#c89432;
    box-shadow:0 0 0 3px rgba(200,148,50,.12);
}

.campaign-form .form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-bottom:20px;
}

.campaign-form textarea{
    resize:vertical;
    min-height:100px;
}

.campaign-list{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:20px;
}

.campaign-item{
    display:flex;
    align-items:center;
    gap:16px;
    padding:16px;
    border:1px solid #e4e8e5;
    border-radius:14px;
    background:#fff;
}

.campaign-item img{
    width:90px;
    height:70px;
    object-fit:cover;
    border-radius:10px;
}

.campaign-info{
    flex:1;
}

.campaign-info h3{
    margin:0 0 6px;
    font-size:17px;
}

.campaign-info p{
    margin:0 0 7px;
    color:#68736f;
}

.campaign-info small{
    color:#8a928f;
}

@media(max-width:700px){
    .campaign-form .form-grid{
        grid-template-columns:1fr;
    }

    .campaign-item{
        align-items:flex-start;
    }
}

/* ===== KAMPANYA ISLEM BUTONLARI ===== */
.campaign-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:nowrap;
}
.campaign-actions form{
    margin:0;
    display:inline-flex;
}
.campaign-actions .btn{
    width:auto;
    white-space:nowrap;
    margin:0;
}
.campaign-actions .status{
    order:10;
    white-space:nowrap;
}
@media(max-width:700px){
    .campaign-actions{
        flex-wrap:wrap;
        justify-content:flex-start;
    }
}

/* ===== ILETISIM / DESTEK ===== */
.contact-page{
    max-width:1000px;
}

.contact-grid{
    display:grid;
    gap:14px;
    margin-top:28px;
}

.contact-card{
    display:grid;
    grid-template-columns:56px minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
    padding:20px;
    border:1px solid #e5e5e5;
    border-radius:16px;
    background:#fff;
}

.contact-icon{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#f4f1e9;
    font-size:23px;
}

.contact-info{
    min-width:0;
}

.contact-info small{
    display:block;
    margin-bottom:5px;
    font-size:11px;
    font-weight:800;
    letter-spacing:1.4px;
    color:#8a928f;
}

.contact-info strong{
    display:block;
    font-size:17px;
    overflow-wrap:anywhere;
}

.contact-btn{
    width:auto !important;
    margin:0 !important;
    white-space:nowrap;
}

.contact-back{
    margin-top:24px;
}

@media(max-width:700px){
    .contact-card{
        grid-template-columns:48px 1fr;
    }

    .contact-icon{
        width:46px;
        height:46px;
    }

    .contact-btn{
        grid-column:1 / -1;
        width:100% !important;
        text-align:center;
    }
}

/* ===== EXCEL URUN ISLEMLERI V2 ===== */
.excel-panel-v2{
    padding:26px;
}

.excel-panel-head{
    margin-bottom:22px;
}

.excel-panel-head h2{
    margin-bottom:6px;
}

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

.excel-action-card{
    display:flex;
    flex-direction:column;
    padding:22px;
    border:1px solid #e5e7eb;
    border-radius:18px;
    background:#fafafa;
}

.excel-action-icon{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:16px;
    border-radius:14px;
    background:#f1eee5;
    font-size:23px;
    font-weight:800;
}

.excel-action-card h3{
    margin:0 0 8px;
    font-size:18px;
}

.excel-action-card p{
    margin:0 0 18px;
    line-height:1.55;
    color:#737b78;
}

.excel-download-btn{
    align-self:flex-start;
    margin-bottom:16px !important;
}

.excel-upload-form{
    display:grid;
    gap:12px;
    margin-top:auto;
}

.excel-upload-form input[type="file"]{
    width:100%;
    box-sizing:border-box;
    padding:10px;
    border:1px solid #dfe3e1;
    border-radius:12px;
    background:#fff;
}

.excel-upload-form .btn{
    width:100%;
    margin:0 !important;
}

@media(max-width:760px){
    .excel-action-grid{
        grid-template-columns:1fr;
    }

    .excel-panel-v2{
        padding:18px;
    }

    .excel-action-card{
        padding:18px;
    }

    .excel-download-btn{
        width:100% !important;
        box-sizing:border-box;
        text-align:center;
    }
}

/* ===== ADMIN UYELIK KARTI V2 ===== */
.admin-membership-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:24px;
    margin:0 0 22px;
    padding:20px 22px;
    border:1px solid #e5e7eb;
    border-radius:18px;
    background:#fff;
}

.membership-main{
    display:flex;
    align-items:center;
    gap:15px;
    min-width:0;
}

.membership-icon{
    width:48px;
    height:48px;
    flex:0 0 48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#f1eee5;
    font-size:20px;
}

.membership-main small{
    display:block;
    margin-bottom:4px;
    font-size:11px;
    font-weight:800;
    letter-spacing:1.2px;
    color:#8a928f;
}

.membership-main strong{
    display:block;
    margin-bottom:3px;
    font-size:17px;
}

.membership-main div > span{
    font-size:13px;
    color:#737b78;
}

.membership-days{
    min-width:90px;
    text-align:center;
}

.membership-days b{
    display:block;
    font-size:27px;
    line-height:1;
}

.membership-days span{
    display:block;
    margin-top:5px;
    font-size:11px;
    font-weight:700;
    color:#7b8380;
}

.membership-action{
    margin:0 !important;
    white-space:nowrap;
}

@media(max-width:760px){
    .admin-membership-card{
        grid-template-columns:1fr;
        gap:16px;
        padding:18px;
    }

    .membership-days{
        text-align:left;
        padding-left:63px;
    }

    .membership-action{
        width:100% !important;
        box-sizing:border-box;
        text-align:center;
    }
}

/* ===== SUPER ADMIN UYELIK ISTATISTIKLERI ===== */
.membership-stats-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin:14px 0 22px;
}

.membership-stats-grid .stat-card{
    min-width:0;
}

.membership-stats-grid .stat-card span{
    font-size:13px;
}

.membership-stats-grid .stat-card b{
    font-size:28px;
}

@media(max-width:900px){
    .membership-stats-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:520px){
    .membership-stats-grid{
        grid-template-columns:1fr;
    }
}

/* ===== SUPER ADMIN UYELIK FILTRELERI ===== */
.membership-filter-bar{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    align-items:center;
    margin:14px 0 18px;
}

.membership-filter-bar .filter-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 14px;
    border:1px solid #e2e5e3;
    border-radius:10px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    transition:.18s ease;
}

.membership-filter-bar .filter-btn:hover{
    transform:translateY(-1px);
}

.membership-filter-bar .filter-btn.active{
    font-weight:800;
    border-color:#222;
    background:#222;
    color:#fff;
}

@media(max-width:600px){
    .membership-filter-bar{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .membership-filter-bar .filter-btn{
        width:100%;
    }
}

/* ===== ISLETME DURUM FILTRESI ===== */
.business-status-filter{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    margin:-6px 0 18px;
}

.business-status-filter > span{
    font-size:13px;
    font-weight:800;
    margin-right:2px;
}

.business-status-filter .filter-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:7px 13px;
    border:1px solid #e2e5e3;
    border-radius:9px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    transition:.18s ease;
}

.business-status-filter .filter-btn:hover{
    transform:translateY(-1px);
}

.business-status-filter .filter-btn.active{
    border-color:#222;
    background:#222;
    color:#fff;
    font-weight:800;
}

@media(max-width:600px){
    .business-status-filter{
        display:grid;
        grid-template-columns:auto repeat(2,minmax(0,1fr));
    }

    .business-status-filter .filter-btn{
        width:100%;
    }
}

/* ===== UYELIK DURUM ROZETLERI ===== */
.subscription-info .subscription-days,
.subscription-info .subscription-warning,
.subscription-info .subscription-expired{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:4px 9px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    line-height:1.2;
    margin-left:4px;
}

.subscription-info .subscription-days{
    background:#e8f5ed;
    color:#18794e;
}

.subscription-info .subscription-warning{
    background:#fff3d6;
    color:#a56800;
}

.subscription-info .subscription-expired{
    background:#fde8e8;
    color:#c62828;
}

.subscription-info .subscription-days::before{
    content:"●";
    font-size:8px;
}

.subscription-info .subscription-warning::before{
    content:"●";
    font-size:8px;
}

.subscription-info .subscription-expired::before{
    content:"●";
    font-size:8px;
}

/* ===== ISLETME DUZENLE UYELIK KARTI ===== */
.edit-membership-card{
    margin:6px 0 8px;
    padding:18px;
    border:1px solid #e5e7e5;
    border-radius:14px;
    background:#fafbfa;
}

.edit-membership-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.edit-membership-head > div{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.edit-membership-head small{
    font-size:11px;
    font-weight:800;
    letter-spacing:.05em;
    opacity:.65;
}

.edit-membership-head strong{
    font-size:17px;
}

.edit-membership-days{
    display:flex;
    align-items:baseline;
    gap:4px;
    font-size:28px;
    font-weight:900;
}

.edit-membership-days small{
    font-size:11px;
}

.edit-membership-dates{
    display:flex;
    gap:24px;
    flex-wrap:wrap;
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid #e5e7e5;
    font-size:13px;
}

.edit-membership-dates span{
    display:flex;
    gap:5px;
}

@media(max-width:600px){
    .edit-membership-head{
        align-items:flex-start;
    }

    .edit-membership-days{
        font-size:24px;
    }

    .edit-membership-dates{
        flex-direction:column;
        gap:7px;
    }
}

/* ===== MERKEZI DUYURU FORMU V2 ===== */
.announcement-business-list{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:10px;
}

.campaign-form .announcement-business-item{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    padding:13px 15px;
    border:1px solid #dfe4e1;
    border-radius:12px;
    background:#fff;
    cursor:pointer;
}

.campaign-form .announcement-business-item:hover{
    border-color:#c89432;
    background:#fffaf0;
}

.campaign-form .announcement-business-item input{
    width:18px;
    height:18px;
    margin:0;
    flex:0 0 auto;
    accent-color:#c89432;
}

.announcement-business-item span{
    flex:1;
    font-weight:600;
}

.announcement-business-item small{
    color:#a04444;
    font-size:12px;
}

.announcement-form-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding-top:18px;
    border-top:1px solid #e5e9e7;
}

.campaign-form .announcement-active{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0;
    cursor:pointer;
}

.campaign-form .announcement-active input{
    width:18px;
    height:18px;
    margin:0;
    accent-color:#c89432;
}

@media(max-width:900px){
    .announcement-business-list{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px){
    .announcement-business-list{
        grid-template-columns:1fr;
    }

    .announcement-form-footer{
        align-items:stretch;
        flex-direction:column;
    }

    .announcement-form-footer .btn{
        width:100%;
    }
}

/* ===== MERKEZI DUYURU LISTESI V2 ===== */

.announcement-admin-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:20px 22px;
  margin:14px 0;
  background:#fff;
  border:1px solid #e2e7e5;
  border-radius:16px;
  box-shadow:0 4px 14px rgba(0,0,0,.04);
}

.announcement-admin-row > div:first-child{
  flex:1;
  min-width:0;
}

.announcement-admin-row strong{
  display:block;
  font-size:17px;
  font-weight:800;
  margin-bottom:6px;
}

.announcement-admin-row strong + div{
  font-size:14px;
  opacity:.7;
}

.announcement-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.announcement-actions form{
  margin:0;
  padding:0;
  display:inline-flex;
}

.announcement-actions .btn{
  margin:0;
  white-space:nowrap;
}

@media(max-width:700px){
  .announcement-admin-row{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
  }

  .announcement-actions{
    justify-content:flex-start;
  }
}


/* Merkezi Duyuru Sil Butonu */
.announcement-actions .announcement-delete-btn{
  background:#dc3545;
  color:#fff;
  border-color:#dc3545;
}

.announcement-actions .announcement-delete-btn:hover{
  background:#bb2d3b;
  border-color:#b02a37;
}


/* ===== UYELIK BITIS UYARISI ===== */
.membership-alert-box{
  margin:18px 0;
  padding:18px;
  background:#fff8e6;
  border:1px solid #f0d58a;
  border-radius:16px;
}

.membership-alert-head strong{
  display:block;
  font-size:17px;
  margin-bottom:4px;
}

.membership-alert-head span{
  font-size:14px;
  opacity:.75;
}

.membership-alert-list{
  margin-top:14px;
  display:grid;
  gap:8px;
}

.membership-alert-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 14px;
  background:#fff;
  border-radius:12px;
}

.membership-alert-item > div{
  flex:1;
}

.membership-alert-item b,
.membership-alert-item small{
  display:block;
}

.membership-alert-item small{
  margin-top:3px;
  opacity:.65;
}

.membership-alert-item > span{
  font-weight:700;
  white-space:nowrap;
}

@media(max-width:700px){
  .membership-alert-item{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* ===== MASA QR KARTI ===== */

.table-qr-section{
  margin-top:32px;
  text-align:center;
}

.table-qr-section h2{
  margin-bottom:6px;
}

.table-qr-card{
  width:360px;
  max-width:100%;
  margin:22px auto;
  padding:28px 26px 24px;
  background:#fff;
  border:2px solid #0b1d2a;
  border-radius:22px;
  box-shadow:0 12px 35px rgba(0,0,0,.10);
  text-align:center;
}

.table-qr-brand{
  font-size:14px;
  font-weight:900;
  letter-spacing:3px;
  color:#d9a63d;
  margin-bottom:18px;
}

.table-qr-business{
  font-size:26px;
  font-weight:900;
  color:#0b1d2a;
  line-height:1.15;
  margin-bottom:12px;
}

.table-qr-text{
  font-size:16px;
  line-height:1.5;
  margin-bottom:20px;
  color:#4b5563;
}

.table-qr-image{
  width:230px;
  height:230px;
  margin:0 auto 18px;
  padding:12px;
  background:#fff;
  border:1px solid #e3e6e8;
  border-radius:18px;
}

.table-qr-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.table-qr-scan{
  font-size:13px;
  font-weight:800;
  letter-spacing:1px;
  color:#0b1d2a;
  margin-bottom:18px;
}

.table-qr-footer{
  padding-top:16px;
  border-top:1px solid #e5e7eb;
  font-size:12px;
  font-weight:700;
  letter-spacing:.5px;
  color:#777;
}

.table-qr-actions{
  margin:18px 0 30px;
}

/* ===== ZENVORIQ TELEFON MENU ONIZLEME ===== */

.preview-page{
  max-width:1000px;
  margin:0 auto;
}

.preview-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:28px;
}

.preview-head h1{
  margin:5px 0 7px;
}

.phone-preview{
  width:390px;
  height:780px;
  max-width:100%;
  margin:0 auto 40px;
  padding:12px;
  background:#111;
  border-radius:38px;
  box-shadow:0 20px 55px rgba(0,0,0,.22);
  position:relative;
}

.phone-speaker{
  width:90px;
  height:6px;
  border-radius:20px;
  background:#333;
  margin:2px auto 10px;
}

.phone-preview iframe{
  display:block;
  width:100%;
  height:735px;
  border:0;
  border-radius:27px;
  background:#fff;
}

@media(max-width:600px){
  .preview-head{
    display:block;
  }

  .preview-head .btn{
    display:inline-block;
    margin-top:12px;
  }

  .phone-preview{
    width:100%;
    height:720px;
    border-radius:28px;
  }

  .phone-preview iframe{
    height:675px;
    border-radius:20px;
  }
}


/* ===== MENU ONIZLEME UST ALAN FINAL ===== */
.preview-page{
  padding-top:20px;
}

.preview-head{
  max-width:900px;
  margin:0 auto 28px;
}

.preview-head h1{
  font-size:30px;
  margin:5px 0 7px;
}

.phone-preview{
  margin-top:10px;
}


/* ===== PRODUCT COMPACT V3 ===== */

body .product-v2 .product-v2-list{
    gap:10px !important;
}

body .product-v2 .product-v2-card.product-compact-card{
    display:block !important;
    padding:12px 16px !important;
    border-radius:14px !important;
}

body .product-v2 .product-compact-summary{
    display:grid;
    grid-template-columns:90px minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
}

body .product-v2 .product-v2-image.product-compact-image{
    width:90px !important;
    height:76px !important;
    margin-top:0 !important;
}

body .product-v2 .product-v2-image.product-compact-image img,
body .product-v2 .product-v2-image.product-compact-image .product-v2-noimage{
    width:90px !important;
    height:76px !important;
    object-fit:cover !important;
    border-radius:10px !important;
}

.product-compact-info{
    min-width:0;
}

.product-compact-name{
    display:block;
    font-size:18px;
    margin-bottom:7px;
}

.product-compact-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px 16px;
    font-size:14px;
    color:#666;
}

.product-compact-price{
    font-weight:800;
    color:#222;
}

.product-status-active{
    color:#16803c;
    font-weight:700;
}

.product-status-passive{
    color:#b52b2b;
    font-weight:700;
}

.product-compact-actions{
    display:flex;
    align-items:center;
    gap:8px;
}

.product-compact-actions form{
    margin:0;
}

.product-compact-actions button{
    white-space:nowrap;
}

body .product-v2 .product-compact-edit-wrap{
    display:none;
    margin-top:14px;
    padding-top:16px;
    border-top:1px solid #eee;
}

body .product-v2 .product-compact-edit-wrap.is-open{
    display:block;
}

@media(max-width:700px){
    body .product-v2 .product-compact-summary{
        grid-template-columns:70px minmax(0,1fr);
    }

    body .product-v2 .product-v2-image.product-compact-image,
    body .product-v2 .product-v2-image.product-compact-image img,
    body .product-v2 .product-v2-image.product-compact-image .product-v2-noimage{
        width:70px !important;
        height:65px !important;
    }

    .product-compact-actions{
        grid-column:1/-1;
        justify-content:flex-end;
    }
}


/* PRODUCT COMPACT V3 - FOTOĞRAF YOK DÜZELTME */
body .product-v2 .product-compact-image .product-v2-noimage{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    padding:6px !important;
    box-sizing:border-box !important;
    font-size:12px !important;
    line-height:1.2 !important;
    white-space:normal !important;
    overflow:hidden !important;
}


/* ===== TOPLU ÜRÜN GÖRSEL YÜKLEME ===== */

.bulk-image-panel{
    margin:0 0 16px;
}

.bulk-image-toggle{
    margin-bottom:10px;
}

.bulk-image-area{
    display:none;
    background:#fff;
    border-radius:16px;
    padding:18px;
    box-shadow:0 8px 24px rgba(0,0,0,.05);
}

.bulk-image-area.is-open{
    display:block;
}

.bulk-image-head{
    margin-bottom:14px;
}

.bulk-image-head h3{
    margin:0 0 4px;
}

.bulk-image-list{
    display:grid;
    gap:8px;
    margin-bottom:16px;
}

.bulk-image-row{
    display:grid;
    grid-template-columns:60px minmax(160px,1fr) minmax(250px,2fr);
    align-items:center;
    gap:14px;
    padding:8px 10px;
    border:1px solid #eee;
    border-radius:12px;
}

.bulk-image-current img,
.bulk-image-noimage{
    width:60px;
    height:50px;
    object-fit:cover;
    border-radius:8px;
}

.bulk-image-noimage{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:#f1eee8;
    font-size:9px;
    color:#777;
}

.bulk-image-product{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.bulk-image-product span{
    font-size:13px;
    color:#777;
}

.bulk-image-input input{
    width:100%;
}

.bulk-image-save{
    width:100%;
}

@media(max-width:700px){
    .bulk-image-row{
        grid-template-columns:60px minmax(0,1fr);
    }

    .bulk-image-input{
        grid-column:1/-1;
    }
}


/* EFES RESTAURANT - Fransızca QR yönlendirmesi */
.table-qr-scan-fr{
  font-size:11px;
  letter-spacing:.45px;
  white-space:nowrap;
}


/* ===== QR PRINT SHEET ===== */
.qr-print-sheet{
  display:none;
}

/* ===== A4 2x4 - 8 MASA QR KARTI ===== */
@media print {

  @page {
    size: A4 portrait;
    margin: 5mm;
  }

  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: white !important;
  }

  .sidebar {
    display: none !important;
  }

  main,
  main.adminmain {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  .table-qr-section > h2,
  .table-qr-section > p,
  #tableQrCard,
  .table-qr-actions,
  .flash {
    display: none !important;
  }

  .qr-print-sheet {
    display: grid !important;
    width: 200mm !important;
    height: 287mm !important;
    margin: 0 auto !important;
    padding: 0 !important;

    grid-template-columns: repeat(2, 98mm) !important;
    grid-template-rows: repeat(4, 69.5mm) !important;
    column-gap: 4mm !important;
    row-gap: 3mm !important;

    box-sizing: border-box !important;
  }

  .qr-print-card {
    width: 98mm !important;
    height: 69.5mm !important;
    box-sizing: border-box !important;

    border: 1px solid #0b1d2a !important;
    border-radius: 4mm !important;

    padding: 3mm 4mm !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
    background: white !important;

    overflow: hidden !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .qr-print-card .table-qr-brand {
    font-size: 7.5px !important;
    line-height: 1 !important;
    letter-spacing: 1.5px !important;
    margin: 0 0 1.5mm !important;
  }

  .qr-print-card .table-qr-business {
    font-size: 15px !important;
    line-height: 1 !important;
    margin: 0 0 1.5mm !important;
  }

  .qr-print-card .table-qr-text {
    font-size: 8px !important;
    line-height: 1.15 !important;
    margin: 0 0 1.5mm !important;
  }

  .qr-print-card .table-qr-image {
    display: block !important;
    width: 31mm !important;
    height: 31mm !important;
    padding: 1.5mm !important;
    margin: 0 0 1.5mm !important;
    box-sizing: border-box !important;
  }

  .qr-print-card .table-qr-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .qr-print-card .table-qr-scan {
    font-size: 6px !important;
    line-height: 1 !important;
    letter-spacing: .2px !important;
    white-space: nowrap !important;
    margin: 0 0 1.5mm !important;
  }

  .qr-print-card .table-qr-footer {
    width: 100% !important;
    font-size: 6px !important;
    line-height: 1 !important;
    padding-top: 1.5mm !important;
    margin: 0 !important;
  }
}
