/* AkcanPOS v3 Web Panel - Koltuk Yıkama Modal Stilleri */
/* Mobil uygulama benzeri tasarım */

/* Modal Overlay - Mobil uygulama benzeri */
.koltuk-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;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(4px);
    }
}

/* Modal Container - Mobil benzeri rounded design */
.koltuk-modal-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 750px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

.koltuk-modal-container.large-modal {
    max-width: 1200px;
    width: 95%;
    max-height: 95vh;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Modal Header - Gradient header mobil benzeri */
.koltuk-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.koltuk-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.koltuk-modal-header h3 i {
    font-size: 1.1rem;
}

/* Close Button - Modern tasarım */
.koltuk-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.koltuk-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Modal Body - Clean içerik alanı */
.koltuk-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.koltuk-modal-body::-webkit-scrollbar {
    width: 6px;
}

.koltuk-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.koltuk-modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Form Styling - Mobil benzeri input'lar */
.appointment-form .form-group,
.expense-form .form-group {
    margin-bottom: 20px;
}

.appointment-form label,
.expense-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.appointment-form label i,
.expense-form label i {
    margin-right: 6px;
    color: #667eea;
    width: 16px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea,
.expense-form input,
.expense-form select,
.expense-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fafbfc;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus,
.expense-form input:focus,
.expense-form select:focus,
.expense-form textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Form Row - İki kolonlu layout */
.form-row {
    display: flex;
    gap: 16px;
}

.form-group.half-width {
    flex: 1;
}

/* Customer Selector - Özel tasarım */
.customer-selector {
    display: flex;
    gap: 0;
    position: relative;
}

.customer-selector input {
    flex: 1;
    border-radius: 12px 0 0 12px !important;
    border-right: none !important;
}

.customer-selector button {
    background: #667eea;
    border: 2px solid #667eea;
    color: white;
    padding: 12px 16px;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.customer-selector button:hover {
    background: #5a67d8;
    border-color: #5a67d8;
}

/* Modal Footer - Action buttons */
.koltuk-modal-footer {
    padding: 20px 24px;
    background: #f8f9fa;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #e9ecef;
}

/* Buttons - Mobil uygulama benzeri */
.btn-primary,
.btn-secondary,
.btn-success {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* Search Box - Müşteri arama */
.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fafbfc;
}

.search-box i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Customers List */
.customers-list {
    max-height: 300px;
    overflow-y: auto;
}

.customer-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    position: relative;
}

.customer-item:hover {
    background: #f8f9fa;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.customer-item:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.15);
}

.customer-item .customer-info {
    flex: 1;
}

.customer-item .customer-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.customer-item .customer-phone {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.customer-item .customer-address {
    color: #888;
    font-size: 0.8rem;
}

.customer-item .customer-select {
    color: #667eea;
    font-size: 1.2rem;
}

/* Appointments List */
.appointments-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Report Cards - Dashboard benzeri */
.report-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.report-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(240, 147, 251, 0.3);
}

.report-card i {
    font-size: 2rem;
    margin-bottom: 12px;
}

.report-card h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.report-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Service Types List */
.service-types-list {
    margin-bottom: 24px;
}

.service-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
}

.service-info h4 {
    margin: 0 0 4px 0;
    color: #333;
}

.service-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.service-actions {
    display: flex;
    gap: 8px;
}

.btn-edit,
.btn-delete {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit {
    background: #ffc107;
    color: white;
}

.btn-edit:hover {
    background: #e0a800;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

/* Add Service Form */
.add-service-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.add-service-form h4 {
    margin: 0 0 16px 0;
    color: #333;
}

.add-service-form .form-row {
    display: flex;
    gap: 12px;
    align-items: end;
}

.add-service-form input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.add-service-form button {
    padding: 10px 16px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

/* Daily Summary - Special styling */
.summary-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.summary-card.revenue-card {
    border-left: 4px solid #28a745;
}

.summary-card.expense-card {
    border-left: 4px solid #dc3545;
}

.summary-card.profit-card.positive {
    border-left: 4px solid #17a2b8;
}

.summary-card.profit-card.negative {
    border-left: 4px solid #ffc107;
}

.summary-card.appointments-card {
    border-left: 4px solid #6f42c1;
}

.summary-card .card-icon {
    font-size: 2rem;
    color: #666;
}

.summary-card .card-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.summary-card .card-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Summary Details */
.summary-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-section h4 {
    margin: 0 0 16px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.appointment-summary-item,
.expense-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
}

/* No Data States */
.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

.loading-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.loading-message i {
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .koltuk-modal-container {
        width: 95%;
        max-height: 95vh;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.half-width {
        margin-bottom: 20px;
    }

    .summary-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .koltuk-modal-footer {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .btn-success {
        width: 100%;
        justify-content: center;
    }
}

/* Update Service Button - Düzenleme modu için */
.update-service-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.update-service-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    transform: translateY(-1px);
}

.update-service-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}

.update-service-btn i {
    font-size: 14px;
}

/* Body Modal Open State */
body.modal-open {
    overflow: hidden;
}

/* ===== ENHANCED APPOINTMENT MODAL - Mobile Design (75% Width) =====*/

/* Enhanced Large Appointment Modal Container */
.appointment-modal-container-large {
    background: #f8fafc;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    /* Fixed max-width for consistency */
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: appointmentModalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
}

@keyframes appointmentModalSlideIn {
    from {
        transform: scale(0.3) translateY(100px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Enhanced Appointment Modal Overlay */
.appointment-modal-overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

/* Enhanced Appointment Modal Header */
.appointment-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.appointment-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='m0 40l40-40h-40z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(10px);
}

.header-text h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header-subtitle {
    margin: 4px 0 0 0;
    font-size: 16px;
    color: #ffffff;
    opacity: 1;
    font-weight: 400;
}

.appointment-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.appointment-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Enhanced Appointment Modal Body */
.appointment-modal-body {
    padding: 24px;
    flex: 1;
    /* Take remaining space */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
    background: #f8fafc;
    /* Match container background */
}

.appointment-modal-body::-webkit-scrollbar {
    width: 8px;
}

.appointment-modal-body::-webkit-scrollbar-track {
    background: #f7fafc;
}

.appointment-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.appointment-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Enhanced Form - Unified Grid System */
.enhanced-appointment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    /* Balanced spacing for cohesive look */
    align-items: start;
    /* All cards align from top */
}

/* Müşteri bilgileri - Full width top */
.enhanced-appointment-form .form-section:nth-child(1) {
    grid-column: 1 / -1;
}

/* Hizmet türü - Sol üst */
.enhanced-appointment-form .form-section:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

/* Tarih/Saat - Sağ üst */
.enhanced-appointment-form .form-section:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

/* Fiyat - Sol orta */
.enhanced-appointment-form .form-section:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
}

/* Görsel ekleme - Sağ orta */
.enhanced-appointment-form .form-section:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
}

/* Açıklama - Full width */
.enhanced-appointment-form .form-section:nth-child(6) {
    grid-column: 1 / -1;
    grid-row: 4;
}

/* Eklenen Hizmetler - Full width bottom */
.enhanced-appointment-form .form-section:nth-child(7) {
    grid-column: 1 / -1;
    grid-row: 5;
}

/* Form Section - Unified Container Look */
.form-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    /* Thinner border for cleaner look */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    /* Softer shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    /* All sections same height in row */
    display: flex;
    flex-direction: column;
}

.form-section:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    /* Subtle lift */
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.section-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* Consistent with modal theme */
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.section-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    letter-spacing: -0.25px;
}

/* Customer Selector Wrapper - Keep existing functionality */
.customer-selector-wrapper .customer-selector {
    display: flex;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.customer-selector-wrapper .customer-selector:hover {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.customer-selector-wrapper .customer-selector input {
    flex: 1;
    padding: 10px 12px;
    /* %50 küçültülmüş padding (15px 18px -> 10px 12px) */
    border: none;
    outline: none;
    font-size: 14px;
    /* %50 küçültülmüş font (16px -> 14px) */
    font-weight: 500;
    color: #2d3748;
    background: transparent;
    cursor: pointer;
}

.customer-selector-wrapper .customer-selector button {
    padding: 10px 14px;
    /* %50 küçültülmüş padding (15px 20px -> 10px 14px) */
    background: #4299e1;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-selector-wrapper .customer-selector button:hover {
    background: #3182ce;
}

/* Müşteri Bilgi Kartı - Seçilen müşteri için */
.customer-display-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.selected-customer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.customer-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.customer-details {
    flex: 1;
    min-width: 0;
    /* Overflow için */
}

.customer-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-contact {
    font-size: 14px;
    color: #ffffff;
    opacity: 1;
    font-weight: 500;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.customer-contact i {
    font-size: 12px;
    color: #ffffff;
}

.customer-address {
    font-size: 12px;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 3px;
}

.customer-address i {
    font-size: 11px;
    margin-top: 2px;
    flex-shrink: 0;
}

.customer-phone {
    font-size: 14px;
    opacity: 0.95;
    font-weight: 500;
    margin-bottom: 4px;
}

.change-customer-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.change-customer-btn i {
    font-size: 14px;
}

.change-customer-btn span {
    font-size: 13px;
}

.change-customer-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Service Dropdown */
.service-dropdown-card {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
}

.service-dropdown-card:focus-within {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.service-select {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    outline: none;
    appearance: none;
}

.service-select option {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
    pointer-events: none;
    font-size: 14px;
}

/* DateTime Row */
.datetime-row {
    display: flex;
    gap: 20px;
}

.datetime-field {
    flex: 1;
}

.datetime-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.datetime-input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #2d3748;
    background: white;
    transition: all 0.3s ease;
}

.datetime-input:focus {
    border-color: #4299e1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* Price Input */
.price-input-card {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.price-input-card:focus-within {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.price-currency {
    background: #f7fafc;
    padding: 14px 12px;
    /* Daha büyük padding */
    font-size: 18px;
    /* Daha büyük font */
    font-weight: 700;
    color: #4a5568;
    border-right: 1px solid #e2e8f0;
    min-width: 50px;
    /* Daha geniş alan */
    text-align: center;
}

.price-input {
    flex: 1;
    padding: 14px 12px;
    /* Daha büyük padding */
    border: none;
    outline: none;
    font-size: 16px;
    /* Daha büyük font */
    font-weight: 500;
    color: #2d3748;
}

.price-label {
    background: #f7fafc;
    padding: 14px 12px;
    /* Daha büyük padding */
    font-size: 12px;
    /* Biraz daha büyük font */
    font-weight: 600;
    color: #718096;
    border-left: 1px solid #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 80px;
    /* Daha geniş alan */
    text-align: center;
}

/* Regular Input Card */
.input-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
}

.input-card:focus-within {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.text-input {
    width: 100%;
    padding: 10px 14px;
    /* %50 küçültülmüş padding (18px 20px -> 10px 14px) */
    border: none;
    outline: none;
    font-size: 14px;
    /* %50 küçültülmüş font (16px -> 14px) */
    font-weight: 500;
    color: #2d3748;
    background: transparent;
}

.text-input::placeholder {
    color: #a0aec0;
}

/* Textarea Card */
.textarea-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
}

.textarea-card:focus-within {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.notes-textarea {
    width: 100%;
    padding: 18px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: #2d3748;
    background: transparent;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.notes-textarea::placeholder {
    color: #a0aec0;
}

/* Görsel Yükleme Kapsayıcısı */
.image-upload-container {
    width: 100%;
}

.image-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    /* Biraz daha büyük border radius */
    padding: 20px 15px;
    /* Daha büyük padding */
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.image-upload-area:hover {
    border-color: #4299e1;
    background: #ebf8ff;
}

.upload-placeholder {
    color: #718096;
}

.upload-placeholder i {
    font-size: 32px;
    /* Daha büyük icon */
    margin-bottom: 10px;
    /* Daha büyük margin */
    color: #cbd5e0;
    display: block;
}

.upload-placeholder p {
    font-size: 14px;
    /* Daha büyük font */
    font-weight: 600;
    margin: 8px 0 4px 0;
    /* Daha büyük margin */
    color: #4a5568;
}

.upload-placeholder small {
    font-size: 11px;
    /* Biraz daha büyük font */
    color: #a0aec0;
}

.uploaded-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.uploaded-image {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.uploaded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.remove-image:hover {
    background: #c53030;
}

/* Müşteri Listesi Stilleri */
.modal-search-container {
    margin-bottom: 20px;
}

.modal-search-container input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.modal-search-container input:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.customers-list {
    max-height: 400px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.customer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.customer-item:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.customer-item:last-child {
    border-bottom: none;
}

.customer-item .customer-info {
    flex: 1;
}

.customer-item .customer-name {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.customer-item .customer-details {
    font-size: 14px;
    color: #718096;
}

.customer-select-icon {
    color: #4299e1;
    font-size: 18px;
    opacity: 0;
    transition: all 0.3s ease;
}

.customer-item:hover .customer-select-icon {
    opacity: 1;
}

/* Hizmet Seçim Alanı */
.service-selection-area {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.service-dropdown-card {
    flex: 1;
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
}

.add-service-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    flex-shrink: 0;
}

.add-service-btn:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(72, 187, 120, 0.4);
}

/* Eklenen Hizmetler Listesi */
.added-services-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
}

.added-services-list {
    margin-bottom: 16px;
}

.added-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.added-service-item:hover {
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.service-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.service-price {
    font-size: 14px;
    font-weight: 700;
    color: #48bb78;
}

.service-controls {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: 12px;
}

.increase-service-btn,
.decrease-service-btn,
.remove-service-btn {
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.increase-service-btn {
    background: #c6f6d5;
    color: #22543d;
}

.increase-service-btn:hover {
    background: #9ae6b4;
    transform: scale(1.1);
}

.decrease-service-btn {
    background: #ffeeba;
    color: #744210;
}

.decrease-service-btn:hover {
    background: #fed7aa;
    transform: scale(1.1);
}

.remove-service-btn {
    background: #fed7d7;
    color: #e53e3e;
}

.remove-service-btn:hover {
    background: #feb2b2;
    transform: scale(1.1);
}

/* Toplam Fiyat Bölümü */
.total-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.total-price-label {
    font-size: 16px;
    letter-spacing: 0.5px;
}

.total-price-value {
    font-size: 20px;
    letter-spacing: -0.5px;
}

/* Enhanced Appointment Modal Footer */
.appointment-modal-footer {
    background: #f8fafc;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-appointment-cancel {
    background: #e2e8f0;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    min-height: 55px;
}

.btn-appointment-cancel:hover {
    background: #cbd5e0;
    border-color: #cbd5e0;
    color: #2d3748;
    transform: translateY(-2px);
}

.btn-appointment-save {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: 2px solid transparent;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    flex: 2;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.3);
    min-height: 55px;
}

.btn-appointment-save:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.btn-appointment-save:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .appointment-modal-container-large {
        max-width: 850px;
        width: 92%;
    }

    .enhanced-appointment-form {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* All sections stack vertically on tablet */
    .enhanced-appointment-form .form-section:nth-child(1),
    .enhanced-appointment-form .form-section:nth-child(2),
    .enhanced-appointment-form .form-section:nth-child(3),
    .enhanced-appointment-form .form-section:nth-child(4),
    .enhanced-appointment-form .form-section:nth-child(5),
    .enhanced-appointment-form .form-section:nth-child(6),
    .enhanced-appointment-form .form-section:nth-child(7) {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}

@media (max-width: 768px) {
    .appointment-modal-container-large {
        max-width: 95vw;
        width: 95vw;
        max-height: 95vh;
        margin: 10px;
    }

    .appointment-modal-header {
        padding: 18px 20px;
    }

    .header-text h2 {
        font-size: 20px;
    }

    .header-subtitle {
        font-size: 14px;
    }

    .appointment-modal-body {
        padding: 20px;
    }

    .enhanced-appointment-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-section {
        padding: 16px;
    }

    .datetime-row {
        flex-direction: column;
        gap: 12px;
    }

    .appointment-modal-footer {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .btn-appointment-cancel,
    .btn-appointment-save {
        flex: none;
        width: 100%;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .appointment-modal-container-large {
        border-radius: 16px;
    }

    .form-section {
        padding: 14px;
        border-radius: 10px;
    }

    .section-header {
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .section-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
        border-radius: 6px;
    }

    .section-header h3 {
        font-size: 14px;
    }

    .header-text h2 {
        font-size: 18px;
    }

    .header-subtitle {
        font-size: 13px;
    }
}

/* Appointment List Styles */
.appointment-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 2.5px solid #cbd5e1;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.appointment-item:hover {
    border-color: #667eea;
    border-width: 2.5px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.appointment-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

/* Appointment Section Styles - Bölümlendirilmiş tasarım */
.appointment-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 20px;
    border-right: 2px solid #e2e8f0;
}

.appointment-section:last-child {
    border-right: none;
    padding-right: 0;
}

.appointment-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.appointment-section-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.appointment-number {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    min-width: 50px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 8px;
    text-align: center;
}

.appointment-info .customer-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    min-width: 150px;
}

.appointment-date {
    font-size: 14px;
    color: #64748b;
    min-width: 100px;
}

.appointment-info .service-type {
    font-size: 14px;
    color: #475569;
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 6px;
}

.service-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.service-info-row .service-type {
    flex: 1;
    font-size: 14px;
    color: #475569;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 6px;
}

.service-info-row .appointment-price {
    font-size: 16px;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
}

.appointment-price {
    font-size: 16px;
    font-weight: 600;
    color: #059669;
}

.appointment-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

.appointment-status.status-bekliyor {
    background: #fef3c7;
    color: #d97706;
}

.appointment-status.status-tamamlandı {
    background: #d1fae5;
    color: #059669;
}

.appointment-status.status-iptal {
    background: #fee2e2;
    color: #dc2626;
}

.appointment-actions {
    display: flex;
    gap: 8px;
}

.appointment-actions .btn-edit,
.appointment-actions .btn-delete,
.appointment-actions .btn-complete {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.appointment-actions .btn-complete {
    background: #d1fae5;
    color: #059669;
}

.appointment-actions .btn-complete:hover {
    background: #059669;
    color: white;
    transform: scale(1.1);
}

.appointment-actions .btn-edit {
    background: #e0e7ff;
    color: #4f46e5;
}

.appointment-actions .btn-edit:hover {
    background: #4f46e5;
    color: white;
    transform: scale(1.1);
}

.appointment-actions .btn-delete {
    background: #fee2e2;
    color: #dc2626;
}

.appointment-actions .btn-delete:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.1);
}

/* Müşteri detay kolonu */
.customer-details-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
}

.customer-details-col .customer-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.customer-details-col .customer-phone {
    font-size: 13px;
    color: #64748b;
}

.customer-details-col .customer-address {
    font-size: 12px;
    color: #94a3b8;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tarih saat kolonu */
.appointment-datetime {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}

.appointment-datetime .appointment-date {
    font-size: 14px;
    color: #475569;
}

.appointment-datetime .appointment-time {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

/* Payment Type Buttons - Tamamlama Modalı */
.payment-type-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.payment-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.payment-type-btn i {
    font-size: 24px;
    color: #64748b;
}

.payment-type-btn span {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.payment-type-btn:hover {
    border-color: #667eea;
    background: #f8fafc;
    transform: translateY(-2px);
}

.payment-type-btn.active {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.payment-type-btn.active i {
    color: #667eea;
}

.payment-type-btn.active span {
    color: #667eea;
}

/* Discount Row */
.discount-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

.discount-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.discount-field label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.discount-input {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    transition: all 0.3s ease;
}

.discount-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Service Price Display */
.service-price-display {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    margin-top: 12px;
}

.service-price-display .service-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.service-price-display .original-price {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
}

/* ===== YENİ MODAL STİLLERİ - BÜYÜTÜLMÜŞ VE TAB SİSTEMİ ===== */

/* Extra Large Modal for Appointments */
.appointments-modal-extra-large {
    width: 95% !important;
    max-width: 1400px !important;
    height: 85vh !important;
    max-height: none !important;
}

/* Daily Summary Extra Large Modal */
.daily-summary-modal-extra-large {
    width: 95% !important;
    max-width: 1600px !important;
    height: 90vh !important;
    max-height: none !important;
}

/* Tab System Styles - Appointments */
.appointments-tabs {
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-buttons {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: #f8f9fa;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #e9ecef;
    color: #333;
}

.tab-btn.active {
    background: white;
    color: #007bff;
    border-bottom-color: #007bff;
}

.tab-btn.active:hover {
    background: white;
}

.tab-count {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.tab-btn.active .tab-count {
    background: #007bff;
}

.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none;
    min-height: 400px;
}

.tab-pane.active {
    display: block;
}

/* Appointment Cards in Tabs */
.appointment-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    background: white;
}

.appointment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.appointment-card.waiting {
    border-left: 5px solid #ffc107;
}

.appointment-card.confirmed {
    border-left: 5px solid #17a2b8;
}

.appointment-card.completed {
    border-left: 5px solid #28a745;
}

.appointment-card.cancelled {
    border-left: 5px solid #dc3545;
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.appointment-number {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.appointment-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-waiting {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.appointment-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.customer-info h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
}

.customer-info p,
.appointment-info p {
    margin: 4px 0;
    color: #666;
    font-size: 14px;
}

.appointment-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-edit,
.btn-complete,
.btn-delete,
.btn-view,
.btn-restore {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.btn-edit {
    background: #17a2b8;
    color: white;
}

.btn-edit:hover {
    background: #138496;
}

.btn-complete {
    background: #28a745;
    color: white;
}

.btn-complete:hover {
    background: #218838;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

.btn-view {
    background: #6c757d;
    color: white;
}

.btn-view:hover {
    background: #5a6268;
}

.btn-restore {
    background: #ffc107;
    color: #212529;
}

.btn-restore:hover {
    background: #e0a800;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 16px;
    color: #ddd;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

/* Error State */
.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #dc3545;
    background: #f8d7da;
    border-radius: 8px;
    margin: 20px 0;
}

/* Loading State */
.loading-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.loading-message i {
    margin-right: 8px;
}

/* Daily Summary Styles */
.daily-summary-header {
    background: linear-gradient(135deg, #2C3E50, #3498db);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
}

.daily-summary-header .header-title h3 {
    margin: 0;
    color: white;
}

.daily-summary-header .header-actions {
    display: flex;
    gap: 10px;
}

.date-picker-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-picker-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.daily-summary-body {
    padding: 20px;
}

.date-selector-card {
    background: white;
    border: 2px solid #2C3E50;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.date-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.date-icon {
    color: #2C3E50;
    font-size: 24px;
}

.date-display {
    flex: 1;
}

.selected-date {
    font-size: 18px;
    font-weight: bold;
    color: #2C3E50;
    margin-bottom: 4px;
}

.selected-day {
    font-size: 16px;
    color: #666;
}

.change-date-btn {
    background: #2C3E50;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.change-date-btn:hover {
    background: #34495e;
}

/* Summary Tab System */
.summary-tabs {
    margin-bottom: 20px;
}

.summary-tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: #f8f9fa;
    color: #666;
    cursor: pointer;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.summary-tab-btn:hover {
    background: #e9ecef;
    color: #333;
}

.summary-tab-btn.active {
    background: white;
    color: #2C3E50;
    border-bottom-color: #2C3E50;
}

.summary-tab-content {
    margin-top: 20px;
}

.summary-tab-pane {
    display: none;
    min-height: 300px;
}

.summary-tab-pane.active {
    display: block;
}

/* Summary Cards */
.summary-appointment-card,
.summary-expense-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.summary-appointment-card {
    border-left: 4px solid #007bff;
}

.summary-expense-card {
    border-left: 4px solid #dc3545;
}

.summary-appointment-card:hover,
.summary-expense-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.appointment-number,
.expense-category {
    font-weight: bold;
    font-size: 16px;
}

.appointment-time,
.expense-time {
    color: #666;
    font-size: 14px;
}

.customer-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-info,
.expense-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    color: #666;
    font-size: 14px;
}

.price-value {
    font-weight: bold;
    font-size: 16px;
    color: #28a745;
}

.expense-price .price-value {
    color: #dc3545;
}

/* Summary Stats */
.summary-stats {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
}

.summary-stats-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #2C3E50;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

/* Detail Section Styles */
.appointment-detail-content {
    padding: 20px 0;
}

.detail-section {
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.detail-section h4 {
    margin: 0 0 12px 0;
    color: #2C3E50;
    font-size: 16px;
    font-weight: 600;
}

.detail-section p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

.detail-section strong {
    color: #333;
    font-weight: 600;
}

/* ===== GÜNLÜK ÖZET RANDEVU KARTLARI - BÖLÜMLENDİRİLMİŞ TASARIM ===== */

/* Günlük Özet Ana Randevu Kartı - %40 Küçültülmüş */
.daily-summary-appointment-card {
    background: white;
    border: 2px solid #d1d5db;
    /* Kenar görünürlüğü için koyu kenar */
    border-radius: 12px;
    /* %40 küçük (16px -> 12px) */
    padding: 12px;
    /* %40 küçük (20px -> 12px) */
    margin-bottom: 10px;
    /* %40 küçük (16px -> 10px) */
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    /* Hafif artmış gölge */
}

.daily-summary-appointment-card:hover {
    border-color: #667eea;
    transform: translateY(-1px);
    /* %40 küçük (-2px -> -1px) */
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.18);
    /* Biraz daha belirgin */
}

/* Randevu Numarası (Günlük Özet) - %40 Küçük */
.daily-appointment-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 700;
    font-size: 12px;
    /* %40 küçük (14px -> 12px) */
    padding: 6px 12px;
    /* %40 küçük (8px 16px -> 6px 12px) */
    border-radius: 16px;
    /* %40 küçük (20px -> 16px) */
    display: inline-block;
    margin-bottom: 12px;
    /* %40 küçük (16px -> 12px) */
    box-shadow: 0 1px 5px rgba(102, 126, 234, 0.3);
    /* %40 küçük */
    letter-spacing: 0.3px;
    /* %40 küçük (0.5px -> 0.3px) */
}

/* Ana Grid Sistemi (Günlük Özet) - %40 Küçük */
.daily-appointment-grid {
    display: grid;
    grid-template-columns: 2fr auto 1.5fr auto 1.5fr auto 2fr auto 1.5fr;
    gap: 10px;
    /* %40 küçük (16px -> 10px) */
    align-items: start;
    min-height: 48px;
    /* %40 küçük (80px -> 48px) */
    padding: 5px 0;
    /* %40 küçük (8px 0 -> 5px 0) */
}

/* Bölüm Başlıkları (Günlük Özet) - %40 Küçük */
.daily-section-title {
    font-size: 9px;
    /* %40 küçük (11px -> 9px) */
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    /* %40 küçük (1px -> 0.6px) */
    margin-bottom: 8px;
    /* %40 küçük (12px -> 8px) */
    padding: 4px 8px;
    /* %40 küçük (6px 12px -> 4px 8px) */
    background: #f3f4f6;
    border-radius: 4px;
    /* %40 küçük (6px -> 4px) */
    text-align: center;
}

/* Dikey Çizgiler (Günlük Özet) - %40 Küçük */
.daily-vertical-divider {
    width: 2px;
    /* %40 küçük (3px -> 2px) */
    background: linear-gradient(to bottom, #e5e7eb, #d1d5db, #e5e7eb);
    border-radius: 1px;
    align-self: stretch;
    margin: 0 5px;
    /* %40 küçük (0 8px -> 0 5px) */
    min-height: 36px;
    /* %40 küçük (60px -> 36px) */
}

/* Müşteri Bölümü (Günlük Özet) - %40 Küçük */
.daily-section-customer {
    display: flex;
    flex-direction: column;
}

.daily-customer-name {
    font-weight: 700;
    font-size: 13px;
    /* %40 küçük (16px -> 13px) */
    color: #1f2937;
    margin-bottom: 5px;
    /* %40 küçük (8px -> 5px) */
    line-height: 1.3;
}

.daily-customer-phone {
    font-size: 11px;
    /* %40 küçük (14px -> 11px) */
    color: #059669;
    font-weight: 600;
    margin-bottom: 4px;
    /* %40 küçük (6px -> 4px) */
    display: flex;
    align-items: center;
    gap: 4px;
    /* %40 küçük (6px -> 4px) */
}

.daily-customer-phone i {
    color: #059669;
    font-size: 10px;
    /* %40 küçük (12px -> 10px) */
}

.daily-customer-address {
    font-size: 10px;
    /* %40 küçük (13px -> 10px) */
    color: #6b7280;
    line-height: 1.4;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    /* %40 küçük (6px -> 4px) */
}

.daily-customer-address i {
    color: #9ca3af;
    font-size: 9px;
    /* %40 küçük (12px -> 9px) */
    margin-top: 1px;
    flex-shrink: 0;
}

/* Tarih ve Saat Bölümü (Günlük Özet) - %40 Küçük */
.daily-section-datetime {
    display: flex;
    flex-direction: column;
}

.daily-appointment-dates {
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* %40 küçük (8px -> 5px) */
}

.daily-date-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    /* %40 küçük (4px -> 3px) */
}

.daily-date-label {
    font-size: 9px;
    /* %40 küçük (12px -> 9px) */
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    /* %40 küçük (0.5px -> 0.3px) */
}

.daily-date-value,
.daily-time-value {
    font-size: 11px;
    /* %40 küçük (14px -> 11px) */
    color: #374151;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    /* %40 küçük (6px -> 4px) */
}

.daily-date-value i,
.daily-time-value i {
    color: #6366f1;
    font-size: 9px;
    /* %40 küçük (12px -> 9px) */
}

/* Tamamlanma Tarihi Bölümü (Günlük Özet) - %40 Küçük */
.daily-section-completed {
    display: flex;
    flex-direction: column;
}

.daily-completed-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* %40 küçük (6px -> 4px) */
}

.daily-completed-date,
.daily-completed-time {
    font-size: 11px;
    /* %40 küçük (14px -> 11px) */
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    /* %40 küçük (6px -> 4px) */
}

.daily-completed-date i,
.daily-completed-time i {
    color: #10b981;
    font-size: 9px;
    /* %40 küçük (12px -> 9px) */
}

/* Hizmet Bölümü (Günlük Özet) - %40 Küçük */
.daily-section-service {
    display: flex;
    flex-direction: column;
}

.daily-service-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* %40 küçük (8px -> 5px) */
}

.daily-service-name {
    font-size: 11px;
    /* %40 küçük (14px -> 11px) */
    color: #374151;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    /* %40 küçük (6px -> 4px) */
    line-height: 1.4;
}

.daily-service-name i {
    color: #8b5cf6;
    font-size: 9px;
    /* %40 küçük (12px -> 9px) */
    flex-shrink: 0;
}

.daily-service-price {
    font-size: 12px;
    /* %40 küçük (16px -> 12px) */
    color: #059669;
    font-weight: 700;
    background: #ecfdf5;
    padding: 4px 8px;
    /* %40 küçük (6px 12px -> 4px 8px) */
    border-radius: 6px;
    /* %40 küçük (8px -> 6px) */
    text-align: center;
    border: 1px solid #d1fae5;
}

/* Açıklama Bölümü (Günlük Özet) - %40 Küçük */
.daily-section-description {
    display: flex;
    flex-direction: column;
}

.daily-description-text {
    font-size: 10px;
    /* %40 küçük (13px -> 10px) */
    color: #6b7280;
    line-height: 1.4;
    font-style: italic;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    /* %40 küçük (6px -> 4px) */
    min-height: 24px;
    /* %40 küçük (40px -> 24px) */
    padding: 5px;
    /* %40 küçük (8px -> 5px) */
    background: #f9fafb;
    border-radius: 6px;
    /* %40 küçük (8px -> 6px) */
    border: 1px solid #e5e7eb;
}

.daily-description-text i {
    color: #9ca3af;
    font-size: 9px;
    /* %40 küçük (12px -> 9px) */
    margin-top: 1px;
    flex-shrink: 0;
}

/* ===== YENİ LAYOUT: TARIH VE İSTATİSTİKLER ÜST KISIMDA ===== */

/* Üst Kısım - Tarih ve İstatistikler Yan Yana - Taşma Önleyici */
.daily-summary-top-section {
    display: flex;
    gap: 16px;
    /* Azaltılmış gap */
    padding: 16px;
    /* Azaltılmış padding */
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    align-items: stretch;
    /* Tüm öğelerin aynı yükseklikte olmasını sağla */
}

/* Tarih Seçici Inline - İstatistik Kartlarıyla Aynı Yükseklik */
.date-selector-card-inline {
    flex: 0 0 auto;
    /* flex büyümeyi engelle */
    background: white;
    border: 2px solid #2C3E50;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 200px;
    height: 120px;
    /* İstatistik kartlarıyla aynı yükseklik */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* İstatistik Kartları İçin Ana Konteyner - Taşma Önleyici */
.summary-stats-inline {
    flex: 1;
    max-width: calc(100% - 220px);
    /* Tarih kartı için alan bırak */
    overflow: hidden;
}

/* İstatistik Konteynerı - Daha Büyük Boyut */
.daily-summary-stats-container {
    width: 100%;
    height: 200px;
    /* 180px'den 200px'e çıkardık - daha yüksek */
    display: flex;
    gap: 20px;
    /* 15px'den 20px'e çıkardık - daha geniş aralık */
    padding: 15px 30px;
    /* Container'a padding eklendi */
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: visible;
    /* hidden'dan visible'a */
}

.daily-stat-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-width: 200px;
    /* Sabit minimum genişlik */
    max-width: none;
    /* Max-width kısıtlaması kaldırıldı */
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 12px;
    /* 16px 8px'den 20px 12px'e - daha fazla padding */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    text-align: center;
    box-sizing: border-box;
}

.daily-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #818cf8;
}

.daily-stat-item:hover .daily-stat-icon {
    transform: scale(1.05);
    /* İkon arka planı ile birlikte büyüme */
}

/* İstatistik İkonu - Tüm İkonlar Beyaz */
.daily-stat-icon {
    margin-bottom: 6px;
}

.daily-stat-icon i {
    font-size: 22px;
    color: white;
    /* Tüm ikonlar beyaz */
}

/* İkon arka plan renklerini kategoriye göre ayarla */
.daily-stat-appointments .daily-stat-icon {
    background: #10b981;
    /* Yeşil arka plan */
    border-radius: 8px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.daily-stat-expenses .daily-stat-icon {
    background: #f59e0b;
    /* Turuncu arka plan */
    border-radius: 8px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.daily-stat-revenue .daily-stat-icon {
    background: #3b82f6;
    /* Mavi arka plan */
    border-radius: 8px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.daily-stat-profit .daily-stat-icon {
    background: #8b5cf6;
    /* Mor arka plan */
    border-radius: 8px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.daily-stat-profit.negative .daily-stat-icon {
    background: #ef4444;
    /* Kırmızı arka plan - zarar durumu */
}

/* İstatistik İçerik */
.daily-stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    /* Biraz daha fazla gap */
}

/* İstatistik Değeri - Daha Büyük */
.daily-stat-value {
    font-size: 20px;
    /* 16px'den 20px'e - daha büyük sayılar */
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 6px;
    /* 4px'den 6px'e */
}

/* Sadece zarar durumunda kırmızı */
.daily-stat-profit.negative .daily-stat-value {
    color: #ef4444;
}

/* İstatistik Etiketi - Daha Okunabilir */
.daily-stat-label {
    font-size: 12px;
    /* 10px'den 12px'e - daha okunabilir etiketler */
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
    text-align: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tarih Kartı İç Yapısı - Dikey Layout */
.date-icon {
    color: #2C3E50;
    font-size: 24px;
    text-align: center;
    margin-bottom: 8px;
}

.date-display {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.selected-date {
    font-weight: 700;
    font-size: 14px;
    color: #2C3E50;
    line-height: 1.2;
}

.selected-day {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Tarih Seç Butonu - Dikey Layout İçin Optimize */
.change-date-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: auto;
}

.change-date-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.change-date-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}

.change-date-btn i {
    font-size: 10px;
}

/* Günlük Özet Body Scroll */
.daily-summary-body-scrollable {
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
    /* Header ve top section için yer bırak */
    padding: 20px;
}

.daily-summary-body-scrollable::-webkit-scrollbar {
    width: 8px;
}

.daily-summary-body-scrollable::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.daily-summary-body-scrollable::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.daily-summary-body-scrollable::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* ===== GÜNLÜK ÖZET İSTATİSTİK KARTLARI ===== */

/* İstatistik Konteynerı (4 Sütun) */
.daily-summary-stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    /* 20px'den 25px'e */
    margin: 24px 0;
    padding: 25px 40px;
    /* 20px'den 25px 40px'e - daha geniş padding */
    background: #f8fafc;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    width: 100%;
    /* Tam genişlik */
    box-sizing: border-box;
}

/* İstatistik Öğesi */
.daily-stat-item {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    /* 20px'den 25px 20px'e - daha yüksek */
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    min-height: 120px;
    /* Minimum yükseklik */
    min-width: 200px;
    /* Minimum genişlik */
}

.daily-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* İstatistik İkonları */
.daily-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* İstatistik İçeriği */
.daily-stat-content {
    flex: 1;
}

.daily-stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1;
}

.daily-stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Randevu İstatistik Kartı */
.daily-stat-appointments {
    border-left-color: #8b5cf6;
}

.daily-stat-appointments .daily-stat-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.daily-stat-appointments .daily-stat-value {
    color: #8b5cf6;
}

.daily-stat-appointments .daily-stat-label {
    color: #6d28d9;
}

/* Gider İstatistik Kartı */
.daily-stat-expenses {
    border-left-color: #ef4444;
}

.daily-stat-expenses .daily-stat-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.daily-stat-expenses .daily-stat-value {
    color: #ef4444;
}

.daily-stat-expenses .daily-stat-label {
    color: #dc2626;
}

/* Gelir İstatistik Kartı */
.daily-stat-revenue {
    border-left-color: #10b981;
}

.daily-stat-revenue .daily-stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.daily-stat-revenue .daily-stat-value {
    color: #10b981;
}

.daily-stat-revenue .daily-stat-label {
    color: #059669;
}

/* Kar/Zarar İstatistik Kartı (Pozitif) */
.daily-stat-profit.positive {
    border-left-color: #3b82f6;
}

.daily-stat-profit.positive .daily-stat-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.daily-stat-profit.positive .daily-stat-value {
    color: #3b82f6;
}

.daily-stat-profit.positive .daily-stat-label {
    color: #2563eb;
}

/* Kar/Zarar İstatistik Kartı (Negatif) */
.daily-stat-profit.negative {
    border-left-color: #f59e0b;
}

.daily-stat-profit.negative .daily-stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.daily-stat-profit.negative .daily-stat-value {
    color: #f59e0b;
}

.daily-stat-profit.negative .daily-stat-label {
    color: #d97706;
}

/* Tablet Responsive (1024px ve altı) */
@media (max-width: 1024px) {
    .daily-appointment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .daily-vertical-divider {
        display: none;
    }

    .daily-summary-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        /* 16px'den 20px'e */
        padding: 20px 25px;
        /* Daha geniş padding */
    }

    .daily-stat-item {
        padding: 20px 16px;
        /* 16px'den 20px 16px'e */
        min-height: 100px;
        /* Minimum yükseklik */
        min-width: 180px;
        /* Minimum genişlik */
    }

    .daily-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .daily-stat-value {
        font-size: 20px;
    }
}

/* Mobil Responsive (768px ve altı) */
@media (max-width: 768px) {
    .daily-summary-appointment-card {
        padding: 16px;
        margin-bottom: 12px;
    }

    .daily-appointment-grid {
        gap: 12px;
    }

    .daily-section-title {
        font-size: 10px;
        padding: 4px 8px;
        margin-bottom: 8px;
    }

    .daily-customer-name {
        font-size: 14px;
    }

    .daily-customer-phone,
    .daily-date-value,
    .daily-time-value,
    .daily-completed-date,
    .daily-completed-time,
    .daily-service-name {
        font-size: 12px;
    }

    .daily-service-price {
        font-size: 14px;
        padding: 4px 8px;
    }

    .daily-summary-stats-container {
        grid-template-columns: 1fr;
        /* Mobilde tek sütun */
        gap: 15px;
        /* 12px'den 15px'e */
        padding: 20px;
        /* 16px'den 20px'e */
    }

    .daily-stat-item {
        padding: 16px;
        /* 12px'den 16px'e */
        gap: 14px;
        /* 12px'den 14px'e */
        min-height: 90px;
        /* Minimum yükseklik */
    }

    .daily-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .daily-stat-value {
        font-size: 18px;
    }

    .daily-stat-label {
        font-size: 11px;
    }
}

/* Küçük Mobil Responsive (480px ve altı) */
@media (max-width: 480px) {
    .daily-summary-appointment-card {
        padding: 12px;
        border-radius: 12px;
    }

    .daily-appointment-number {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 12px;
    }

    .daily-section-title {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .daily-customer-name {
        font-size: 13px;
    }

    .daily-service-price {
        font-size: 13px;
    }

    .daily-stat-value {
        font-size: 16px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {

    .appointments-modal-extra-large,
    .daily-summary-modal-extra-large {
        width: 98%;
        height: 90vh;
    }
}

@media (max-width: 768px) {
    .appointment-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .tab-btn {
        padding: 12px 8px;
        font-size: 14px;
    }

    .summary-stats-container {
        flex-direction: column;
        gap: 16px;
    }

    .date-info {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ===== KOMPAKT RANDEVU KARTLARI - %40 KÜÇÜLTÜLMÜŞ ===== */

/* Ana Kompakt Kart */
.appointment-card-compact {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.appointment-card-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Durum Sınıfları (Sol Kenarlık) */
.appointment-card-compact.waiting {
    border-left: 4px solid #ffc107;
}

.appointment-card-compact.confirmed {
    border-left: 4px solid #17a2b8;
}

.appointment-card-compact.completed {
    border-left: 4px solid #28a745;
}

.appointment-card-compact.cancelled {
    border-left: 4px solid #dc3545;
}

/* Randevu Numarası (Üst) */
.appointment-number-compact {
    background: #f8f9fa;
    color: #333;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

/* Ana Grid Layout */
.appointment-content-grid {
    display: grid;
    grid-template-columns: 2fr auto 1fr auto 1.5fr auto 1fr auto minmax(150px, 1.2fr);
    gap: 8px;
    align-items: start;
    min-height: 60px;
    padding: 8px 0;
    overflow: hidden;
}

/* Bölüm Başlıkları */
.section-title {
    font-size: 10px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Dikey Çizgi */
.vertical-divider {
    width: 2px;
    background: #c0c0c0;
    height: 50px;
    margin: 0 6px;
    border-radius: 1px;
    align-self: stretch;
}

/* Müşteri Bölümü (Küçük) */
.section-customer {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 55px;
}

.customer-name-compact {
    font-weight: 600;
    font-size: 13px;
    color: #333;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-phone-compact {
    font-size: 11px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-phone-compact i {
    margin-right: 2px;
    font-size: 16px;
}

.customer-address-compact {
    font-size: 12px;
    /* 11px'den 12px'e - daha büyük */
    color: #333;
    /* #555'den #333'e - daha koyu */
    line-height: 1.3;
    margin-top: 3px;
    /* 2px'den 3px'e */
    font-weight: 600;
    /* 500'den 600'e - daha kalın */
    max-height: 45px;
    /* 40px'den 45px'e */
    overflow-y: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-shadow: 0.5px 0.5px 0px rgba(0, 0, 0, 0.1);
    background: rgba(139, 69, 19, 0.05);
    /* Hafif kahverengi arka plan */
    padding: 2px 4px;
    /* Padding ekle */
    border-radius: 3px;
    /* Köşeleri yuvarlak */
    border-left: 3px solid #8B4513;
    /* Sol kenar çizgisi */
}

.customer-address-compact i {
    margin-right: 3px;
    font-size: 16px;
    color: #666;
    vertical-align: top;
    margin-top: 1px;
}

.customer-address-compact::-webkit-scrollbar {
    width: 3px;
}

.customer-address-compact::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.customer-address-compact::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.customer-address-compact::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Tarih ve Saat Bölümü */
.section-datetime {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.date-compact,
.time-compact {
    font-size: 11px;
    color: #333;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.date-compact i,
.time-compact i {
    font-size: 16px;
    color: #666;
}

/* Hizmet ve Fiyat Bölümü - Inline */
.section-service-price {
    min-width: 0;
}

.service-price-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.service-name-inline {
    color: #333;
    font-weight: 500;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.service-name-inline i {
    font-size: 16px;
    color: #666;
}

.price-separator {
    color: #999;
    font-weight: 400;
    margin: 0 4px;
    font-size: 11px;
}

.price-inline {
    color: #28a745;
    font-weight: 600;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-inline i {
    font-size: 16px;
    color: #28a745;
}

/* Durum ve Aksiyonlar Bölümü */
.section-status-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    max-width: 100%;
    padding: 4px;
    overflow: visible;
}

/* Durum Badge'i */
.status-badge {
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    min-width: 60px;
    width: 100%;
    max-width: 120px;
    flex-shrink: 0;
}

.status-badge.status-waiting {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Aksiyon İkonları */
.action-icons {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
}

.action-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    background: white;
    flex-shrink: 0;
}

.action-icon i {
    font-size: 14px;
    color: #666;
}

.action-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Specific Action Colors */
.action-icon:nth-child(1) {
    /* Tamamla/Görüntüle/Geri Yükle */
    border-color: #28a745;
}

.action-icon:nth-child(1):hover {
    background: #28a745;
}

.action-icon:nth-child(1):hover i {
    color: white;
}

.action-icon:nth-child(2) {
    /* Düzenle */
    border-color: #17a2b8;
}

.action-icon:nth-child(2):hover {
    background: #17a2b8;
}

.action-icon:nth-child(2):hover i {
    color: white;
}

.action-icon:nth-child(3) {
    /* Sil */
    border-color: #dc3545;
}

.action-icon:nth-child(3):hover {
    background: #dc3545;
}

.action-icon:nth-child(3):hover i {
    color: white;
}

/* Tablet ve Mobil Responsive */
@media (max-width: 1024px) {
    .appointment-content-grid {
        grid-template-columns: 2fr auto 1fr auto 1fr auto 1fr auto 1fr;
        gap: 6px;
        min-height: 55px;
        padding: 6px 0;
    }

    .vertical-divider {
        height: 45px;
    }

    .customer-name-compact {
        font-size: 12px;
    }

    .customer-phone-compact,
    .date-compact,
    .time-compact,
    .service-compact,
    .price-compact {
        font-size: 10px;
    }

    .action-icon {
        width: 26px;
        height: 26px;
    }

    .action-icon i {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .appointment-content-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
        min-height: auto;
        max-height: none;
    }

    .vertical-divider {
        display: none;
    }

    .section-customer,
    .section-datetime,
    .section-service-price,
    .section-status-actions {
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .section-status-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-bottom: none;
    }

    .action-icons {
        gap: 6px;
    }
}

/* ===== AÇIKLAMA BÖLÜMÜ STİLLERİ ===== */

/* Açıklama Bölümü */
.section-description {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    justify-content: flex-start;
}

.description-text {
    color: #555;
    font-size: 11px;
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.description-text i {
    color: #6b7280;
    font-size: 16px;
    margin-top: 1px;
    flex-shrink: 0;
}

.description-text::-webkit-scrollbar {
    width: 2px;
}

.description-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 1px;
}

.description-text::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 1px;
}

.description-text::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ===== DÜZENLEME MODAL STİLLERİ ===== */

/* Modal Edit Form Styling */
.edit-appointment-content {
    max-height: 85vh;
    overflow-y: auto;
    padding: 24px;
}

.edit-appointment-content::-webkit-scrollbar {
    width: 6px;
}

.edit-appointment-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.edit-appointment-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.edit-appointment-content::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Current Service Display */
.current-service-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
}

.current-service-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.current-service-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.current-service-price {
    color: #059669;
    font-weight: 700;
    font-size: 16px;
}

.change-service-btn {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.change-service-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Service Edit Form */
.service-edit-form {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.add-service-btn,
.cancel-service-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-top: 16px;
    margin-right: 12px;
}

.add-service-btn {
    background: #059669;
    color: white;
}

.add-service-btn:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.cancel-service-btn {
    background: #dc2626;
    color: white;
}

.cancel-service-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Date Picker Modal Styles */
.date-picker-modal {
    max-width: 500px;
    width: 90%;
}

.date-picker-content {
    padding: 24px;
}

.current-date-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
}

.current-date-icon {
    font-size: 48px;
    opacity: 0.9;
}

.current-date-text {
    flex: 1;
}

.current-date-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
    font-weight: 500;
}

.current-date-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.current-day-value {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
}

.date-input-section {
    margin-bottom: 32px;
}

.date-input-section label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.date-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    background: #f9fafb;
    transition: all 0.2s ease;
    font-family: inherit;
}

.date-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.date-picker-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.btn-date-cancel,
.btn-date-confirm {
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    min-width: 120px;
    justify-content: center;
}

.btn-date-cancel {
    background: #f3f4f6;
    color: #6b7280;
}

.btn-date-cancel:hover {
    background: #e5e7eb;
    color: #4b5563;
    transform: translateY(-1px);
}

.btn-date-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-date-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* =============================================
   ENHANCED APPOINTMENTS DATE FILTERING SYSTEM
   ============================================= */

/* Tarih Filtre Kontainer */
.appointments-date-filter {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.filter-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-header h4 i {
    color: #6366f1;
}

.btn-reset-filter {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-reset-filter:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Filtre Kontrolleri */
.filter-controls {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.date-range label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-range input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: all 0.2s;
}

.date-range input[type="date"]:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Hızlı Filtreler */
.quick-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-quick-filter {
    padding: 8px 12px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-quick-filter:hover {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

/* Aktif Tarih Göstergesi */
.active-dates-indicator {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.active-dates-indicator small {
    color: #6b7280;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-indicator {
    color: #10b981;
    font-weight: bold;
}

/* Tab Kontrolleri ve Temizlik Butonları */
.tab-buttons {
    position: relative;
}

.tab-btn {
    position: relative;
}

.btn-clear-tab {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    border: none;
    border-radius: 4px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    cursor: pointer;
    opacity: 0.8;
    /* Her zaman görünsün */
    transition: all 0.2s;
    z-index: 15;
    /* z-index artır */
    pointer-events: auto;
    /* Click olaylarını etkinleştir */
}

.tab-btn {
    position: relative;
    /* Butonu relative yap ki absolute child çalışsın */
}

.tab-btn:hover .btn-clear-tab {
    opacity: 1;
}

.btn-clear-tab:hover {
    background: #dc2626;
    transform: scale(1.1);
    opacity: 1;
    /* Hover'da tamamen görün */
}

/* Tab İçerik Kontrolleri */
.tab-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.tab-info {
    flex: 1;
}

.filter-info {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Siparişleri Temizle Butonu - Tab Controls İçinde */
.btn-clear-appointments {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.btn-clear-appointments:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.btn-clear-appointments:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
}

.btn-clear-appointments i {
    font-size: 16px;
}

.btn-clear-appointments span {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-controls {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quick-filters {
        justify-content: center;
    }

    .btn-quick-filter {
        flex: 1;
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .appointments-date-filter {
        padding: 16px;
        margin-bottom: 16px;
    }

    .filter-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .quick-filters {
        flex-direction: column;
    }

    .btn-quick-filter {
        width: 100%;
    }
}