/* 
* Tattoo Management System - Main CSS File
* Combines styles from various system components
*/

/* ===== VARIABLES ===== */
:root {
    /* Core colors */
    --primary-color: #FF5722;
    --secondary-color: #FF7043;
    --accent-color: #F4511E;
    --dark-color: #212121;
    --light-color: #FFFFFF;
    --gray-color: #E0E0E0;
    --danger-color: #FF3D00;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --info-color: #2196F3;
    
    /* Ticket specific colors */
    --ticket-primary: #000000;
    --ticket-secondary: #333333;
    --ticket-accent: #c9a84b;
    --ticket-highlight: #e74c3c;
    
    /* Common values */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --border-color: #cccccc;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --background-color: #f9f9f9;
    
    /* Font families */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

/* ===== GLOBAL STYLES ===== */
/* Not: Fontlar artık layout dosyalarında link olarak tanımlanmıştır */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500&display=swap'); */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Form elemanları için font tanımlaması */
input, select, textarea, button {
    font-family: var(--font-primary);
}

/* ===== BUTTON STYLES ===== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
}

.btn i {
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #E64A19;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 1px solid var(--gray-color);
}

.btn-secondary:hover {
    background-color: #e9e9e9;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #218838;
}

/* ===== DATATABLE STYLES ===== */
/* DataTable Container Styling */
.dataTables_wrapper {
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* Table Header */
.dataTables_wrapper .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

/* Sayfada Kayıt Gösterme (Length) */
.dataTables_length {
    display: flex;
    align-items: center;
}

.dataTables_length label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.dataTables_length select {
    margin: 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 28px 6px 10px;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.dataTables_length select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.1);
}

/* Search Box */
.dataTables_filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
}

.dataTables_filter label {
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
}

/*.dataTables_filter label::before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 12px;
    color: #888;
    font-size: 14px;
}
*/
.dataTables_filter input {
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 8px 16px 8px 35px;
    width: 250px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.dataTables_filter input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.1);
    outline: none;
    width: 280px;
}

/* Pagination */
.dataTables_paginate {
    display: flex;
    align-items: center;
    margin: 0;
}

/* Bootstrap Pagination Styles for DataTables */
.dataTables_paginate .pagination {
    margin: 0;
    display: flex;
    align-items: center;
}

.dataTables_paginate .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    margin: 0 2px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
}

.dataTables_paginate .page-item .page-link:hover {
    background-color: #e9ecef;
    color: #212529;
    border-color: #dee2e6;
}

.dataTables_paginate .page-item.active .page-link {
    background-color: #FF5722 !important;
    color: white !important;
    border-color: #FF5722 !important;
    z-index: 3;
}

.dataTables_paginate .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #e9ecef;
    opacity: 0.6;
}

/* Önceki/Sonraki butonları */
.dataTables_paginate .page-item:first-child .page-link,
.dataTables_paginate .page-item:last-child .page-link {
    padding: 0 10px;
}

/* Info Text */
.dataTables_info {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Dışa Aktarma Butonları */
.dt-buttons {
    display: flex;
    align-items: center;
}

.dt-buttons .btn-group .btn {
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
}

.dt-buttons .btn-group .btn:hover {
    background-color: #e9ecef;
    color: #212529;
    border-color: #dee2e6;
}

.dt-buttons .dropdown-menu {
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    padding: 8px 0;
}

.dt-buttons .dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.dt-buttons .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.dt-buttons .dropdown-item i {
    width: 16px;
    text-align: center;
}

/* Table */
.dataTable,
#Users-table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 !important;
}

.dataTable thead th,
#Users-table thead th {
    padding: 16px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #f8f9fa;
    border-top: none;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
}

.dataTable tbody tr,
#Users-table tbody tr {
    background-color: white;
    transition: all 0.2s;
}

.dataTable tbody tr:hover,
#Users-table tbody tr:hover {
    background-color: #f8f9fa;
}

.dataTable tbody td,
#Users-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-top: 1px solid #e9ecef;
    font-size: 14px;
    color: #495057;
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active, .status-paid {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.status-inactive, .status-unpaid {
    background-color: rgba(244, 67, 54, 0.15);
    color: #F44336;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.15);
    color: #FFC107;
}

/* Table Actions */
.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.table-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: all 0.2s;
    border: 1px solid #e9ecef;
}

