/**
 * Fenster Systems B2B Bulk Order - CSS Styles
 * Modern, responsive tasarım
 */



/* Genel Stil Ayarları - CRM/ERP Style */
#fsb2b-bulk-order-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    margin: 0 auto; /* Ortala */
    padding: 0; /* Yan boşluklar kaldırıldı */
    box-sizing: border-box;
}

/* Tema CSS override - gereksiz margin kaldır */
.content,
.cz_post_content,
.content.clr,
.cz_post_content.clr {
    margin-bottom: 0 !important;
}

/* Header */
.fsb2b-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
}

.fsb2b-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.2em;
    font-weight: 600;
}

.fsb2b-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1em;
}

/* Ana İçerik */
.fsb2b-main-content {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Sol kolon daha dar, sağ kolon daha geniş */
    gap: 24px;
    margin-top: 0;
    padding: 0; /* Tüm padding kaldırıldı */
}

/* Sol ve Sağ Kolonlar - CRM/ERP Style */
.fsb2b-left-column,
.fsb2b-right-column {
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Order Sheet */
.fsb2b-order-sheet {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Bölüm Başlıkları - CRM/ERP Style */
.fsb2b-categories-section h2,
.fsb2b-products-section h2,
.fsb2b-order-sheet h2 {
    margin: 0;
    padding: 20px 24px;
    background: #f2f6f9;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.025em;
}

/* Kategori Grid */
.fsb2b-categories-list {
    padding: 24px;
}

.fsb2b-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3'lü grid */
    gap: 12px;
}

.fsb2b-category-item {
    cursor: pointer;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
    background: white;
}

.fsb2b-category-item:hover {
    border-color: #3b82f6;
}

.fsb2b-category-item.active {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.fsb2b-category-image {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fsb2b-category-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.fsb2b-category-title {
    margin: 0 0 0px 0;
    font-size: 0.880rem; /* Masaüstü */
    font-weight: 500;
    color: #374151;
}

.fsb2b-category-item.active .fsb2b-category-title {
    color: white;
}

.fsb2b-category-count {
    display: none; /* Ürün sayısını gizle */
}

/* Ürünler Bölümü */
.fsb2b-products-section {
    margin-top: 0;
}

.fsb2b-products-list {
    padding: 25px;
    max-height: 600px;
    overflow-y: auto;
}

.fsb2b-placeholder,
.fsb2b-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
}

.fsb2b-product-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.fsb2b-product-item:hover {
    border-color: #667eea;
}

.fsb2b-product-image {
    margin-right: 15px;
}

.fsb2b-product-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.fsb2b-product-info {
    flex: 1;
}

.fsb2b-product-title {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
}

.fsb2b-product-price {
    color: #28a745;
    font-weight: 600;
}

.fsb2b-product-actions {
    margin-left: 15px;
}

.fsb2b-add-product-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.fsb2b-add-product-btn:hover {
    background: #059669;
}

/* Sipariş Çizelgesi */
.fsb2b-order-items {
    padding: 25px;
    max-height: 1000px;
    overflow-y: auto;
    flex: 1;
}

.fsb2b-order-item {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.fsb2b-order-item:hover {
}

.fsb2b-order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.fsb2b-order-item-info {
    flex: 1;
}

.fsb2b-order-item-title {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
}

.fsb2b-order-item-price {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9em;
}

.fsb2b-remove-item-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.fsb2b-remove-item-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Dashicons yoksa text ikonu göster */
.fsb2b-remove-text {
    display: none;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

/* Dashicons yüklenmemişse text ikonu göster */
.fsb2b-remove-item-btn .dashicons {
    display: block;
}

.fsb2b-remove-item-btn:not(.dashicons-loaded) .dashicons {
    display: none;
}

.fsb2b-remove-item-btn:not(.dashicons-loaded) .fsb2b-remove-text {
    display: block;
}

/* Dashicons yoksa text ikonu göster */
.fsb2b-remove-item-btn.no-dashicons .dashicons {
    display: none;
}

.fsb2b-remove-item-btn.no-dashicons .fsb2b-remove-text {
    display: block;
}

.fsb2b-order-item-content {
    padding: 20px;
}

/* Varyasyon Container - Dimensions-section ile aynı değerler */
.fsb2b-variations-container {
    background: #f8f9fa; /* Dimensions-section ile aynı */
    padding: 20px 20px 10px 20px; /* Üst:20px, Sağ:20px, Alt:10px, Sol:20px */
    border-radius: 8px; /* Dimensions-section ile aynı */
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 sütun grid */
    gap: 15px; /* Dimensions-section ile aynı */
    margin-bottom: 10px; /* Dimensions-section ile arasına boşluk */
}

/* Tek varyasyon varsa tek sütun */
.fsb2b-variations-container.single-variation {
    grid-template-columns: 1fr;
}

/* Çoklu varyasyon varsa 2 sütun */
.fsb2b-variations-container.multiple-variations {
    grid-template-columns: 1fr 1fr;
}

/* Varyasyon Bölümü - Dimensions input-group ile aynı */
.fsb2b-variation-section {
    /* Dimensions input-group ile aynı stiller - padding yok, sadece grid item */
}

.fsb2b-variation-select {
    width: 100%;
    height: 44px; /* Dimensions input ile aynı */
    padding: 8px 12px; /* Dimensions input ile aynı */
    border: 1px solid #e2e8f0; /* Dimensions input ile aynı */
    border-radius: 6px; /* Dimensions input ile aynı */
    font-size: 0.875rem; /* Dimensions input ile aynı */
    transition: all 0.2s ease; /* Dimensions input ile aynı */
    background: white; /* Dimensions input ile aynı */
    box-sizing: border-box; /* Dimensions input ile aynı */
}

.fsb2b-variation-select:focus {
    outline: none;
    border-color: #3b82f6; /* Dimensions input ile aynı */
}

.fsb2b-variation-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}


/* Boyut Girişi */
.fsb2b-dimensions-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.fsb2b-dimension-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.fsb2b-calculated-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}


.fsb2b-input-group input {
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
    box-sizing: border-box;
}

.fsb2b-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.fsb2b-input-group input::placeholder {
    color: #9ca3af;
    font-size: 0.875rem;
}

.fsb2b-notes-section {
    grid-column: 1;
}

.fsb2b-notes-input {
    width: 100%;
    height: 44px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
    resize: vertical;
    min-height: 44px;
    font-family: inherit;
}

.fsb2b-notes-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.fsb2b-notes-input::placeholder {
    color: #9ca3af;
    font-size: 0.875rem;
}

.fsb2b-calculated-total {
    grid-column: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 6px;
    border: 2px solid #10b981;
    height: 44px;
    box-sizing: border-box;
}

.fsb2b-calculated-total .fsb2b-total-label {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.875rem; /* Genel font-size ile uyumlu */
}

.fsb2b-calculated-total .fsb2b-total-price {
    font-size: 1rem; /* 1.3em yerine 1rem - genel düzene uyumlu */
    font-weight: 700;
    color: #10b981;
}

/* Hata vurgulama stilleri */
.fsb2b-field-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.fsb2b-field-error:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.fsb2b-input-error {
    border: 2px solid #dc3545 !important;
    background-color: #f8d7da !important;
    color: #721c24 !important;
}

.fsb2b-input-error::placeholder {
    color: #721c24 !important;
}

/* Varyasyon Section */
.fsb2b-variation-section {
    margin-bottom: 10px;
}


/* Footer */
.fsb2b-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
    flex-shrink: 0;
}

.fsb2b-buttons-section {
    display: flex;
    gap: 12px;
    align-items: center;
}

.fsb2b-pdf-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fsb2b-pdf-btn:hover {
    background: #4b5563;
}

.fsb2b-pdf-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.fsb2b-add-to-cart-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fsb2b-add-to-cart-btn:hover:not(:disabled) {
    background: #2563eb;
}

.fsb2b-add-to-cart-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.fsb2b-save-btn {
    background: #f59e0b;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fsb2b-save-btn:hover:not(:disabled) {
    background: #d97706;
    transform: translateY(-1px);
}

.fsb2b-save-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.fsb2b-btn-loader {
    display: none;
}

.fsb2b-total-section {
    text-align: right;
}

.fsb2b-total-label {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0;
}

.fsb2b-total-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: #10b981;
}

