/* ===== SEPET SAYFASI - KOMPAKT MODERN TASARIM ===== */

/* Ana Kart */
.payment-bg, .order-bg {
    background-color: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    box-shadow: none;
}

.order-bg {
    background: linear-gradient(165deg, #f8fafe 0%, #ffffff 100%);
}

/* ===== HEADER - NET VE BELİRGİN ===== */
.payment-bg > .d-flex:first-child {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 20px !important;
    border-radius: 14px 14px 0 0;
}

.payment-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #64748b;
}

/* ===== ÜRÜN SATIRI - KOMPAKT ===== */
.payment-bg > .d-flex.justify-content-between.align-items-baseline {
    padding: 20px !important;
    align-items: center !important;
}

/* Ürün Adı */
.order-name {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.order-name::before {
    display: none;
}

/* ===== ÖZELLİKLER - ETİKET STİLİ YAN YANA ===== */
.order-prop {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    color: #475569;
    padding: 5px 10px;
    margin: 3px 4px 3px 0;
    background: #f1f5f9;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    list-style: none;
}

.order-prop::before {
    display: none;
}

/* E-posta/Domain Badge */
.order-mail {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #0369a1;
    background: #e0f2fe;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 8px;
}

.order-mail::before {
    content: '🌐';
    font-size: 11px;
}

/* Fiyat */
.price {
    font-size: 18px;
    font-weight: 800;
    color: #0ea5e9;
}

/* ===== SİLME BUTONU - BELİRGİN ===== */
.payment-bg form[action="/card/delete"] .btn,
.payment-bg .btn[type="submit"] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    border: 1px solid #fecaca;
    transition: all 0.15s ease;
    cursor: pointer;
}

.payment-bg form[action="/card/delete"] .btn:hover,
.payment-bg .btn[type="submit"]:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    transform: scale(1.05);
}

.payment-bg form[action="/card/delete"] .btn svg,
.payment-bg .btn[type="submit"] svg {
    width: 14px;
    height: 14px;
}

.payment-bg form[action="/card/delete"] .btn svg path,
.payment-bg .btn[type="submit"] svg path {
    fill: #ef4444;
}

/* ===== SİPARİŞ ÖZETİ ===== */
.order-summary-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.order-summary-desc {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* İndirim Satırı */
.discount-sum {
    background: #f0fdf4;
    margin: 14px -24px;
    padding: 12px 24px;
    border-top: 1px solid #bbf7d0;
    border-bottom: 1px solid #bbf7d0;
}

.order-discount {
    font-size: 14px;
    font-weight: 600;
    color: #16a34a;
}

/* İndirim Badge */
.disc-bg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.disc-bg::before {
    content: '✓';
    font-weight: 700;
}

/* Toplam */
#total-amount {
    font-size: 20px;
    font-weight: 800;
    color: #0ea5e9;
}

/* ===== FORM ELEMANLARI ===== */
.form-select, .form-control {
    font-size: 13px;
    color: #334155;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.15s ease;
    font-weight: 500;
    box-shadow: none;
}