.table-actions a:nth-child(1):hover {
    background-color: rgba(52, 152, 219, 0.15);
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.3);
}

.table-actions a:nth-child(2):hover,
.table-actions .delete-User:hover {
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

/* Özellikle silme butonu için */
.delete-User {
    color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.05) !important;
    border-color: rgba(231, 76, 60, 0.2) !important;
}

.delete-User:hover {
    background-color: rgba(231, 76, 60, 0.15) !important;
    color: #e74c3c !important;
    border-color: rgba(231, 76, 60, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .dataTables_filter input {
        width: 180px;
    }
    
    .dataTables_filter input:focus {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .dataTables_length, 
    .dataTables_filter,
    .dataTables_info,
    .dataTables_paginate {
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
    }
    
    .dataTables_filter {
        margin-top: 10px;
    }
    
    .dataTables_paginate {
        margin-top: 10px;
    }
}

/* ===== ADMIN DASHBOARD STYLES ===== */
body {
    background-color: #f9f9f9;
}

/* Başlık stilleri */
.mb-4 h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.mb-4 h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.card-header h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-left: 12px;
}

.card-header h5:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Sidebar Styles */
.sidebar {
    width: 220px;
    background-color: #212121;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
}

.sidebar .logo {
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.sidebar .logo img {
    max-width: 80px;
}

.sidebar .nav-link {
    color: #fff;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-radius: 0;
    margin-bottom: 5px;
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar .nav-link:hover, 
.sidebar .nav-link.active {
    background-color: #FF5722;
}

.main-content {
    margin-left: 220px;
    min-height: 100vh;
}

/* İçerik sayfaları için sarmalayıcı */
.content-wrapper {
    padding: 0 25px 25px 25px;
}

.navbar {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding: 10px 20px;
}

/* Dashboard Card Styles */
.stat-card {
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    background-color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    height: 100%;
}

.stat-card .stat-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.stat-card .stat-title {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 500;
}

.stat-orange {
    background-color: #FF5722;
}

.stat-blue {
    background-color: #2196F3;
}

.stat-green {
    background-color: #4CAF50;
}

.stat-yellow {
    background-color: #FFC107;
}

/* Table Styles */
.table-responsive {
    padding: 0.5rem;
}

.table {
    border-spacing: 0 8px;
    border-collapse: separate;
    margin: 0;
}

.table th {
    border: none;
    font-weight: 600;
    padding: 12px 15px;
    color: #555;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    border: none;
    padding: 15px;
    vertical-align: middle;
    background-color: white;
}

.table tr td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.table tr td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.table-actions a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 5px;
    color: #fff;
    transition: all 0.2s;
}

.table-actions a:nth-child(1) {
    background-color: #2196F3;
}

.table-actions a:nth-child(2) {
    background-color: #4CAF50;
}

.table-actions a:nth-child(3) {
    background-color: #F44336;
}

.table-actions a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-paid {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.status-unpaid {
    background-color: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

/* Button Styles */
.btn-add {
    background-color: #FF5722;
    color: white;
    border: none;
}

.btn-add:hover {
    background-color: #F4511E;
    color: white;
}

/* ===== TABLE STYLES ===== */
.table-container {
    padding: 0 20px 20px;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: left;
}

.data-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 1px solid #f1f1f1;
}

.data-table td {
    border-bottom: 1px solid #f1f1f1;
    color: #4c5258;
}

.data-table tbody tr:hover {
    background-color: #f9fafb;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== TICKET STYLES ===== */
.print-container {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Bilet Genel Yapısı */
.ticket-wrapper {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Bilet Sol Kısmı - Müşteri Bilgileri */
.ticket-left-part {
    flex: 2;
    padding: 15px;
    border-right: 2px dashed var(--border-color);
    position: relative;
}

/* Bilet Sağ Kısmı - Dövme ve Randevu Bilgileri */
.ticket-right-part {
    flex: 1;
    padding: 15px;
    position: relative;
    background-color: #f8f8f8;
}

/* Perforasyon Efekti */
.ticket-left-part::after {
    content: "";
    position: absolute;
    top: 0;
    right: -2px;
    width: 2px;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        var(--border-color),
        var(--border-color) 10px,
        transparent 10px,
        transparent 20px
    );
}

/* Logo ve Başlık Alanı */
.logo-section {
    text-align: center;
    margin-bottom: 15px;
}

.logo-section img {
    max-width: 150px;
    height: auto;
}

.reservation-title {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.reservation-title h1 {
    font-size: 1.5rem;
    color: var(--ticket-primary);
    font-weight: 500;
}

.ticket-number {
    font-size: 0.85rem;
    color: var(--ticket-secondary);
    margin-top: 5px;
    font-weight: bold;
}

/* Müşteri Bilgileri Alanı */
.customer-info {
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.1rem;
    color: var(--ticket-primary);
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 5px;
}

.info-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.info-label {
    flex: 1;
    font-weight: bold;
    color: var(--ticket-secondary);
}

.info-value {
    flex: 2;
}

.price, .remaining-payment {
    font-weight: bold;
}

.remaining-payment {
    color: var(--ticket-highlight);
}

/* Ayraç */
.info-divider {
    margin: 15px 0;
    border-top: 1px dashed var(--border-color);
}

/* İmza Alanı */
.signature-section {
    margin: 20px 0;
}

.signature-line {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
    padding: 15px 0;
}

.signature-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--ticket-secondary);
}

/* Şartlar ve Anlaşma */
.terms-agreement {
    font-size: 0.8rem;
    color: var(--ticket-secondary);
    margin-top: 15px;
}

.terms-agreement p {
    margin-bottom: 5px;
}

.terms-agreement ul {
    padding-left: 20px;
}

.terms-agreement li {
    margin-bottom: 3px;
}

/* Dövme ve Randevu Bilgileri */
.tattoo-title {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.tattoo-title h2 {
    font-size: 1.3rem;
    color: var(--ticket-primary);
    font-weight: 500;
}

.appointment-details {
    margin-bottom: 15px;
}

.appointment-date {
    font-weight: bold;
    color: var(--ticket-highlight);
}

/* Dövme Uzmanı Bölümü */
.artist-section {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 6px;
    margin: 15px 0;
    border: 1px solid var(--border-color);
}

.artist-photo {
    margin-right: 10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--ticket-accent);
}

.artist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-info {
    flex: 1;
}

.artist-name {
    font-weight: bold;
    color: var(--ticket-primary);
    font-size: 0.95rem;
}

.artist-specialty {
    color: var(--ticket-secondary);
    font-size: 0.8rem;
    margin-top: 2px;
}

/* Belge Detayları */
.document-details {
    font-size: 0.85rem;
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

/* QR Kod */
.qr-code {
    text-align: center;
    margin-top: 15px;
}

.qr-code img {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
}

.qr-text {
    font-size: 0.7rem;
    color: var(--ticket-secondary);
}

/* Yazdırma Eylemleri */
.print-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.btn-print, .btn-back {
    padding: 8px 15px;
    background-color: var(--ticket-primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.btn-print i, .btn-back i {
    margin-right: 5px;
}

.btn-print:hover {
    background-color: #222;
}

.btn-back {
    background-color: #666;
}

.btn-back:hover {
    background-color: #444;
}

/* Onay Damgası */
.ticket-stamp {
    position: absolute;
    top: 50px;
    right: 20px;
    font-size: 1.5rem;
    color: rgba(231, 76, 60, 0.7);
    border: 3px solid rgba(231, 76, 60, 0.7);
    padding: 5px 10px;
    transform: rotate(30deg);
    font-weight: bold;
    border-radius: 8px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* ===== MODAL STYLES ===== */
.modal {
    z-index: 1050 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

.modal-dialog {
    z-index: 1051 !important;
    margin: 1.75rem auto;
}

.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 1.5rem;
}

.modal-header .modal-title {
    font-weight: 500;
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 1rem 1.5rem;
}

/* Silme Modalı */
#deleteModal .modal-content {
    overflow: visible;
}

#deleteModal .modal-body {
    padding: 2rem 1.5rem;
}

#deleteModal .btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}

#deleteModal .btn-danger:hover {
    background-color: #D32F2F;
    border-color: #D32F2F;
}

#deleteModal .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

#deleteModal .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

/* ===== RESPONSIVE STYLES ===== */
@media print {
    body {
        padding: 0;
        background: none;
    }
    
    .print-container {
        box-shadow: none;
        padding: 0;
    }
    
    .print-actions {
        display: none;
    }
    
    .ticket-wrapper {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

@media (max-width: 1200px) {
    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Mobil görünüm için header düzenlemeleri */
@media (max-width: 767.98px) {
    .card-header .row .col-12 {
        text-align: center;
    }

    .card-header .col-12.col-md-6:last-child {
        justify-content: center !important;
    }

    .dt-buttons .btn-group {
        width: 100%;
    }

    .dt-buttons .dropdown-toggle {
        width: 100%;
        margin-top: 0.5rem;
    }
}
/* Mobil görünüm için header düzenlemeleri */
@media (max-width: 767.98px) {
    .card-header .row .col-12 {
        text-align: center;
    }

    .card-header .col-12.col-md-6:last-child {
        justify-content: center !important;
    }

    .dt-buttons {
        width: 100%;
    }

        .dt-buttons .btn-group {
            width: 100%;
        }

        .dt-buttons .dropdown-toggle {
            width: 100%;
            margin-top: 0.5rem;
        }

    .card-header h5 {
        justify-content: center !important;
    }

    .w-md-auto {
        width: 100% !important;
    }

    /* DataTables mobil düzenlemeleri */
    .dataTables_length,
    .dataTables_filter {
        width: 100%;
        margin-bottom: 10px;
        text-align: center !important;
    }

        .dataTables_filter input {
            width: 100% !important;
            max-width: none;
        }

    .dataTables_info,
    .dataTables_paginate {
        width: 100%;
        text-align: center !important;
    }

    .paginate_button {
        padding: 0.3rem 0.6rem !important;
    }

    /* Mobil tablolar için stil */
    .table {
        font-size: 0.85rem;
    }

    .status-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
}
@media (min-width: 768px) {
    .icon-circle {
        width: 40px;
        height: 40px;
    }

        .icon-circle i {
            font-size: 1.2rem;
        }

    .h4-md {
        font-size: 1.5rem !important;
    }
}
@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }

    /* Tablet ve yukarısı için DataTables düzenlemeleri */
    .dataTables_filter input {
        max-width: 250px;
    }
}
@media (max-width: 767.98px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start !important;
    }

        .card-header h5 {
            margin-bottom: 1rem;
        }

        .card-header .dt-buttons {
            align-self: flex-start;
            width: 100%;
        }

        .card-header .btn-group {
            width: 100%;
        }

        .card-header .dropdown-toggle {
            width: 100%;
            text-align: left;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

    .dataTables_length,
    .dataTables_filter {
        text-align: left !important;
        margin-bottom: 0.5rem;
        width: 100%;
    }

        .dataTables_length select {
            width: 100%;
            max-width: 300px;
        }

    .dataTables_info,
    .dataTables_paginate {
        text-align: center !important;
        width: 100%;
        margin-top: 0.5rem;
    }
}
@media (max-width: 992px) {
    .sidebar {
        left: -220px;
        transition: all 0.3s;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .login-container {
        width: 90%;
        padding: 30px 20px;
    }
    
    .sidebar {
        left: -260px;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .ticket-wrapper {
        flex-direction: column;
    }
    
    .ticket-left-part {
        border-right: none;
        border-bottom: 2px dashed var(--border-color);
    }
    
    .ticket-left-part::after {
        top: auto;
        right: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background: repeating-linear-gradient(
            90deg,
            var(--border-color),
            var(--border-color) 10px,
            transparent 10px,
            transparent 20px
        );
    }

    .artist-section {
        flex-direction: column;
        text-align: center;
    }

    .artist-photo {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    width: 40px;
    height: 40px;
    display: none !important;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 15px;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus {
    background-color: #E64A19 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-toggle i {
    font-size: 18px;
}

/* Kullanıcı ikonu stili */
#userDropdown {
    transition: all 0.2s ease;
}

#userDropdown span {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #333;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

#userDropdown:hover span {
    color: var(--primary-color);
}

#userDropdown .fa-user-circle {
    color: var(--primary-color);
    font-size: 20px;
}

#userDropdown:hover .fa-user-circle {
    color: #E64A19;
}

@media (max-width: 992px) {
    .sidebar-toggle {
        display: flex !important;
    }
}

@media (max-width: 767.98px) {
    .card-header .row .col-12 {
        text-align: center;
    }
    
    .card-header .col-12.col-md-6:last-child {
        margin-top: 10px;
    }
    
    .dt-buttons .btn-group {
        width: 100%;
    }
    
    .dt-buttons .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
    
    /* Dashboard için mobil uyumluluk */
    .dashboard-cards {
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 1rem;
        width: 100%;
    }
    
    .dashboard-cards .card {
        flex: 0 0 calc(50% - 10px);
        min-width: auto;
        max-width: none;
        margin-bottom: 10px;
    }
    
    .page-header h2 {
        font-size: 20px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .section-header h3 {
        font-size: 16px;
    }
    
    .event {
        padding: 5px;
        font-size: 11px;
    }
    
    .event-time {
        font-size: 10px;
    }
    
    .event-status {
        font-size: 9px;
    }
    
    .calendar-days .day {
        font-size: 12px;
        padding: 3px;
    }
    
    .week-title {
        font-size: 14px;
    }
    
    .week-navigation {
        width: 100%;
        justify-content: center;
    }

    /* Tablolardaki durum rozetleri için */
    .status-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }
}

@media (max-width: 767.98px) {
    .card-header {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-header h5 {
        margin-bottom: 0.5rem;
    }
    
    .card-header .dt-buttons {
        width: 100%;
    }
    
    .card-header .btn-group {
        width: 100%;
    }
    
    .card-header .dropdown-toggle {
        width: 100%;
        justify-content: center;
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
    }
    
    .dataTables_length,
    .dataTables_filter {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: flex-start;
    }
    
    .dataTables_length select {
        padding: 4px 20px 4px 8px;
    }
    
    .dataTables_info,
    .dataTables_paginate {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    /* Tablo içeriği ve dolaşım için ek stiller */
    .table-responsive {
        border-radius: 0.25rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .card .card-body {
        padding: 0.75rem;
    }
    
    .fw-bold.h5 {
        font-size: 1rem;
    }
    
    .table td, .table th {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .dropdown-menu {
        min-width: 12rem;
    }
    
    .btn-sm {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .dataTables_filter input {
        width: 100% !important;
    }
    
    .dataTables_filter input:focus {
        width: 100% !important;
    }
    
    /* Modal düzenlemeleri */
    #imageGallery .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .modal-dialog {
        margin: 0.75rem;
    }
}

/* Table Responsive Styles for Mobile */
/* DataTables child row styling */
table.dataTable>tbody>tr.child ul.dtr-details {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

table.dataTable>tbody>tr.child ul.dtr-details>li {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.5rem 0;
}

table.dataTable>tbody>tr.child ul.dtr-details>li:last-child {
    border-bottom: none;
}

table.dataTable>tbody>tr.child ul.dtr-details>li .dtr-title {
    min-width: 120px;
    font-weight: 600;
    color: #6c757d;
    margin-right: 1rem;
}

table.dataTable>tbody>tr.child ul.dtr-details>li .dtr-data {
    flex: 1;
}

/* Responsive tasarım: child row genişliği düzeltmesi */
.dtr-bs-modal .modal-body {
    padding: 0;
}

.dtr-bs-modal .dtr-details {
    width: 100%;
    margin-bottom: 0;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    z-index: 100;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 14px;
    max-width: 80%;
}

/* Mobil görünüm iyileştirmeleri */
@media (max-width: 767.98px) {
    /* Tablo düzeltmeleri */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Buton grup düzeltmeleri */
    .btn-group {
        display: flex;
        width: 100%;
    }
    
    .dropdown-menu {
        width: 100%;
    }

    /* DataTables pagination ve bilgi kontrolü */
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 0.25rem 0.5rem;
    }
    
    /* DataTables detay görünümü */
    .dtr-details {
        width: 100%;
    }
    
    .dtr-details tr {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 0.5rem;
    }
    
    .dtr-details td {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.25rem 0;
        border: none;
    }
    
    .dtr-details td:before {
        content: attr(data-dt-column);
        width: 40%;
        font-weight: 600;
        color: #6c757d;
    }
    
    .dtr-details td:last-child {
        margin-bottom: 0;
    }
} 