/* AkcanPOS v3 Web Panel - Fason Modal Stilleri */
/* Mobil uygulama benzeri tasarım */

/* Modal Overlay - Mobil uygulama benzeri */
.fason-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease-out;
    opacity: 1;
    transition: opacity 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(4px);
    }
}

/* Modal Container - Mobil benzeri rounded design */
.fason-modal-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

.fason-modal-container.large-modal {
    max-width: 800px;
    width: 95%;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header - iOS benzeri başlık */
.fason-modal-header {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 20px 24px;
    border-bottom: none;
    position: relative;
}

.fason-modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fason-modal-title i {
    font-size: 22px;
}

.fason-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fason-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Modal Body */
.fason-modal-body {
    padding: 24px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

/* Form Styles - Mobil benzeri input tasarımı */
.fason-form-group {
    margin-bottom: 20px;
}

.fason-form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.fason-form-group .required {
    color: #e74c3c;
}

.fason-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.fason-form-input:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    background: #fafbfc;
}

.fason-form-input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.fason-form-textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.fason-form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fason-form-select:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Form Row - Yan yana form elemanları */
.fason-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .fason-form-row {
        grid-template-columns: 1fr;
    }
}

/* Error Message */
.fason-error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.fason-error-message.show {
    display: block;
}

/* Success Message */
.fason-success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

/* Modal Footer */
.fason-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #f8f9fa;
}

/* Buttons - iOS benzeri tasarım */
.fason-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fason-btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.fason-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.fason-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.fason-btn-secondary {
    background: #6c757d;
    color: white;
}

.fason-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.fason-btn-success {
    background: #28a745;
    color: white;
}

.fason-btn-success:hover {
    background: #218838;
    transform: translateY(-1px);
}

.fason-btn-danger {
    background: #dc3545;
    color: white;
}

.fason-btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.fason-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading State */
.fason-btn.loading {
    pointer-events: none;
    position: relative;
}

.fason-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Firma Bilgileri Modal */
.company-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .company-info-grid {
        grid-template-columns: 1fr;
    }
}

.company-info-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4A90E2;
}

.company-info-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.company-info-value {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

/* Sipariş Listesi */
.order-list {
    margin-top: 20px;
}

.order-item {
    padding: 16px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.order-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #4A90E2;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.order-id {
    font-weight: 600;
    color: #4A90E2;
}

.order-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.active {
    background: #d1ecf1;
    color: #0c5460;
}

.order-status.completed {
    background: #d4edda;
    color: #155724;
}

.order-details {
    font-size: 14px;
    color: #6c757d;
}

/* Ürün Seçimi Modal */
.product-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.product-item {
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.product-item:hover {
    border-color: #4A90E2;
    background: #f0f7ff;
}

.product-item.selected {
    border-color: #4A90E2;
    background: #e6f3ff;
}

.product-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #4A90E2;
}

/* Günlük Özet Modal */
.daily-summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.summary-stat-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4A90E2;
}

.summary-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.summary-stat-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Firma Seçimi Modal */
.company-selection-list {
    max-height: 400px;
    overflow-y: auto;
}

.company-selection-item {
    padding: 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-selection-item:hover {
    border-color: #4A90E2;
    background: #f0f7ff;
}

.company-selection-item.selected {
    border-color: #4A90E2;
    background: #e6f3ff;
}

.company-selection-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.company-selection-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #2c3e50;
}

.company-selection-info p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .fason-modal-container {
        width: 95%;
        margin: 20px;
        max-height: calc(100vh - 40px);
    }

    .fason-modal-header {
        padding: 16px 20px;
    }

    .fason-modal-body {
        padding: 20px;
    }

    .fason-modal-footer {
        padding: 16px 20px;
        flex-direction: column;
    }

    .fason-btn {
        width: 100%;
        justify-content: center;
    }

    .product-selection-grid {
        grid-template-columns: 1fr;
    }

    .daily-summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fason-modal-container {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .daily-summary-stats {
        grid-template-columns: 1fr;
    }

    .company-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .fason-modal-container {
        background: #2c3e50;
        color: #ecf0f1;
    }

    .fason-modal-body {
        background: #2c3e50;
    }

    .fason-form-input,
    .fason-form-select {
        background: #34495e;
        border-color: #4a6fa5;
        color: #ecf0f1;
    }

    .fason-form-input:focus,
    .fason-form-select:focus {
        background: #3d566e;
    }

    .company-info-item,
    .summary-stat-card {
        background: #34495e;
    }

    .order-item {
        background: #34495e;
        border-color: #4a6fa5;
    }
}