.form-select {
    width: 140px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.form-select:focus, .form-control:focus {
    border-color: #0ea5e9;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(14,165,233,0.1);
}

/* Promosyon Input */
.islemci-modeli {
    width: 100% !important;
    border-radius: 8px;
    height: 44px;
    background: #fff;
}

/* ===== BUTONLAR ===== */
.pass-payment {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pass-payment:hover:not(:disabled) {
    background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
    transform: translateY(-1px);
}

.pass-payment:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

.applyButton {
    height: 44px;
    border-radius: 8px;
    background: #f1f5f9 !important;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
    min-width: 80px;
}

.applyButton:hover:not(:disabled) {
    background: #0ea5e9 !important;
    color: #fff;
    border-color: #0ea5e9;
}

/* ===== REFERANS BADGE ===== */
.bagde-flag-wrap {
    position: absolute;
    top: 12px;
    right: 12px;
}

.bagde-flag-wrap::before {
    display: none;
}

.bagde-flag {
    text-transform: uppercase;
    color: #fff;
    background: #f97316;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== PARA BİRİMİ TOGGLE ===== */
.pricing-switcher-currency .fieldset-currency {
    display: inline-flex;
    padding: 3px;
    border-radius: 8px;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

.pricing-switcher-currency label {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 28px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s ease;
    border-radius: 6px;
    margin-bottom: 0;
}

.pricing-switcher-currency .dolar { color: #fff; }
.pricing-switcher-currency .tl { color: #64748b; }

.pricing-switcher-currency .switch-currency {
    position: absolute;
    top: 3px;
    left: 3px;
    height: 28px;
    width: 36px;
    background: #0ea5e9;
    border-radius: 6px;
    transition: transform 0.2s ease;
    box-shadow: none;
}

.pricing-switcher-currency input[type="radio"]:checked + label + .switch-currency,
.pricing-switcher-currency input[type="radio"]:checked + label:nth-of-type(n) + .switch-currency {
    transform: translateX(36px);
}

/* ===== UYARILAR ===== */
.warning-order, .alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 12px;
    color: #92400e;
    line-height: 1.5;
}

/* Hesap Kartı */
.card {
    border-radius: 8px;
    border: 1px solid #fde68a;
    background: #fffbeb;
}

.card-body {
    padding: 12px 14px;
    font-size: 12px;
    color: #92400e;
    line-height: 1.5;
}

.card-body a {
    color: #0ea5e9;
    font-weight: 600;
    text-decoration: none;
}

/* Boş Sepet */
.one-cıkan {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
}

/* ===== PROMOSYON LAYOUT ===== */
.payment-bg form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-bg form .ms-2 {
    margin-left: 0 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .payment-bg, .order-bg {
        border-radius: 12px;
    }
    
    .form-select {
        width: 120px;
    }
    
    .order-prop {
        font-size: 10px;
        padding: 4px 8px;
    }
}
    .bagde-flag-wrap {
        position: absolute;
        top: 20px;
        right: -12px;
    }

    .bagde-flag-wrap::before {
        content: "";
        position: absolute;
        top: 26px;
        right: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 12px 12px 0 0;
        border-color: #ff9a58 transparent transparent transparent;
    }

    .bagde-flag {
        text-transform: capitalize;
        color: #ffffff;
        background: linear-gradient(90deg, #ff2c6f, #ff9e57);
        letter-spacing: 0;
        font-size: 10px;
        line-height: 15px;
        font-weight: 600;
        padding: 6px 8px;
        display: block;
        text-decoration: none;
    }
	.login-modal-content {
    border: none;
    border-radius: 20px;
    padding: 40px 32px 32px;
    text-align: center;
    position: relative;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Close Button */
.login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-close:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Icon Circle */
.login-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-icon i {
    font-size: 28px;
    color: #0ea5e9;
}

/* Title */
.login-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
}

/* Description */
.login-modal-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

/* Action Buttons */
.login-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-login-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-login-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
    color: #fff;
    transform: translateY(-1px);
}

.btn-login-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-login-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

/* Footer Note */
.login-modal-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 24px 0 0;
    font-size: 12px;
    color: #94a3b8;
}

.login-modal-note i {
    color: #10b981;
}

/* Animation */
#login-modal .modal-dialog {
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

#login-modal.show .modal-dialog {
    transform: scale(1);
}
.empty-cart-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 60%, #e8f4fd 100%);
    border: 1px solid rgba(0, 130, 207, 0.12);
    box-shadow: 0 8px 32px rgba(0, 130, 207, 0.07);
    margin: 16px 0;
}

/* Dekoratif arka plan daireleri */
.empty-cart-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.circle-1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0,130,207,0.06) 0%, transparent 70%);
    top: -80px;
    right: -80px;
}
.circle-2 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(88,181,235,0.07) 0%, transparent 70%);
    bottom: -60px;
    left: -60px;
}

/* İkon halkalar */
.empty-cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin-bottom: 28px;
    z-index: 1;
}

.empty-cart-icon-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 130, 207, 0.18);
    animation: ringPulse 3s ease-in-out infinite;
}
.ring-outer {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}
.ring-inner {
    width: 90px;
    height: 90px;
    border-color: rgba(0, 130, 207, 0.25);
    animation-delay: 0.4s;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.06); opacity: 0.6; }
}

.empty-cart-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #e8f4fd);
    box-shadow:
        0 4px 20px rgba(0, 130, 207, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}

/* Başlık */
.empty-cart-title {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #12567f;
    margin: 0 0 12px 0;
    z-index: 1;
    position: relative;
}

/* Açıklama */
.empty-cart-desc {
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: #5a8aaa;
    font-weight: 400;
    line-height: 1.65;
    max-width: 380px;
    margin: 0 0 32px 0;
    z-index: 1;
    position: relative;
}

/* CTA Butonu */
.empty-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 32px;
    border-radius: 12px;
    background: linear-gradient(90deg, #0082cf, #58b5eb);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 130, 207, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    z-index: 1;
    position: relative;
}

.empty-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 130, 207, 0.38);
    color: #ffffff;
    text-decoration: none;
}

.empty-cart-btn:active {
    transform: translateY(0px);
}

@media (max-width: 540px) {
    .empty-cart-wrapper {
        padding: 56px 20px;
    }
    .empty-cart-title {
        font-size: 20px;
    }
    .empty-cart-desc {
        font-size: 14px;
    }
}