/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Login Screen */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.login-box h2 i {
    color: #667eea;
    margin-right: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

.login-box button:hover {
    transform: translateY(-2px);
}

/* Main App Layout */
.main-app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header */
.app-header {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.header-left h1 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.header-left h1 i {
    color: #667eea;
    margin-right: 10px;
}

.branch-name {
    color: #666;
    font-size: 14px;
    margin-left: 10px;
}

.day-status button {
    margin: 0 5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Notifications */
.notifications {
    position: relative;
}

.notifications i {
    font-size: 20px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #e3f2fd;
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Navigation */
.app-nav {
    background: #343a40;
    padding: 0;
    display: flex;
    overflow-x: auto;
}

.nav-btn {
    background: none;
    border: none;
    color: #adb5bd;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn:hover {
    background: #495057;
    color: white;
}

.nav-btn.active {
    background: #667eea;
    color: white;
}

/* Content Sections */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Sales Section */
.sales-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    height: 100%;
}

.sales-left {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sales-right {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Barcode Section */
.barcode-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.barcode-section input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
}

.barcode-section input:focus {
    outline: none;
    border-color: #667eea;
}

/* Cart Section */
.cart-section {
    margin-bottom: 20px;
}

.cart-section h3 {
    margin-bottom: 15px;
    color: #333;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #666;
    font-size: 14px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: #667eea;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #5a6fd8;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.remove-btn:hover {
    background: #c82333;
}

/* Cart Total */
.cart-total {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-final {
    font-weight: bold;
    font-size: 18px;
    border-top: 2px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Payment Section */
.payment-section h3 {
    margin-bottom: 15px;
    color: #333;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

.payment-btn {
    background: white;
    border: 2px solid #e1e5e9;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.payment-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.payment-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.payment-btn i {
    font-size: 24px;
}

#completePayment {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

/* Quick Products */
.quick-products h3 {
    margin-bottom: 15px;
    color: #333;
}

.quick-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
}

.quick-product-item {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.quick-product-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.quick-product-image {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
}

.quick-product-name {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.2;
}

.quick-product-price {
    font-size: 14px;
    color: #667eea;
    font-weight: bold;
}

/* Products Section */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.products-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.products-filters input,
.products-filters select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.products-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Reports Section */
.reports-header {
    margin-bottom: 30px;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.report-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.report-card i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
}

.report-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.report-card p {
    color: #666;
    margin: 0;
}

/* Users and Branches Sections */
.users-header,
.branches-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.users-table,
.branches-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.data-table th,
.data-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

.data-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.data-table tr:hover {
    background: #f8f9fa;
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-outline-secondary {
    background: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.modal-dialog {
    background: white;
    border-radius: 10px;
    max-width: 95%;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10000;
    pointer-events: auto;
    scrollbar-width: auto;
    -webkit-overflow-scrolling: touch;
}

/* Modal dialog scroll bar stilleri */
.modal-dialog::-webkit-scrollbar {
    width: 12px;
}

.modal-dialog::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.modal-dialog::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
    cursor: pointer;
}

.modal-dialog::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    pointer-events: auto;
    position: relative;
    z-index: 10001;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sales-container {
        grid-template-columns: 1fr;
    }
    
    .app-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .header-left,
    .header-center,
    .header-right {
        width: 100%;
        justify-content: center;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .quick-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .app-header,
    .app-nav,
    .no-print {
        display: none !important;
    }
    
    .app-content {
        padding: 0;
    }
    
    .receipt {
        max-width: 300px;
        margin: 0 auto;
        font-family: 'Courier New', monospace;
        font-size: 12px;
        line-height: 1.4;
    }
    
    .receipt-header {
        text-align: center;
        margin-bottom: 20px;
        border-bottom: 1px dashed #000;
        padding-bottom: 10px;
    }
    
    .receipt-items {
        margin-bottom: 20px;
    }
    
    .receipt-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 5px;
    }
    
    .receipt-total {
        border-top: 1px dashed #000;
        padding-top: 10px;
        text-align: right;
    }
    
    .receipt-footer {
        text-align: center;
        margin-top: 20px;
        border-top: 1px dashed #000;
        padding-top: 10px;
    }
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 6px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Additional Styles for New Features */
.empty-cart {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-data i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

/* Role badges */
.role-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.role-badge.admin {
    background: #dc3545;
    color: white;
}

.role-badge.manager {
    background: #ffc107;
    color: #212529;
}

.role-badge.cashier {
    background: #28a745;
    color: white;
}

/* Status badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.active {
    background: #28a745;
    color: white;
}

.status-badge.inactive {
    background: #6c757d;
    color: white;
}

/* Stock badges */
.stock-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.stock-badge.normal {
    background: #28a745;
    color: white;
}

.stock-badge.low {
    background: #dc3545;
    color: white;
}

/* Low stock row highlighting */
.data-table tr.low-stock {
    background-color: #fff5f5;
}

.data-table tr.low-stock:hover {
    background-color: #fed7d7;
}

/* User count badge */
.user-count-badge {
    background: #6c757d;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
}

/* Product image in table */
.product-image {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 20px;
}

/* Summary cards for reports */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.summary-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.summary-value {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.summary-label {
    color: #666;
    font-size: 14px;
}

/* Report specific styles */
.report-container {
    max-height: 70vh;
    overflow-y: auto;
}

.report-filters {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.report-content {
    min-height: 200px;
}

.report-period {
    color: #666;
    margin-bottom: 20px;
}

.report-table-container {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 20px 0;
    width: 100%;
}

.daily-breakdown {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Form text */
.form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* Form check */
.form-check {
    margin-bottom: 8px;
}

.form-check-input {
    margin-right: 8px;
}

/* Additional button styles */
.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
}

/* Cart item total */
.cart-item-total {
    font-weight: bold;
    color: #667eea;
}

/* Animation improvements */
.modal {
    animation: fadeIn 0.3s ease-out;
}

.modal.show .modal-dialog {
    animation: slideIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Focus improvements */
.form-control:focus,
.btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    pointer-events: auto;
}

/* Modal içindeki tüm interaktif elemanlar */
.modal input,
.modal select,
.modal textarea,
.modal button {
    pointer-events: auto !important;
    position: relative;
    z-index: 10001;
}

.modal .btn {
    pointer-events: auto !important;
    cursor: pointer;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Payment Status Styles */
.payment-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-paid {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-unpaid {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-partial {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 4px 8px;
    font-size: 11px;
    min-width: 60px;
}

/* Credit Summary Cards */
.credit-summary {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.credit-summary h5 {
    margin-bottom: 15px;
    color: #495057;
}

.credit-summary .summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.credit-summary .summary-card.paid {
    border-left: 4px solid #28a745;
}

.credit-summary .summary-card.unpaid {
    border-left: 4px solid #dc3545;
}

.credit-summary .summary-card.partial {
    border-left: 4px solid #ffc107;
}

/* Partial Payment Modal Styles */
#remainingAmount, #remainingAmountUpdate {
    margin-top: 10px;
}

#remainingAmountValue, #remainingAmountValueUpdate {
    font-weight: bold;
    color: #dc3545;
}

/* Barcode Input Disabled State */
#barcodeInput:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

#barcodeInput:disabled::placeholder {
    color: #adb5bd;
}

/* Rapor Modal Özel Stilleri */
.modal-dialog.report-modal {
    max-width: 98%;
    width: 98%;
    margin: 1% auto;
    overflow-y: auto;
    scrollbar-width: auto;
}

.modal-dialog.report-modal .modal-body {
    padding: 15px;
    overflow-x: auto;
    overflow-y: visible;
    max-height: calc(90vh - 120px);
}

.modal-dialog.report-modal .data-table {
    font-size: 13px;
    table-layout: auto;
}

.modal-dialog.report-modal .data-table th,
.modal-dialog.report-modal .data-table td {
    padding: 6px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

/* Rapor tablosu sütun genişlikleri */
.modal-dialog.report-modal .data-table th:nth-child(1),
.modal-dialog.report-modal .data-table td:nth-child(1) {
    width: 15%;
    min-width: 100px;
}

.modal-dialog.report-modal .data-table th:nth-child(2),
.modal-dialog.report-modal .data-table td:nth-child(2) {
    width: 20%;
    min-width: 120px;
}

.modal-dialog.report-modal .data-table th:nth-child(3),
.modal-dialog.report-modal .data-table td:nth-child(3) {
    width: 25%;
    min-width: 150px;
}

.modal-dialog.report-modal .data-table th:nth-child(4),
.modal-dialog.report-modal .data-table td:nth-child(4) {
    width: 15%;
    min-width: 80px;
    text-align: center;
}

.modal-dialog.report-modal .data-table th:nth-child(5),
.modal-dialog.report-modal .data-table td:nth-child(5) {
    width: 25%;
    min-width: 120px;
    text-align: right;
}

/* Rapor tablosu container */
.modal-dialog.report-modal .report-table-container {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 50vh;
    scrollbar-width: auto;
    -webkit-overflow-scrolling: touch;
}

/* Scroll bar stilleri */
.modal-dialog.report-modal .report-table-container::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.modal-dialog.report-modal .report-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.modal-dialog.report-modal .report-table-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
    cursor: pointer;
}

.modal-dialog.report-modal .report-table-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.modal-dialog.report-modal .report-table-container::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

/* Responsive düzenlemeler */
@media (max-width: 1200px) {
    .modal-dialog.report-modal {
        max-width: 95%;
        width: 95%;
    }
    
    .modal-dialog.report-modal .data-table {
        font-size: 12px;
    }
    
    .modal-dialog.report-modal .data-table th,
    .modal-dialog.report-modal .data-table td {
        padding: 4px 6px;
        max-width: 120px;
    }
}

/* Support Section Styles */
.support-header {
    text-align: center;
    margin-bottom: 40px;
}

.support-header h2 {
    color: #333;
    margin-bottom: 10px;
}

.support-header p {
    color: #666;
    font-size: 16px;
}

.support-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.support-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.support-card-header {
    margin-bottom: 20px;
}

.support-card-header i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.support-card-header i.fa-envelope {
    color: #667eea;
}

.support-card-header i.fa-whatsapp {
    color: #25d366;
}

.support-card-header h3 {
    color: #333;
    margin-bottom: 0;
    font-size: 20px;
}

.support-card-body p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.support-card-body .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.support-card-body .btn i {
    margin-right: 8px;
}

.support-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #667eea;
}

.support-info h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.support-info p {
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.support-info p:last-child {
    margin-bottom: 0;
}

.support-info i {
    color: #667eea;
    width: 16px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: white;
    font-size: 28px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Support Form Modal Styles */
.support-form {
    max-width: 500px;
    margin: 0 auto;
}

.support-form .form-group {
    margin-bottom: 20px;
}

.support-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.support-form input,
.support-form select,
.support-form textarea {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.support-form textarea {
    min-height: 120px;
    resize: vertical;
}

.support-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: transform 0.2s ease;
}

.support-form .btn-primary:hover {
    transform: translateY(-2px);
}

.support-form .btn-success {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: transform 0.2s ease;
}

.support-form .btn-success:hover {
    transform: translateY(-2px);
}

/* Responsive Support Styles */
@media (max-width: 768px) {
    .support-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .support-card {
        padding: 20px;
    }
    
    .support-card-header i {
        font-size: 36px;
    }
    
    .support-card-header h3 {
        font-size: 18px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    .support-info {
        padding: 20px;
    }
    
    .support-info p {
        font-size: 14px;
    }
}

/* Support Form Validation */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group .error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Success message */
.support-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    text-align: center;
}

.support-success i {
    color: #28a745;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .modal-dialog.report-modal {
        max-width: 98%;
        width: 98%;
        margin: 1% auto;
    }
    
    .modal-dialog.report-modal .data-table {
        font-size: 11px;
    }
    
    .modal-dialog.report-modal .data-table th,
    .modal-dialog.report-modal .data-table td {
        padding: 3px 4px;
        max-width: 100px;
    }
}