/* =================================== */
/* MOBİL UYGULAMA BENZERİ MODAL STİLLER */
/* =================================== */

/* Fason Kaydı Card Modal (mobil uygulama benzeri) */
.fason-card-modal {
    background: white;
    max-width: 420px;
    width: 90%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: 50px auto;
}

.fason-card-header {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.fason-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.fason-card-body {
    padding: 24px;
}

.fason-code-group {
    position: relative;
}

.fason-code-group .simple-input {
    padding: 16px !important;
    /* Fason kodu için icon yok, normal padding */
    text-align: center;
    /* Ortalanmış metin */
    font-weight: 600;
    color: #4A90E2;
}

.fason-code-note {
    margin-top: 8px;
    padding: 8px 12px;
    background: #e7f3ff;
    border-radius: 8px;
    border-left: 3px solid #4A90E2;
}

.fason-code-note small {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

.fason-card-actions {
    padding: 20px 24px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
}

.fason-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fason-btn-cancel {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.fason-btn-cancel:hover {
    background: #e9ecef;
    color: #495057;
}

.fason-btn-save {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.fason-btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* ============================================
   YENİ FASON GÜN ÖZETİ MODAL - TAM KONTROL
   ============================================ */

/* Modal Wrapper */
.fason-daily-summary-wrapper {
    background: white;
    max-width: 960px;
    width: 95%;
    border-radius: 20px;
    height: 90vh;
    max-height: 1120px;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Header - Mor Alan */
.fason-summary-header {
    background: #673AB7;
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.fason-summary-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.fason-back-btn,
.fason-calendar-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.fason-back-btn:hover,
.fason-calendar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Date Section - Beyaz Alan */
.fason-date-section {
    background: white;
    padding: 16px;
    flex-shrink: 0;
}

.fason-date-picker-card {
    background: white;
    border: 2px solid #673AB7;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fason-date-picker-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 58, 183, 0.2);
    border-color: #5E35B1;
}

.fason-date-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #673AB7, #5E35B1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.fason-date-text {
    flex: 1;
}

.fason-date-number {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.fason-date-day {
    font-size: 14px;
    color: #666;
    text-transform: capitalize;
}

/* Tabs Section - Mor Alan */
.fason-summary-tabs {
    background: #673AB7;
    display: flex;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.fason-tab-item {
    flex: 1;
    text-align: center;
    padding: 14px 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s ease;
}

.fason-tab-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.fason-tab-item.fason-tab-active {
    color: white;
    border-bottom-color: white;
}

/* Content Section */
.fason-summary-content {
    flex: 1;
    overflow-y: auto;
    background: #f8f9fa;
    padding: 20px;
}

.fason-summary-data {
    min-height: 100%;
}

.fason-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.fason-empty-icon {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 16px;
}

.fason-empty-text {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================
   ESKİ DAILY SUMMARY STYLES (YEDEK)
   ============================================ */

/* Gün Özeti Modal (mobil uygulama benzeri) - %60 büyütülmüş */
.daily-summary-modal {
    background: white;
    max-width: 960px;
    /* 600px * 1.6 = 960px */
    width: 95%;
    border-radius: 20px;
    height: 90vh;
    /* 85vh'den 90vh'ye çıkarıldı */
    max-height: 1120px;
    /* 700px * 1.6 = 1120px */
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.daily-summary-header {
    background: #673AB7;
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.daily-summary-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.back-btn,
.calendar-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn:hover,
.calendar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.summary-tabs {
    background: #673AB7;
    display: flex;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tab-item.active {
    color: white;
    border-bottom-color: white;
}

.tab-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.date-display {
    padding: 12px 16px;
    background: white;
    margin: 0;
}

.date-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    border: 2px solid #673AB7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.2s ease;
}

.date-card:hover {
    box-shadow: 0 4px 12px rgba(103, 58, 183, 0.2);
    transform: translateY(-2px);
    border-color: #5E35B1;
}

.date-card input[type="date"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.calendar-icon {
    background: #673AB7;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.date-info {
    flex: 1;
}

.date-number {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.date-day {
    font-size: 14px;
    color: #666;
}

.summary-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 16px;
}

.empty-text {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.mobile-style {
    max-width: 588px;
    /* 420px * 1.4 = 588px */
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Mobil Header - İOS benzeri */
.mobile-modal-header {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.modal-back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.mobile-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    flex: 1;
}

.header-spacer {
    width: 36px;
}

/* Mobil Modal Body */
.mobile-modal-body {
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.mobile-form-container {
    padding: 20px;
}

.mobile-company-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mobil Form Groups */
.mobile-form-group {
    position: relative;
}

.mobile-input-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.2s ease;
}

.mobile-input-container:focus-within {
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.mobile-text-input,
.mobile-textarea {
    width: 100%;
    border: none;
    background: transparent;
    padding: 16px 16px 8px 16px;
    font-size: 16px;
    color: #333;
    outline: none;
    resize: none;
    transition: all 0.2s ease;
}

.mobile-text-input:focus,
.mobile-textarea:focus {
    background: white;
}

.mobile-floating-label {
    position: absolute;
    left: 16px;
    top: 16px;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.2s ease;
}

.mobile-text-input:focus+.mobile-floating-label,
.mobile-text-input:not(:placeholder-shown)+.mobile-floating-label,
.mobile-textarea:focus+.mobile-floating-label,
.mobile-textarea:not(:placeholder-shown)+.mobile-floating-label {
    top: 6px;
    font-size: 11px;
    color: #4A90E2;
    font-weight: 600;
}

/* Mobil Action Buttons */
.mobile-modal-actions {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    display: flex;
    gap: 12px;
}

.mobile-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.mobile-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.mobile-btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.mobile-btn-secondary:hover {
    background: #e9ecef;
    color: #495057;
}

/* =================================== */
/* BASİT İNPUT STİLLERİ - MOBİL APP BENZERİ */
/* =================================== */

.simple-form-group {
    margin-bottom: 16px;
}

.simple-input,
.simple-textarea {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: rgba(240, 240, 240, 0.8);
    font-size: 16px;
    color: #333;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.simple-input:focus,
.simple-textarea:focus {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.3);
    transform: translateY(-1px);
}

.simple-input::placeholder,
.simple-textarea::placeholder {
    color: #888;
    font-size: 15px;
}

.simple-textarea {
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

/* Mobil responsive adjustments */
@media (max-width: 480px) {

    .simple-input,
    .simple-textarea {
        padding: 12px 14px;
        font-size: 16px;
        /* iOS zoom prevention */
    }
}

/* =================================== */
/* GÜN ÖZETİ MODAL STİLLERİ */
/* =================================== */

.summary-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.summary-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.summary-card:nth-child(1) .summary-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.summary-card:nth-child(2) .summary-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.summary-card:nth-child(3) .summary-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.summary-info {
    flex: 1;
}

.summary-info h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.summary-number {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    display: block;
}

/* =================================== */
/* BASİT INPUT GROUPları - FASON EKLE */
/* =================================== */

.fason-card-modal {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-width: 420px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}

.fason-card-header {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.fason-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.fason-card-body {
    padding: 24px;
}

.simple-input-group {
    position: relative;
    margin-bottom: 20px;
}

.simple-input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    /* Sol tarafta icon için boşluk */
    border: 3px solid #cbd5e0;
    /* Daha belirgin border */
    border-radius: 12px;
    font-size: 16px;
    background: #ffffff;
    /* Beyaz arka plan */
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.simple-input:hover {
    border-color: #94a3b8;
    /* Hover'da daha koyu */
}

.simple-input:focus {
    outline: none;
    border-color: #4A90E2;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

.input-icon {
    position: absolute;
    left: 16px;
    /* Sol tarafa taşındı */
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
    /* İcon üstte görünsün */
}

.fason-code-group {
    position: relative;
}

.fason-code-note {
    margin-top: 8px;
    padding: 8px 12px;
    background: #e7f3ff;
    border-radius: 8px;
    border-left: 4px solid #4A90E2;
}

.fason-code-note small {
    color: #2c5aa0;
    font-size: 12px;
    line-height: 1.4;
}

.fason-card-actions {
    padding: 20px 24px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
    background: #f8f9fa;
}

.fason-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fason-btn-cancel {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.fason-btn-cancel:hover {
    background: #e9ecef;
    color: #495057;
}

.fason-btn-save {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.fason-btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* ============================================
   F�RMA DETAY EKRANI MODAL ST�LLER�  
   Referans: fason_bilgi_ekrani.dart modals
   ============================================ */

/* Large Modal Container */
.fason-card-modal.large-modal {
    max-width: 1350px;
    width: 95%;
}

.modal-subtitle {
    margin: 5px 0 0;
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 400;
}

/* Form Sections */
.form-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.form-section h4 {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h4::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 2px;
}

.simple-input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #34495e;
}

/* Orders List Container */
.orders-list-container,
.products-list-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.order-item,
.product-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.order-item:hover,
.product-item:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-code {
    font-weight: 700;
    color: #2C3E50;
    font-size: 16px;
}

.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.status-in_progress {
    background: #d1ecf1;
    color: #0c5460;
}

.order-status.status-completed {
    background: #d4edda;
    color: #155724;
}

.order-details {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #7f8c8d;
}

.order-details p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-details i {
    color: #3498db;
}

/* Product Item */
.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
}

.product-code {
    font-size: 12px;
    color: #7f8c8d;
    font-family: 'Courier New', monospace;
}

.product-category {
    font-size: 13px;
    color: #95a5a6;
    margin-top: 5px;
}

.product-price {
    text-align: right;
}

.product-price .price {
    font-size: 20px;
    font-weight: 700;
    color: #27ae60;
}

/* Summary Stats Grid */
.summary-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid #ecf0f1;
    transition: all 0.2s ease;
}

.stat-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.15);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 32px;
    color: #3498db;
    margin-bottom: 10px;
}

.stat-card h4 {
    margin: 10px 0 5px;
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
}

.stat-card p {
    margin: 0;
    font-size: 13px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Summary Details */
.summary-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.summary-details h4 {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
}

/* Products Actions */
.products-actions {
    margin-bottom: 20px;
    text-align: right;
}

.fason-btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fason-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.loading-spinner i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #3498db;
}

.loading-spinner p {
    margin: 0;
    font-size: 14px;
}

/* No Data State */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
}

.no-data i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-data p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #e74c3c;
}

.error-message i {
    font-size: 48px;
    margin-bottom: 15px;
}

.error-message p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Design for Modals */
@media (max-width: 768px) {
    .fason-card-modal.large-modal {
        max-width: 95%;
        max-height: 90vh;
    }

    .summary-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-section {
        padding: 15px;
    }

    .order-details {
        flex-direction: column;
        gap: 8px;
    }
}

/* Extra Large Modal for Company Details */
.fason-card-modal.extra-large-modal {
    max-width: 1000px;
    width: 95%;
}

/* Firma Bilgi Header Inline */
.firma-bilgi-header-inline {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.firma-bilgi-header-inline i {
    font-size: 32px;
    color: white !important;
}

.firma-bilgi-header-inline h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: white !important;
}

.firma-bilgi-header-inline .modal-subtitle {
    color: white !important;
    opacity: 0.9;
}

.fason-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #673AB7 0%, #512DA8 100%);
}

.fason-card-header h3 {
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fason-card-header .modal-subtitle {
    color: white !important;
    opacity: 0.9;
    margin: 5px 0 0 0;
    font-size: 14px;
}

.modal-close-btn {
    background: rgba(231, 76, 60, 0.9) !important;
    border: none;
    color: white !important;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.modal-close-btn:hover {
    background: rgba(231, 76, 60, 1) !important;
    color: white !important;
    transform: rotate(90deg) scale(1.1);
}

.modal-edit-btn {
    background: none;
    border: none;
    color: #4A90E2;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-edit-btn:hover {
    background: rgba(74, 144, 226, 0.1);
    color: #357ABD;
    transform: scale(1.1);
}

.fason-info-note {
    background: #e3f2fd;
    border-left: 4px solid #4A90E2;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fason-info-note i {
    color: #4A90E2;
    font-size: 18px;
}

.fason-info-note small {
    color: #1976d2;
    font-size: 13px;
    line-height: 1.4;
}

/* Firma Bilgi Kart� Compact Version */
.firma-bilgi-karti-compact {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.firma-bilgi-karti-compact .firma-bilgi-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.firma-bilgi-karti-compact .bilgi-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

/* E-posta satırını gizle */
.bilgi-row.email-row {
    display: none !important;
}

/* Secondary and Danger Buttons */
.fason-btn-secondary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.fason-btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.fason-btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.fason-btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Action Cards in Modal */
.company-detail-screen .fason-action-grid {
    margin-top: 0;
}

/* Responsive adjustments for modal */
@media (max-width: 992px) {
    .fason-card-modal.extra-large-modal {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .fason-card-modal.extra-large-modal {
        max-width: 95%;
        max-height: 95vh;
    }

    .firma-bilgi-karti-compact .firma-bilgi-content {
        grid-template-columns: 1fr;
    }

    .firma-bilgi-header-inline h2 {
        font-size: 20px;
    }

    .firma-bilgi-header-inline i {
        font-size: 28px;
    }
}

/* ============================================
   MODAL SCROLL �ZELL�KLER�
   ============================================ */

/* T�m modal body'lere scroll ekle */
.fason-card-body {
    max-height: calc(90vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
}

/* Scrollbar styling - Modern g�r�n�m */
.fason-card-body::-webkit-scrollbar {
    width: 8px;
}

.fason-card-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.fason-card-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 10px;
}

.fason-card-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
}

/* Orders ve Products list container scroll */
.orders-list-container::-webkit-scrollbar,
.products-list-container::-webkit-scrollbar {
    width: 6px;
}

.orders-list-container::-webkit-scrollbar-track,
.products-list-container::-webkit-scrollbar-track {
    background: #ecf0f1;
    border-radius: 10px;
}

.orders-list-container::-webkit-scrollbar-thumb,
.products-list-container::-webkit-scrollbar-thumb {
    background: #95a5a6;
    border-radius: 10px;
}

.orders-list-container::-webkit-scrollbar-thumb:hover,
.products-list-container::-webkit-scrollbar-thumb:hover {
    background: #7f8c8d;
}

/* Smooth scroll behavior */
.fason-card-body,
.orders-list-container,
.products-list-container {
    scroll-behavior: smooth;
}

/* Modal overlay scroll'u engelle */
.fason-modal-overlay {
    overflow: hidden;
}

/* Large modal i�in �zel scroll ayar� */
.fason-card-modal.large-modal .fason-card-body {
    max-height: calc(90vh - 220px);
}

.fason-card-modal.extra-large-modal .fason-card-body {
    max-height: calc(90vh - 240px);
}

/* Responsive scroll heights */
@media (max-width: 768px) {
    .fason-card-body {
        max-height: calc(95vh - 180px);
    }

    .fason-card-modal.large-modal .fason-card-body {
        max-height: calc(95vh - 200px);
    }

    .fason-card-modal.extra-large-modal .fason-card-body {
        max-height: calc(95vh - 220px);
    }
}

/* ============================================
   EXTRA LARGE MODAL BOYUTLARI
   ============================================ */

/* Firma Detay Modal - %40 b�y�k */
.fason-card-modal.medium-modal {
    max-width: 700px;
    width: 90%;
}

/* Alt Modallar - %70 b�y�k (Ekle, ��eridekiler, �r�nler, G�n �zeti) */
.fason-card-modal.extra-large-modal {
    max-width: 1200px;
    width: 92%;
}

.fason-card-modal.extra-large-modal .fason-card-body {
    max-height: calc(90vh - 240px);
}

/* Responsive Modal Boyutlar� */
@media (max-width: 1400px) {
    .fason-card-modal.extra-large-modal {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .fason-card-modal.medium-modal {
        max-width: 85%;
    }

    .fason-card-modal.extra-large-modal {
        max-width: 95%;
    }
}

@media (max-width: 768px) {

    .fason-card-modal.medium-modal,
    .fason-card-modal.extra-large-modal {
        max-width: 95%;
        max-height: 95vh;
    }

    .fason-card-modal.extra-large-modal .fason-card-body {
        max-height: calc(95vh - 220px);
    }
}

/* ============================================
   INPUT ICON ALIGNMENT FIX
   ============================================ */

/* Input icon'lar�n� dikey olarak ortala */
.simple-input-group {
    position: relative;
    margin-bottom: 16px;
}

.simple-input-group .input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

/* Label varsa icon pozisyonunu ayarla */
.simple-input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #34495e;
}

.simple-input-group label+.simple-input+.input-icon,
.simple-input-group label+select.simple-input+.input-icon {
    top: calc(50% + 14px);
    /* Label y�ksekli�i kadar a�a�� kayd�r */
}

/* Select ve textarea i�in �zel ayarlar */
.simple-input-group select.simple-input {
    padding-right: 40px;
    /* Icon i�in bo�luk b�rak */
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2395a5a6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 35px) center;
}

.simple-input-group textarea.simple-input {
    resize: vertical;
    min-height: 80px;
}

/* Input focus durumunda icon rengi */
.simple-input-group .simple-input:focus+.input-icon {
    color: #3498db;
}

/* Product Type Styling */
.product-type {
    font-size: 12px;
    color: #3498db;
    margin-top: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-type i {
    font-size: 11px;
}

/* ============================================
   F�RMA DETAY MODAL ST�LLER�
   ============================================ */

/* Firma bilgi header inline */
.firma-bilgi-header-inline {
    display: flex;
    align-items: center;
    gap: 15px;
}

.firma-bilgi-header-inline i {
    font-size: 32px;
    color: #3498db;
}

.firma-bilgi-header-inline h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #2C3E50;
}

.firma-bilgi-header-inline .modal-subtitle {
    margin: 3px 0 0;
    font-size: 13px;
    color: #7f8c8d;
}

/* Modal close button */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(231, 76, 60, 0.9) !important;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: white !important;
}

.modal-close-btn:hover {
    background: rgba(231, 76, 60, 1) !important;
    color: white !important;
    transform: rotate(90deg) scale(1.1);
}

/* Firma bilgi kart� compact */
.firma-bilgi-karti-compact {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.firma-bilgi-karti-compact .firma-bilgi-content {
    display: grid;
    gap: 12px;
}

.firma-bilgi-karti-compact .bilgi-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding: 10px 0;
    align-items: center;
}

.firma-bilgi-karti-compact .bilgi-label {
    font-weight: 600;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.firma-bilgi-karti-compact .bilgi-label i {
    color: #3498db;
    width: 16px;
    font-size: 14px;
}

.firma-bilgi-karti-compact .bilgi-value {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}

/* Fason btn secondary and danger */
.fason-btn-secondary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
}

.fason-btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(149, 165, 166, 0.4);
}

.fason-btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.fason-btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .firma-bilgi-karti-compact .bilgi-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .modal-close-btn {
        width: 28px;
        height: 28px;
        top: 10px;
        right: 10px;
    }
}

/* ============================================
   M VE ADET YAN YANA LAYOUT
   ============================================ */

.input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
}

.input-row .simple-input-group {
    flex: 1;
    margin-bottom: 0;
}

.input-row .simple-input-group.half-width {
    flex: 1;
}

@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
        gap: 0;
    }

    .input-row .simple-input-group {
        margin-bottom: 16px;
    }
}

/* ============================================
   GELI�MI� FORM ELEMENT BORDER STYLING
   ============================================ */

/* Select hover ve cursor */
.simple-input-group select.simple-input {
    cursor: pointer;
}

.simple-input-group select.simple-input:hover {
    border-color: #94a3b8 !important;
}

/* Textarea beyaz arka plan ve hover */
.simple-input-group textarea.simple-input {
    background: #ffffff !important;
}

.simple-input-group textarea.simple-input:hover {
    border-color: #94a3b8 !important;
}

/* Readonly inputlar i�in stil */
.simple-input[readonly] {
    background: #f1f5f9 !important;
    cursor: not-allowed;
    border-color: #cbd5e0;
}

.simple-input[readonly]:hover {
    border-color: #cbd5e0 !important;
}

/* Number input spinner gizle */
.simple-input[type="number"]::-webkit-inner-spin-button,
.simple-input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* ============================================
   SEPETSİSTEMİ STYLING
   ============================================ */

.order-cart-container {
    margin-top: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 3px solid #cbd5e0;
}

.cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #2c5f4a;
    margin-bottom: 16px;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: #2c5f4a;
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.order-cart-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border: 1.5px solid #e9ecef;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.cart-item:hover {
    border-color: #2c5f4a;
    box-shadow: 0 2px 8px rgba(44, 95, 74, 0.1);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.cart-item-details {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.cart-item-notes {
    font-size: 12px;
    color: #94a3b8;
    margin: 4px 0 0 0;
    font-style: italic;
}

.cart-item-notes i {
    margin-right: 4px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #2c5f4a;
}

.cart-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fee;
    border: 1.5px solid #fcc;
    border-radius: 6px;
    color: #e74c3c;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-remove-btn:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
    transform: scale(1.05);
}

.cart-summary {
    padding-top: 16px;
    border-top: 2px solid #cbd5e0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.summary-row span {
    color: #64748b;
}

.summary-row strong {
    font-size: 20px;
    font-weight: 700;
    color: #2c5f4a;
}

/* ============================================
   SİPARİŞ DETAY KARTLARI (İÇERİDEKİLER MODAL)
   ============================================ */

.order-detail-card {
    background: white;
    border-radius: 12px;
    border: 2px solid #cbd5e0;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-detail-card:hover {
    border-color: #2c5f4a;
    box-shadow: 0 4px 12px rgba(44, 95, 74, 0.1);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 12px;
    background: linear-gradient(135deg, #2c5f4a 0%, #1e3f32 100%);
    color: white;
}

.order-code-section {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.order-code {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.order-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 4px;
}

.order-date i {
    opacity: 0.8;
}

.order-status {
    padding: 3px 8px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.order-status.status-pending,
.order-status.status-Pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.order-status.status-in_progress {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.order-status.status-completed {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.order-status.status-delivered {
    background: #d1f2eb;
    color: #0c5460;
    border: 1px solid #a3e4d7;
}

.order-card-body {
    padding: 8px 12px;
}

.order-info-section {
    margin-bottom: 8px;
}

.order-info-section h5 {
    font-size: 15px;
    font-weight: 600;
    color: #2c5f4a;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-products-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 6px;
}

/* Tek satır ürün gösterimi için yeni stil */
.order-product-item-inline {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: white;
    border-radius: 6px;
    margin-bottom: 4px;
    border: 2px solid #cbd5e0;
    transition: all 0.2s ease;
}

.order-product-item-inline:hover {
    border-color: #2c5f4a;
    box-shadow: 0 2px 6px rgba(44, 95, 74, 0.08);
}

.order-product-item-inline:last-child {
    margin-bottom: 0;
}

.order-product-item-inline .product-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    flex: 0 0 auto;
    max-width: 35%;
}

.order-product-item-inline .product-separator {
    color: #cbd5e0;
    font-weight: 300;
    flex: 0 0 auto;
}

.order-product-item-inline .product-quantity {
    font-size: 12px;
    color: #64748b;
    flex: 1;
    text-align: left;
}

.order-product-item-inline .product-price {
    font-size: 14px;
    font-weight: 700;
    color: #2c5f4a;
    flex: 0 0 auto;
    min-width: 70px;
    text-align: right;
}

/* Eski grid layout (opsiyonel yedek) */
.order-product-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.order-product-item:last-child {
    border-bottom: none;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.product-quantity {
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

.product-price {
    font-size: 13px;
    font-weight: 700;
    color: #2c5f4a;
    text-align: right;
}

.no-items {
    padding: 12px;
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}

.order-summary-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 6px;
    border-top: 2px solid #e9ecef;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.summary-item span {
    color: #64748b;
    font-weight: 500;
}

.summary-item strong {
    color: #1e293b;
    font-weight: 600;
}

.summary-item.total-cost {
    padding-top: 6px;
    border-top: 1px solid #e9ecef;
}

.summary-item.total-cost span {
    font-size: 14px;
    font-weight: 600;
}

.summary-item.total-cost strong {
    font-size: 18px;
    color: #2c5f4a;
    font-weight: 700;
}

.order-card-actions {
    padding: 6px 12px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Form actions for "Sepete Ekle" button */
.form-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

/* ============================================
   SEPETSİSTEMİ STYLES
   ============================================ */

.order-cart-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #e9ecef;
}

.cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.cart-badge {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.order-cart-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h5 {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.cart-item-details {
    font-size: 13px;
    color: #7f8c8d;
    margin: 4px 0;
}

.cart-item-notes {
    font-size: 12px;
    color: #95a5a6;
    margin-top: 6px;
    font-style: italic;
}

.cart-item-notes i {
    margin-right: 4px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #27ae60;
}

.cart-remove-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-remove-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.cart-summary {
    border-top: 2px solid #e9ecef;
    padding-top: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.summary-row span {
    color: #7f8c8d;
}

.summary-row strong {
    color: #27ae60;
    font-size: 20px;
}

@media (max-width: 768px) {
    .order-product-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .order-product-item-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .order-product-item-inline .product-name {
        max-width: 100%;
    }

    .order-product-item-inline .product-separator {
        display: none;
    }

    .product-quantity,
    .product-price {
        text-align: left;
    }

    .order-card-actions {
        flex-direction: column;
    }

    .btn-sm {
        width: 100%;
    }

    .cart-item {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================
   TAHSİLAT (PAYMENT) MODAL STYLES
   ============================================ */

.payment-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 25px !important;
    border-radius: 12px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4) !important;
    position: relative !important;
    z-index: 100 !important;
    min-height: 200px !important;
}

.summary-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    border-bottom: none;
}

.summary-label {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.summary-value {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.summary-value.text-success {
    color: #4ade80;
}

.summary-value.text-danger {
    color: #f87171;
}

/* Payments List */
.payments-list {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.payment-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.payment-item:last-child {
    margin-bottom: 0;
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-method-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.payment-method-badge.nakit {
    background: #dcfce7;
    color: #166534;
}

.payment-method-badge.kredi_karti {
    background: #dbeafe;
    color: #1e40af;
}

.payment-method-badge.iban {
    background: #fef3c7;
    color: #92400e;
}

.payment-date {
    color: #64748b;
    font-size: 13px;
}

.payment-amount {
    font-size: 16px;
    font-weight: 600;
    color: #059669;
}

/* Medium Modal Size */
.medium-modal .fason-card {
    max-width: 900px;
    width: 95%;
}

/* Extra Large Modal for Payment */
.fason-modal.extra-large-modal .fason-card {
    max-width: 1200px;
    width: 95%;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-summary {
        padding: 15px;
    }

    .summary-item {
        padding: 10px 0;
    }

    .summary-value {
        font-size: 14px;
    }

    .payment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .payment-info {
        width: 100%;
    }

    .payment-amount {
        align-self: flex-end;
    }
}

/* ============================================
   TAMAMLANMIŞ SİPARİŞLER (GÜN ÖZETİ)
   ============================================ */

/* Günlük sipariş listesi container */
.orders-list-daily {
    padding: 0;
}

/* Günlük sipariş kartı - Alınan siparişler için */
.daily-order-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #673AB7;
    transition: all 0.2s ease;
}

.daily-order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.order-footer-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.status-badge {
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.completed-order-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #28a745;
}

.order-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.order-code-mini {
    font-weight: 700;
    font-size: 16px;
    color: #2c3e50;
}

.order-date-mini {
    font-size: 13px;
    color: #6c757d;
}

.order-date-mini i {
    margin-right: 4px;
}

.order-items-mini {
    font-size: 14px;
    color: #495057;
    margin-bottom: 12px;
    line-height: 1.6;
}

.order-payments-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.payments-header {
    font-size: 13px;
    margin-bottom: 8px;
    color: #495057;
}

.payment-item-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px dashed #dee2e6;
}

.payment-item-small:last-child {
    border-bottom: none;
}

.payment-date {
    color: #6c757d;
    font-size: 12px;
}

.order-total-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 2px solid #28a745;
}

.order-total-mini strong {
    font-size: 16px;
    color: #2c3e50;
}

.status-badge-paid {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge-paid i {
    font-size: 11px;
}

/* Tahsilat method badge'leri (küçük versiyon) */
.payment-method-badge.nakit {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.payment-method-badge.kredi_karti {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.payment-method-badge.iban {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* ==================== RAPORLAMA MODALLERİ STİLLERİ ==================== */

/* Tarih Seçim Kartı */
.reports-date-picker {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.date-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-input-group label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-input-group label i {
    color: #673AB7;
}

/* Reports Container */
.reports-container {
    min-height: 400px;
}

/* İstatistik Kartları Grid */
.reports-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.reports-stats-grid .stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.reports-stats-grid .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.reports-stats-grid .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.reports-stats-grid .purple-stat .stat-icon {
    background: linear-gradient(135deg, #673AB7 0%, #512DA8 100%);
}

.reports-stats-grid .blue-stat .stat-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.reports-stats-grid .green-stat .stat-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.reports-stats-grid .orange-stat .stat-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.reports-stats-grid .stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.reports-stats-grid .stat-label {
    font-size: 13px !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    margin-bottom: 5px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.reports-stats-grid .stat-value {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #2C3E50 !important;
    line-height: 1.2;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ödeme Breakdown Section */
.payment-breakdown-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.payment-breakdown-section h4 {
    color: #2C3E50;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-breakdown-section h4 i {
    color: #673AB7;
}

.payment-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.payment-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #673AB7;
}

.payment-method {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.payment-amount {
    font-size: 16px;
    font-weight: 700;
    color: #28a745;
}

/* Company Breakdown Section */
.company-breakdown-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.company-breakdown-section h4 {
    color: #2C3E50;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-breakdown-section h4 i {
    color: #673AB7;
}

.companies-table {
    overflow-x: auto;
}

.companies-table table {
    width: 100%;
    border-collapse: collapse;
}

.companies-table th {
    background: linear-gradient(135deg, #673AB7 0%, #512DA8 100%);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.companies-table th:first-child {
    border-top-left-radius: 8px;
}

.companies-table th:last-child {
    border-top-right-radius: 8px;
}

.companies-table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    color: #495057;
}

.companies-table tr:hover {
    background: #f8f9fa;
}

.companies-table .amount-cell {
    font-weight: 700;
    color: #28a745;
    text-align: right;
}

/* Time Series Section */
.time-series-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.time-series-section h4 {
    color: #2C3E50;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-series-section h4 i {
    color: #673AB7;
}

.time-series-list {
    max-height: 400px;
    overflow-y: auto;
}

.time-series-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.time-series-item:hover {
    background: #f8f9fa;
}

.ts-date {
    flex: 1;
    font-weight: 600;
    color: #495057;
}

.ts-orders {
    flex: 1;
    text-align: center;
    color: #6c757d;
    font-size: 13px;
}

.ts-revenue {
    flex: 1;
    text-align: right;
    font-weight: 700;
    color: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .reports-date-picker {
        flex-direction: column;
        align-items: stretch;
    }

    .reports-stats-grid {
        grid-template-columns: 1fr;
    }

    .payment-breakdown-grid {
        grid-template-columns: 1fr;
    }

    .companies-table {
        font-size: 12px;
    }

    .time-series-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ts-orders,
    .ts-revenue {
        text-align: left !important;
    }
}