/* PDF Yazdırma Stilleri */
@media print {
    body * {
        visibility: hidden;
    }
    
    .fsb2b-print-content, .fsb2b-print-content * {
        visibility: visible;
    }
    
    .fsb2b-print-content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    
    .fsb2b-print-header {
        text-align: center;
        margin-bottom: 30px;
        border-bottom: 2px solid #e2e8f0;
        padding-bottom: 20px;
    }
    
    .fsb2b-print-header h1 {
        font-size: 24px;
        margin: 0 0 10px 0;
        color: #1e293b;
    }
    
    .fsb2b-print-header p {
        margin: 0;
        color: #6b7280;
    }
    
    .fsb2b-print-items {
        margin-bottom: 30px;
    }
    
    .fsb2b-print-item {
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 16px;
        margin-bottom: 12px;
        background: white;
    }
    
    .fsb2b-print-item-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 8px;
    }
    
    .fsb2b-print-item-title {
        font-size: 16px;
        font-weight: 600;
        color: #1e293b;
        margin: 0;
    }
    
    .fsb2b-print-item-price {
        font-size: 14px;
        color: #6b7280;
    }
    
    .fsb2b-print-dimensions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-bottom: 12px;
    }
    
    .fsb2b-print-dimension {
        text-align: center;
    }
    
    .fsb2b-print-dimension-label {
        font-size: 12px;
        color: #6b7280;
        margin-bottom: 4px;
    }
    
    .fsb2b-print-dimension-value {
        font-size: 16px;
        font-weight: 600;
        color: #1e293b;
    }
    
    .fsb2b-print-total {
        text-align: center;
        font-size: 18px;
        font-weight: 700;
        color: #10b981;
        border-top: 1px solid #e2e8f0;
        padding-top: 8px;
    }
    
    .fsb2b-print-summary {
        border-top: 2px solid #e2e8f0;
        padding-top: 20px;
        text-align: center;
    }
    
    .fsb2b-print-summary h2 {
        font-size: 20px;
        margin: 0 0 10px 0;
        color: #1e293b;
    }
    
    .fsb2b-print-summary-total {
        font-size: 24px;
        font-weight: 700;
        color: #10b981;
    }
    
    .fsb2b-print-footer {
        margin-top: 30px;
        text-align: center;
        font-size: 12px;
        color: #6b7280;
        border-top: 1px solid #e2e8f0;
        padding-top: 20px;
    }
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .fsb2b-main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0; /* Tüm padding kaldırıldı */
    }
    
    .fsb2b-category-grid {
        grid-template-columns: repeat(3, 1fr); /* Mobilde de 3'lü grid */
    }
}

@media (max-width: 768px) {
    .fsb2b-main-content {
        padding: 0; /* Tüm padding kaldırıldı */
    }
    
    .fsb2b-header {
        padding: 15px;
    }
    
    .fsb2b-header h1 {
        font-size: 1.8em;
    }
    
    .fsb2b-categories-list,
    .fsb2b-products-list,
    .fsb2b-order-items {
        padding: 15px;
    }
    
    .fsb2b-category-grid {
        grid-template-columns: repeat(3, 1fr); /* Mobilde de 3'lü grid */
        gap: 10px;
    }
    
    .fsb2b-category-title {
        font-size: 0.680rem; /* Mobil */
    }
    
    .fsb2b-product-item {
        flex-direction: row; /* Mobilde de yatay layout */
        text-align: left; /* Sol hizalama */
        align-items: center; /* Dikey ortalama */
    }
    
    .fsb2b-product-image {
        margin-right: 15px; /* Sağ margin geri */
        margin-bottom: 0; /* Alt margin kaldır */
        flex-shrink: 0; /* Resim boyutu sabit */
    }
    
    .fsb2b-dimension-inputs {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .fsb2b-calculated-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Mobilde varyasyon grid'i tek sütun yap */
    .fsb2b-variations-container.multiple-variations {
        grid-template-columns: 1fr;
    }
    
    .fsb2b-input-group input {
        height: 44px;
    }
    
    .fsb2b-notes-input {
        height: 44px;
        min-height: 44px;
    }
    
    .fsb2b-calculated-total {
        height: 44px;
    }
    
    .fsb2b-order-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .fsb2b-buttons-section {
        justify-content: center;
    }
    
    .fsb2b-total-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .fsb2b-main-content {
        padding: 0; /* Tüm padding kaldırıldı */
    }
    
    .fsb2b-header h1 {
        font-size: 1.5em;
    }
    
    .fsb2b-category-grid {
        grid-template-columns: repeat(3, 1fr); /* Küçük ekranlarda da 3'lü grid */
    }
    
    .fsb2b-add-to-cart-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fsb2b-product-item,
.fsb2b-order-item {
    animation: fadeIn 0.3s ease;
}

/* Loading States */
.fsb2b-loading {
    position: relative;
    pointer-events: none;
}

.fsb2b-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hata Durumları */
.fsb2b-error {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
}

/* Modern Success Mesajı */
.fsb2b-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    min-width: 320px;
    max-width: 500px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fsb2b-success-slide-in 0.3s ease-out;
}

.fsb2b-success::before {
    content: "✓";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    line-height: 24px;
    margin-right: 12px;
    font-weight: bold;
}

@keyframes fsb2b-success-slide-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Utility Classes */
.fsb2b-hidden {
    display: none !important;
}

.fsb2b-text-center {
    text-align: center;
}

.fsb2b-mb-0 { margin-bottom: 0; }

/* Modal Styles */
.fsb2b-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.fsb2b-modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fsb2b-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.fsb2b-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.fsb2b-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.fsb2b-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.fsb2b-modal-body {
    padding: 24px;
}

.fsb2b-form-group {
    margin-bottom: 20px;
}

.fsb2b-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.fsb2b-required {
    color: #ef4444;
}

.fsb2b-form-group input,
.fsb2b-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.fsb2b-form-group input:focus,
.fsb2b-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.fsb2b-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.fsb2b-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.fsb2b-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fsb2b-btn-secondary:hover {
    background: #e5e7eb;
}

.fsb2b-btn-primary {
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fsb2b-btn-primary:hover {
    background: #2563eb;
}

/* My Account Draft Orders Styles */
.fsb2b-draft-orders-page {
    padding: 20px 0;
}

/* Sil Butonu Stilleri */
.fsb2b-delete-draft-btn {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 32px !important;
}

.fsb2b-delete-draft-btn:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    color: white !important;
}

.fsb2b-delete-draft-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fsb2b-draft-orders-page h2 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.fsb2b-empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.fsb2b-empty-state p {
    margin-bottom: 20px;
    color: #6b7280;
    font-size: 1.1rem;
}

.fsb2b-draft-orders-table {
    overflow-x: auto;
}

.fsb2b-draft-orders-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.fsb2b-draft-orders-table th {
    background: #f8fafc;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e2e8f0;
}

.fsb2b-draft-orders-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.fsb2b-draft-orders-table tr:hover {
    background: #f8fafc;
}

.woocommerce-badge--draft {
    background: #f59e0b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.woocommerce-button.button.view {
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.woocommerce-button.button.view:hover {
    background: #2563eb;
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .fsb2b-draft-orders-table table {
        font-size: 0.875rem;
    }
    
    .fsb2b-draft-orders-table th,
    .fsb2b-draft-orders-table td {
        padding: 8px;
    }
}
.fsb2b-mb-1 { margin-bottom: 10px; }
.fsb2b-mb-2 { margin-bottom: 20px; }
.fsb2b-mb-3 { margin-bottom: 30px; }

.fsb2b-p-0 { padding: 0; }
.fsb2b-p-1 { padding: 10px; }
.fsb2b-p-2 { padding: 20px; }
.fsb2b-p-3 { padding: 30px; }
