/* Modern Tarz CSS - Sistem Geneli */

/* Outfit Font Import */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* Genel Body Arkaplan - Meta Style */
body {
    background-attachment: fixed;
    min-height: 100vh;
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif !important;
}

/* Sistem genelinde Outfit fontu - Font Awesome ikonlarını hariç tut */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
li,
td,
th,
label,
input,
textarea,
select,
button {
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif !important;
}

/* Font Awesome ikonlarını koru - font-family'yi değiştirme */
i[class*="fa-"],
i[class*="fas"],
i[class*="far"],
i[class*="fab"],
i[class*="fal"],
i[class*="fad"],
.fa,
.fas,
.far,
.fab,
.fal,
.fad,
[class*="fa-"],
[class^="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro",
        "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
}

/* Modern Tablo Stilleri */
.modern-table-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-table-header {
    background: #fff;
    color: #1e293b;
    padding: 20px 24px;
    border-bottom: 2px solid #e2e8f0;
}

.modern-table-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modern-table-title i {
    font-size: 20px;
    opacity: 0.9;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.modern-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
}

.modern-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 14px;
    vertical-align: middle;
}

.modern-table tbody tr {
    transition: all 0.2s ease;
}

.modern-table tbody tr:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badge Stilleri */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.status-badge.status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge.status-expiring {
    background: rgba(251, 146, 60, 0.1);
    color: #ea580c;
    border: 1px solid rgba(251, 146, 60, 0.2);
}

.status-badge.status-expired {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.status-pending {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Progress Bar */
.progress-modern {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-modern-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Action Buttons */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-btn.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.action-btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.action-btn.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.action-btn.btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
    text-decoration: none;
}

.action-btn.btn-danger {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.action-btn.btn-danger:hover {
    background: #fecaca;
    color: #b91c1c;
    text-decoration: none;
}

.action-btn.btn-success {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.action-btn.btn-success:hover {
    background: #bbf7d0;
    color: #15803d;
    text-decoration: none;
}

.action-btn.btn-warning {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.action-btn.btn-warning:hover {
    background: #fde68a;
    color: #b45309;
    text-decoration: none;
}

/* Avatar */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.empty-state h4 {
    margin: 0 0 8px 0;
    color: #475569;
    font-weight: 600;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
}

/* Loading State */
.loading-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modern-table-wrapper {
        border-radius: 12px;
    }

    .modern-table-header {
        padding: 16px 20px;
    }

    .modern-table th,
    .modern-table td {
        padding: 12px 16px;
        font-size: 13px;
    }

    .modern-table-title {
        font-size: 16px;
    }
}

/* Card Variations */
.card-modern {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-modern-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-bottom: none;
}

.card-modern-body {
    padding: 24px;
}

.card-modern-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-modern-title i {
    font-size: 20px;
    opacity: 0.9;
}

/* Stats Cards */
.stats-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-card:hover {
    transform: translateY(-4px);
}

/* Stats Cards Container - Tek satırda tutmak için */
.row.stats-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0;
}

.row.stats-row .col-lg-2,
.row.stats-row .col-md-4,
.row.stats-row .col-sm-6 {
    flex: 0 0 auto;
    width: auto;
    min-width: 200px;
    padding: 0 8px;
}

/* Responsive için */
@media (max-width: 1200px) {
    .row.stats-row .col-lg-2 {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .row.stats-row .col-md-4 {
        min-width: 160px;
    }
}

@media (max-width: 576px) {
    .row.stats-row .col-sm-6 {
        min-width: 140px;
    }
}

.stats-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
    color: white;
}

.stats-card-icon.icon-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stats-card-icon.icon-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stats-card-icon.icon-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stats-card-icon.icon-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.stats-card-number {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px 0;
}

.stats-card-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

/* Financial Summary Card */
.financial-summary {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    color: #1e293b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.financial-summary-header {
    text-align: center;
    margin-bottom: 24px;
}

.financial-summary-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1e293b;
}

.financial-summary-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.financial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.financial-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #e2e8f0;
}

.financial-label {
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}

.financial-value {
    font-size: 16px;
    font-weight: 600;
    text-align: right;
}

.financial-value.positive {
    color: #10b981;
}

.financial-value.negative {
    color: #ef4444;
}

.financial-value.neutral {
    color: #fbbf24;
}

.financial-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 12px;
    color: #64748b;
}

.financial-item-content {
    display: flex;
    align-items: center;
    flex: 1;
}

/* Modern Button Styles - Pastel Colors */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.btn-modern:active {
    transform: translateY(-1px);
}

.btn-modern:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

/* Primary Button - Soft Lavender */
.btn-primary {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
    border: 1px solid #d8b4fe;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
    color: #6d28d9;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25);
}

/* Secondary Button - Soft Sage */
.btn-secondary {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.25);
}

/* Success Button - Soft Mint */
.btn-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    border: 1px solid #a7f3d0;
}

.btn-success:hover {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #047857;
    box-shadow: 0 12px 30px rgba(5, 150, 105, 0.25);
}

/* Danger Button - Soft Rose */
.btn-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    color: #b91c1c;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.25);
}

/* Warning Button - Soft Peach */
.btn-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    border: 1px solid #fde68a;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.25);
}

/* Info Button - Soft Sky */
.btn-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
    border: 1px solid #7dd3fc;
}

.btn-info:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #7dd3fc 100%);
    color: #0369a1;
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.25);
}

/* Light Button - Soft Cream */
.btn-light {
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-light:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    box-shadow: 0 12px 30px rgba(100, 116, 139, 0.15);
}

/* Dark Button - Soft Slate */
.btn-dark {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-dark:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #334155;
    box-shadow: 0 12px 30px rgba(71, 85, 105, 0.25);
}

/* Pastel Span Styles */
span.pastel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

span.pastel-badge.pastel-lavender {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
    border: 1px solid #d8b4fe;
}

span.pastel-badge.pastel-sage {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

span.pastel-badge.pastel-mint {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    border: 1px solid #a7f3d0;
}

span.pastel-badge.pastel-rose {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    color: #dc2626;
    border: 1px solid #fca5a5;
}

span.pastel-badge.pastel-peach {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    border: 1px solid #fde68a;
}

span.pastel-badge.pastel-sky {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
    border: 1px solid #7dd3fc;
}

span.pastel-badge.pastel-cream {
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    color: #64748b;
    border: 1px solid #e2e8f0;
}

span.pastel-badge.pastel-slate {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    border: 1px solid #cbd5e1;
}

/* Pastel Text Spans */
span.pastel-text {
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

span.pastel-text.pastel-lavender-text {
    background: rgba(243, 232, 255, 0.3);
    color: #7c3aed;
}

span.pastel-text.pastel-sage-text {
    background: rgba(240, 253, 244, 0.3);
    color: #16a34a;
}

span.pastel-text.pastel-mint-text {
    background: rgba(236, 253, 245, 0.3);
    color: #059669;
}

span.pastel-text.pastel-rose-text {
    background: rgba(254, 242, 242, 0.3);
    color: #dc2626;
}

span.pastel-text.pastel-peach-text {
    background: rgba(255, 251, 235, 0.3);
    color: #d97706;
}

span.pastel-text.pastel-sky-text {
    background: rgba(240, 249, 255, 0.3);
    color: #0284c7;
}

span.pastel-text.pastel-cream-text {
    background: rgba(254, 254, 254, 0.3);
    color: #64748b;
}

span.pastel-text.pastel-slate-text {
    background: rgba(248, 250, 252, 0.3);
    color: #475569;
}

/* General Pastel Span Styles */
span.pastel-highlight {
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 500;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    border: 1px solid #fde68a;
}

span.pastel-info {
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 500;
    background: linear-gradient(135deg, #e0f2fe 0%, #7dd3fc 100%);
    color: #0284c7;
    border: 1px solid #7dd3fc;
}

span.pastel-success {
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 500;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    border: 1px solid #a7f3d0;
}

span.pastel-warning {
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 500;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    border: 1px solid #fde68a;
}

span.pastel-error {
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 500;
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* Pastel Status Indicators */
span.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

span.status-indicator.status-active {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    border: 1px solid #a7f3d0;
}

span.status-indicator.status-pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    border: 1px solid #fde68a;
}

span.status-indicator.status-inactive {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #64748b;
    border: 1px solid #cbd5e1;
}

span.status-indicator.status-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* Phone Input Mask Styles */
input[type="tel"].phone-mask {
    font-family: "Courier New", monospace;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 500;
}

input[type="tel"].phone-mask:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

input[type="tel"].phone-mask.valid {
    border-color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

input[type="tel"].phone-mask.invalid {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

input[type="tel"].phone-mask::placeholder {
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: normal;
}

/* Phone Input Validation Messages */
.phone-validation-message {
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    display: none;
}

.phone-validation-message.valid {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.phone-validation-message.invalid {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.phone-validation-message.show {
    display: block;
}

/* Button Sizes */
.btn-modern.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    min-height: 36px;
    border-radius: 8px;
}

.btn-modern.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    min-height: 52px;
    border-radius: 16px;
}

.btn-modern.btn-xl {
    padding: 20px 40px;
    font-size: 18px;
    min-height: 60px;
    border-radius: 20px;
}

/* Button States */
.btn-modern:disabled,
.btn-modern.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-modern:disabled:hover,
.btn-modern.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Icon Buttons */
.btn-modern.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    min-height: 44px;
}

.btn-modern.btn-icon.btn-sm {
    width: 36px;
    height: 36px;
    min-height: 36px;
}

.btn-modern.btn-icon.btn-lg {
    width: 52px;
    height: 52px;
    min-height: 52px;
}

/* Header Actions - Modern Design */
.header-actions-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-action-item {
    position: relative;
}

.header-action-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    height: 44px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    padding: 0 16px;
    min-width: 80px;
}

.header-action-link:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #1f2937;
}

.header-action-icon {
    position: relative;
    font-size: 16px;
    color: #64748b;
    transition: color 0.2s ease;
}

.header-action-link:hover .header-action-icon {
    color: #374151;
}

.header-action-text {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    transition: color 0.2s ease;
}

.header-action-link:hover .header-action-text {
    color: #374151;
}

/* Çıkış butonu için özel stil */
.header-action-logout:hover {
    background: #fef2f2;
    border-color: #fecaca;
}

.header-action-logout:hover .header-action-icon {
    color: #dc2626;
}

.header-action-logout:hover .header-action-text {
    color: #dc2626;
}

/* Bildirim badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: pulse 2s infinite;
}

.modern-nav-menu {
    display: flex;
    gap: 10px;
}

.modern-nav-menu a {
    text-decoration: none;
    color: #334155;
    background: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.modern-nav-menu a.active {
    background: #0277bd;
    color: #fff;
}

.modern-nav-menu a:hover {
    background: #0277bd;
    color: #fff;
}

.modern-input {
    background: #fff;
    border: 1px solid #f4f4f4;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 16px;
}

.modern-select {
    background: #fff;
    border: 1px solid #f4f4f4;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 16px;
}

.modern-input:focus,
.modern-select:focus {
    outline: none;
    border-color: #0277bd;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.modern-label {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

/* Select ok (dropdown indicator) */
select.form-select.modern-input,
.modern-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23334555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 14px;
    padding-right: 52px; /* ok için sağ boşluk */
}

/* IE/Edge eski sürümler okunu gizle */
select.form-select.modern-input::-ms-expand {
    display: none;
}
.modern-select::-ms-expand {
    display: none;
}

/* Karanlık arka planlarda okun görünürlüğü için varyant */
.bg-dark select.form-select.modern-input,
.bg-dark .modern-select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}

/* Modern Select görünümü */
select.form-select.modern-input,
.modern-select {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px 20px;
    color: #1f2937;
    line-height: 1.25;
    transition: border-color 0.2s ease, box-shadow 0.2s ease,
        background-color 0.2s ease, color 0.2s ease;
}

select.form-select.modern-input:hover,
.modern-select:hover {
    border-color: #cbd5e1;
}

select.form-select.modern-input:focus,
.modern-select:focus {
    border-color: #0277bd;
    box-shadow: 0 0 0 4px rgba(2, 119, 189, 0.12);
}

select.form-select.modern-input:disabled,
.modern-select:disabled {
    background-color: #f8fafc;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.9;
}

/* Boyut varyantları */
select.form-select.modern-input.select-sm,
.modern-select.select-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 10px;
}

select.form-select.modern-input.select-lg,
.modern-select.select-lg {
    padding: 16px 22px;
    font-size: 17px;
    border-radius: 14px;
}

/* Doğrulama durumları */
select.form-select.modern-input.is-valid,
.modern-select.is-valid {
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

select.form-select.modern-input.is-invalid,
.modern-select.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

/* Option ve Optgroup (tarayıcı destekli olduğu ölçüde) */
select.form-select.modern-input option,
.modern-select option {
    color: #1f2937;
    background: #ffffff;
}

select.form-select.modern-input optgroup,
.modern-select optgroup {
    color: #475569;
    font-weight: 600;
}

/* Karanlık arka plan varyantı */
.bg-dark select.form-select.modern-input,
.bg-dark .modern-select {
    background-color: #0f172a;
    color: #e2e8f0;
    border-color: #1e293b;
}

.bg-dark select.form-select.modern-input:hover,
.bg-dark .modern-select:hover {
    border-color: #334155;
}

.bg-dark select.form-select.modern-input:focus,
.bg-dark .modern-select:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}

/* Username durum stilleri */
.username-status {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 700;
}
.username-status.loading {
    color: #64748b;
}
.username-status.ok {
    color: #16a34a;
}
.username-status.error {
    color: #dc2626;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6),
            0 0 0 8px rgba(239, 68, 68, 0.1);
    }
    100% {
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
}

/* Modern User Dropdown */
.modern-user-dropdown {
    position: relative;
    display: inline-block;
}

.modern-user-icon {
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
    color: inherit;
}

.modern-user-icon i {
    font-size: 20px;
    color: inherit;
}

.modern-user-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.modern-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    margin-top: 8px;
}

.modern-user-dropdown:hover .modern-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-dropdown-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modern-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modern-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.modern-user-details {
    flex: 1;
    min-width: 0;
}

.modern-user-details .modern-user-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
    color: white;
    max-width: none;
}

.modern-user-email {
    font-size: 12px;
    opacity: 0.9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modern-dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0;
}

.modern-dropdown-items {
    padding: 8px 0;
}

.modern-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.modern-dropdown-item:hover {
    background: #f8fafc;
    color: #1f2937;
    text-decoration: none;
}

.modern-dropdown-item i {
    width: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.modern-dropdown-item:hover i {
    color: #374151;
}

.modern-dropdown-logout {
    color: #dc2626 !important;
}

.modern-dropdown-logout:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

.modern-dropdown-logout i {
    color: #dc2626 !important;
}

.modern-dropdown-logout:hover i {
    color: #b91c1c !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-actions-container {
        padding: 15px 15px 15px 70px; /* Sol tarafta hamburger menü için boşluk */
    }

    .header-actions {
        gap: 6px;
    }

    .header-action-link {
        min-width: 44px !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        justify-content: center !important;
    }

    .header-action-icon {
        font-size: 16px;
        margin: 0 !important;
    }

    .header-action-text {
        display: none !important;
    }

    /* Bildirim badge pozisyonu */
    .header-action-item .notification-badge {
        top: -2px;
        right: -2px;
        width: 18px;
        height: 18px;
        font-size: 9px;
    }

    /* Modern User Dropdown Mobile */
    .modern-user-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .modern-dropdown-menu {
        min-width: 260px;
        right: -10px;
    }

    .modern-dropdown-header {
        padding: 12px 16px;
    }

    .modern-dropdown-item {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .header-actions {
        gap: 4px;
    }

    .header-action-link {
        min-width: 40px !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        justify-content: center !important;
    }

    .header-action-icon {
        font-size: 15px;
        margin: 0 !important;
    }

    .header-action-text {
        display: none !important;
    }

    /* Bildirim badge pozisyonu */
    .header-action-item .notification-badge {
        top: -2px;
        right: -2px;
        width: 16px;
        height: 16px;
        font-size: 8px;
    }

    /* Modern User Dropdown Small Mobile */
    .modern-user-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .modern-dropdown-menu {
        min-width: 240px;
        right: -20px;
    }

    .modern-dropdown-header {
        padding: 10px 14px;
    }

    .modern-user-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .modern-dropdown-item {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ============================================
   MODERN MODAL TASARIMI
   ============================================ */

/* Modal Overlay */
.modal.fade {
    backdrop-filter: blur(0);
    transition: backdrop-filter 0.3s ease;
}

.modal.show {
    backdrop-filter: blur(8px);
}

.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.6);
}

.modal-backdrop.show {
    opacity: 1;
}

/* Modal Dialog */
.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-dialog.modal-dialog-centered {
    min-height: calc(100% - 1rem);
}

/* Modal Content - Modern Beyaz Tasarım */
.modal-content.modern {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header - Varsayılan Mor Gradyan */
.modal-content.modern .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff;
    padding: 24px 28px;
    border-bottom: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

/* Modal Header Varyantları - Soft Renkler */

/* Açık Mavi Kurumsal Tonlar - Ekleme/Yeni İşlemler */
.modal-content.modern .modal-header.header-gold {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%) !important;
    border-bottom: 2px solid #0ea5e9 !important;
}

.modal-content.modern .modal-header.header-gold .modal-title {
    color: #075985 !important;
}

.modal-content.modern .modal-header.header-gold .modal-title i {
    color: #0284c7 !important;
}

.modal-content.modern .modal-header.header-gold .btn-close {
    filter: brightness(0.4) !important;
}

/* Mavi Tonları - Düzenleme İşlemleri */
.modal-content.modern .modal-header.header-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border-bottom: 2px solid #3b82f6 !important;
}

.modal-content.modern .modal-header.header-blue .modal-title {
    color: #1e40af !important;
}

.modal-content.modern .modal-header.header-blue .modal-title i {
    color: #2563eb !important;
}

.modal-content.modern .modal-header.header-blue .btn-close {
    filter: brightness(0.4) !important;
}

/* Yeşil Tonları - Onay/Başarı İşlemleri */
.modal-content.modern .modal-header.header-green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
    border-bottom: 2px solid #10b981 !important;
}

.modal-content.modern .modal-header.header-green .modal-title {
    color: #065f46 !important;
}

.modal-content.modern .modal-header.header-green .modal-title i {
    color: #059669 !important;
}

.modal-content.modern .modal-header.header-green .btn-close {
    filter: brightness(0.4) !important;
}

/* Kırmızı/Pembe Tonları - Silme/Uyarı İşlemleri */
.modal-content.modern .modal-header.header-red {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%) !important;
    border-bottom: 2px solid #ef4444 !important;
}

.modal-content.modern .modal-header.header-red .modal-title {
    color: #7f1d1d !important;
}

.modal-content.modern .modal-header.header-red .modal-title i {
    color: #dc2626 !important;
}

.modal-content.modern .modal-header.header-red .btn-close {
    filter: brightness(0.4) !important;
}

/* Turuncu Tonları - Bilgi/Uyarı */
.modal-content.modern .modal-header.header-orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%) !important;
    border-bottom: 2px solid #f97316 !important;
}

.modal-content.modern .modal-header.header-orange .modal-title {
    color: #7c2d12 !important;
}

.modal-content.modern .modal-header.header-orange .modal-title i {
    color: #ea580c !important;
}

.modal-content.modern .modal-header.header-orange .btn-close {
    filter: brightness(0.4) !important;
}

/* Cyan Tonları - Mesaj/İletişim */
.modal-content.modern .modal-header.header-cyan {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%) !important;
    border-bottom: 2px solid #06b6d4 !important;
}

.modal-content.modern .modal-header.header-cyan .modal-title {
    color: #164e63 !important;
}

.modal-content.modern .modal-header.header-cyan .modal-title i {
    color: #0891b2 !important;
}

.modal-content.modern .modal-header.header-cyan .btn-close {
    filter: brightness(0.4) !important;
}

/* Mor/Lavanta Tonları - Özel İşlemler */
.modal-content.modern .modal-header.header-purple {
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%) !important;
    border-bottom: 2px solid #a855f7 !important;
}

.modal-content.modern .modal-header.header-purple .modal-title {
    color: #581c87 !important;
}

.modal-content.modern .modal-header.header-purple .modal-title i {
    color: #9333ea !important;
}

.modal-content.modern .modal-header.header-purple .btn-close {
    filter: brightness(0.4) !important;
}

/* Gri Tonları - Bilgi/Dokümantasyon */
.modal-content.modern .modal-header.header-gray {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    border-bottom: 2px solid #94a3b8 !important;
}

.modal-content.modern .modal-header.header-gray .modal-title {
    color: #1e293b !important;
}

.modal-content.modern .modal-header.header-gray .modal-title i {
    color: #475569 !important;
}

.modal-content.modern .modal-header.header-gray .btn-close {
    filter: brightness(0.4) !important;
}

.modal-content.modern .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.3px;
}

.modal-content.modern .modal-title i {
    font-size: 22px;
    opacity: 0.95;
}

/* Modal Close Button */
.modal-content.modern .btn-close {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    filter: brightness(0) invert(1);
}

.modal-content.modern .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.modal-content.modern .btn-close:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* Modal Body */
.modal-content.modern .modal-body {
    padding: 28px 28px;
    background: #ffffff;
    color: #1e293b;
}

.modal-content.modern .modal-body .form-group {
    margin-bottom: 20px;
}

.modal-content.modern .modal-body .form-group:last-child {
    margin-bottom: 0;
}

.modal-content.modern .modal-body label {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    display: block;
}

.modal-content.modern .modal-body .form-control,
.modal-content.modern .modal-body .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
}

.modal-content.modern .modal-body .form-control:focus,
.modal-content.modern .modal-body .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
    outline: none;
}

.modal-content.modern .modal-body .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.modal-content.modern .modal-body textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* Modal Footer - Varsayılan */
.modal-content.modern .modal-footer {
    padding: 20px 28px;
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* Modal Footer Varyantları - Header'larla Uyumlu */

/* Açık Mavi Kurumsal Footer */
.modal-content.modern .modal-footer.footer-gold {
    background: #f0f9ff !important;
    border-top: 1px solid #bae6fd !important;
}

/* Mavi Footer */
.modal-content.modern .modal-footer.footer-blue {
    background: #eff6ff !important;
    border-top: 1px solid #bfdbfe !important;
}

/* Yeşil Footer */
.modal-content.modern .modal-footer.footer-green {
    background: #f0fdf4 !important;
    border-top: 1px solid #bbf7d0 !important;
}

/* Kırmızı Footer */
.modal-content.modern .modal-footer.footer-red {
    background: #fef2f2 !important;
    border-top: 1px solid #fecaca !important;
}

/* Turuncu Footer */
.modal-content.modern .modal-footer.footer-orange {
    background: #fff7ed !important;
    border-top: 1px solid #fed7aa !important;
}

/* Cyan Footer */
.modal-content.modern .modal-footer.footer-cyan {
    background: #ecfeff !important;
    border-top: 1px solid #a5f3fc !important;
}

/* Mor Footer */
.modal-content.modern .modal-footer.footer-purple {
    background: #faf5ff !important;
    border-top: 1px solid #e9d5ff !important;
}

/* Gri Footer */
.modal-content.modern .modal-footer.footer-gray {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

.modal-content.modern .modal-footer .btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    min-width: 100px;
    transition: all 0.2s ease;
    border: none;
}

.modal-content.modern .modal-footer .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modal-content.modern .modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Açık Mavi Kurumsal Primary Button */
.modal-content.modern .modal-footer .btn-primary.btn-gold {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
}

.modal-content.modern .modal-footer .btn-primary.btn-gold:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4) !important;
}

/* Mavi Primary Button */
.modal-content.modern .modal-footer .btn-primary.btn-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

.modal-content.modern .modal-footer .btn-primary.btn-blue:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4) !important;
}

/* Yeşil Primary Button */
.modal-content.modern .modal-footer .btn-primary.btn-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.modal-content.modern .modal-footer .btn-primary.btn-green:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

/* Kırmızı Primary Button */
.modal-content.modern .modal-footer .btn-primary.btn-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
}

.modal-content.modern .modal-footer .btn-primary.btn-red:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4) !important;
}

/* Turuncu Primary Button */
.modal-content.modern .modal-footer .btn-primary.btn-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3) !important;
}

.modal-content.modern .modal-footer .btn-primary.btn-orange:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4) !important;
}

/* Cyan Primary Button */
.modal-content.modern .modal-footer .btn-primary.btn-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3) !important;
}

.modal-content.modern .modal-footer .btn-primary.btn-cyan:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%) !important;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4) !important;
}

/* Mor Primary Button */
.modal-content.modern .modal-footer .btn-primary.btn-purple {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%) !important;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3) !important;
}

.modal-content.modern .modal-footer .btn-primary.btn-purple:hover {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%) !important;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4) !important;
}

.modal-content.modern .modal-footer .btn-secondary {
    background: #e2e8f0;
    color: #475569;
}

.modal-content.modern .modal-footer .btn-secondary:hover {
    background: #cbd5e1;
    transform: translateY(-2px);
}

/* Modal Size Variants */
.modal-sm .modal-content.modern .modal-header {
    padding: 20px 24px;
    min-height: 60px;
}

.modal-sm .modal-content.modern .modal-title {
    font-size: 18px;
}

.modal-sm .modal-content.modern .modal-body {
    padding: 24px;
}

.modal-lg .modal-content.modern .modal-header,
.modal-xl .modal-content.modern .modal-header {
    padding: 28px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    min-height: 80px;
}

.modal-lg .modal-content.modern .modal-title,
.modal-xl .modal-content.modern .modal-title {
    font-size: 22px;
}

.modal-lg .modal-content.modern .modal-body,
.modal-xl .modal-content.modern .modal-body {
    padding: 32px;
}

/* Modal Input Groups */
.modal-content.modern .input-group {
    border-radius: 12px;
    overflow: hidden;
}

.modal-content.modern .input-group-text {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-right: none;
    color: #64748b;
    font-weight: 500;
}

.modal-content.modern .input-group .form-control {
    border-left: none;
}

.modal-content.modern .input-group .form-control:focus {
    border-left: none;
}

/* Validation States */
.modal-content.modern .form-control.is-valid {
    border-color: #10b981;
}

.modal-content.modern .form-control.is-valid:focus {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.modal-content.modern .form-control.is-invalid {
    border-color: #ef4444;
}

.modal-content.modern .form-control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.modal-content.modern .invalid-feedback {
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
}

.modal-content.modern .valid-feedback {
    color: #059669;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
}

/* Modal Helper Text */
.modal-content.modern .form-text {
    color: #64748b;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content.modern .modal-header {
        padding: 20px;
        min-height: 60px;
    }

    .modal-content.modern .modal-title {
        font-size: 18px;
    }

    .modal-content.modern .btn-close {
        width: 32px;
        height: 32px;
    }

    .modal-content.modern .modal-body {
        padding: 20px;
    }

    .modal-content.modern .modal-footer {
        padding: 16px 20px;
        flex-direction: column;
    }

    .modal-content.modern .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .modal-content.modern {
        border-radius: 16px;
    }

    .modal-content.modern .modal-header {
        padding: 16px;
        min-height: 56px;
    }

    .modal-content.modern .modal-title {
        font-size: 16px;
    }

    .modal-content.modern .btn-close {
        width: 28px;
        height: 28px;
    }

    .modal-content.modern .modal-body {
        padding: 16px;
    }

    .modal-content.modern .modal-footer {
        padding: 12px 16px;
    }
}

/* Modal Loading State */
.modal-content.modern.loading {
    pointer-events: none;
    opacity: 0.7;
}

.modal-content.modern .modal-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Modal Alert Box */
.modal-content.modern .alert {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 2px solid;
}

.modal-content.modern .alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.modal-content.modern .alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.modal-content.modern .alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

.modal-content.modern .alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

/* ============================================
   SÖZLEŞME FORMU ÖZEL STİLLERİ
   ============================================ */

/* Modern Card Styles - Daha Yumuşak Renkler */
.contract-modern-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 20px;
}

.contract-modern-card .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 20px;
}

.contract-modern-card .card-header .card-title {
    color: #475569;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contract-modern-card .card-header .card-title i {
    color: #6366f1;
    margin-right: 4px;
    opacity: 0.9;
}

.contract-modern-card .card-body {
    padding: 20px;
}

/* Form Label Styles */
.contract-form-label {
    font-weight: 600;
    color: #334155;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.contract-modern-input {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s;
    width: 100%;
}

.contract-modern-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.contract-form-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    display: block;
}

/* Upload Area Styles */
.contract-upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    background: #f8fafc;
    cursor: pointer;
}

.contract-upload-area:hover {
    border-color: #6366f1;
    background: #f1f5f9;
}

.contract-upload-placeholder {
    cursor: pointer;
}

.contract-upload-preview {
    padding: 20px;
}

/* Contract Page Header */
.contract-page-header {
    margin-bottom: 30px;
}

.contract-page-title {
    color: #1e293b;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 8px;
}

.contract-page-subtitle {
    color: #64748b;
    font-size: 14px;
}

/* Button Styles - Yumuşak Renkler */
.contract-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: white;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.2s;
}

.contract-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.contract-btn-secondary {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.2s;
}

.contract-btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
}

/* SEO Counter */
.contract-seo-counter {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Input Group Styles */
.contract-input-group-text {
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-right: 0;
    color: #64748b;
    padding: 10px 14px;
}

/* PDF Preview Styles */
.pdf-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background-color: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pdf-preview:hover {
    border-color: #6366f1;
    background-color: #f1f5f9;
}

.pdf-overlay {
    text-align: center;
    padding: 20px;
}

.pdf-overlay i {
    display: block;
    margin-bottom: 10px;
}

.pdf-overlay p {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

/* Backend Style Adaptations */
.bredbred {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.bredsol h1 {
    font-size: 19px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bredsol h1 i {
    color: #6366f1;
}

.bredsag {
    display: flex;
    gap: 10px;
}

.bredsag .btn {
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Form Layout Styles */
.yeniolustur {
    float: left;
    width: calc(100% - 320px);
    padding-right: 20px;
}

.kategorileri {
    float: right;
    width: 300px;
}

.bloktek {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.bloktek h1 {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bloktek h1 i {
    color: #6366f1;
}

.bloktek .form-group {
    margin-bottom: 16px;
    position: relative;
}

.bloktek .form-group:last-child {
    margin-bottom: 0;
}

.kategoriresmi {
    height: 180px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px dashed #cbd5e1;
    position: relative;
}

.kategoriresmi:hover {
    border-color: #6366f1;
    transform: scale(1.02);
}

.fotokaldir {
    position: absolute;
    top: 18px;
    right: 8px;
    z-index: 100;
}

.fotokaldir a {
    background: rgba(255, 255, 255, 0.95);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #dc2626;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fotokaldir a:hover {
    background: #dc2626;
    color: #fff;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .contract-modern-card .card-header {
        padding: 14px 16px;
    }

    .contract-modern-card .card-body {
        padding: 16px;
    }

    .contract-page-title {
        font-size: 20px;
    }

    .yeniolustur {
        width: 100%;
        float: none;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .kategorileri {
        width: 100%;
        float: none;
    }

    .bredbred {
        flex-direction: column;
        gap: 16px;
    }

    .bredsol h1 {
        font-size: 18px;
    }

    .bredsag {
        width: 100%;
        flex-wrap: wrap;
    }

    .bredsag .btn {
        flex: 1;
    }
}

/* Clearfix for floated elements */
.col-lg-12:after {
    content: "";
    display: table;
    clear: both;
}

/* Form Control Modern Styling */
.yeniolustur .form-control,
.yeniolustur .form-select,
.bloktek .form-control,
.bloktek .form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.yeniolustur .form-control:focus,
.yeniolustur .form-select:focus,
.bloktek .form-control:focus,
.bloktek .form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.yeniolustur label,
.bloktek label {
    font-weight: 600;
    color: #334155;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

/* Alert Styles */
.yeniolustur .alert {
    border-radius: 8px;
    border: 1px solid;
    padding: 12px 16px;
}

.yeniolustur .alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.yeniolustur .alert ul {
    margin: 0;
    padding-left: 20px;
}

.yeniolustur .alert li {
    margin-bottom: 4px;
}

.yeniolustur .alert li:last-child {
    margin-bottom: 0;
}

/* ============================================
   FANCYBOX DOSYA YÖNETİCİSİ POPUP STİLLERİ
   ============================================ */

/* Modal backdrop z-index ayarı */
.modal-backdrop {
    z-index: 1055 !important;
}

/* Fancybox File Manager Custom Styles - ÇOK YÜKSEK z-index */
.filemanager-fancybox-custom .fancybox__container {
    z-index: 999999 !important;
}

.filemanager-fancybox-custom .fancybox__backdrop {
    z-index: 999998 !important;
    background: rgba(0, 0, 0, 0.85) !important;
}

/* Fancybox aktifken modal backdrop'ları gizle */
body.compensate-for-scrollbar .modal-backdrop {
    display: none !important;
}

.filemanager-fancybox-custom .fancybox__content {
    width: 90vw !important;
    max-width: 1400px !important;
    height: 85vh !important;
    max-height: 800px !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.filemanager-fancybox-custom .fancybox__iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 16px !important;
}

.filemanager-fancybox-custom .fancybox__slide {
    padding: 0 !important;
}

/* Kapatma butonu stilizasyonu */
.filemanager-fancybox-custom .fancybox__button--close {
    background: rgba(220, 38, 38, 0.9) !important;
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    top: 15px !important;
    right: 15px !important;
    transition: all 0.2s ease !important;
}

.filemanager-fancybox-custom .fancybox__button--close:hover {
    background: rgba(185, 28, 28, 1) !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .filemanager-fancybox-custom .fancybox__content {
        width: 95vw !important;
        height: 80vh !important;
    }
}

@media (max-width: 768px) {
    .filemanager-fancybox-custom .fancybox__content {
        width: 98vw !important;
        height: 90vh !important;
        max-height: none !important;
        border-radius: 12px !important;
    }

    .filemanager-fancybox-custom .fancybox__button--close {
        width: 36px !important;
        height: 36px !important;
        top: 10px !important;
        right: 10px !important;
    }
}

@media (max-width: 576px) {
    .filemanager-fancybox-custom .fancybox__content {
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
    }
}

/* Compact Image Selector for Logo */
.image-selector-compact {
    width: 100%;
}

.image-preview-compact {
    width: 100%;
    height: 45px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    transition: all 0.2s;
    overflow: hidden;
}

.image-preview-compact:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.image-preview-compact img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-preview-compact i {
    font-size: 20px;
    color: #9ca3af;
}

/* Action Buttons - Farklı Renkler */
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-action:active {
    transform: translateY(0);
}

.btn-action i {
    font-size: 14px;
}

/* Düzenle - Mavi */
.btn-edit {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn-edit:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Yeni Sipariş - Turuncu */
.btn-order {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

.btn-order:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* SMS Gönder - Yeşil */
.btn-sms {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-sms:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* E-posta Gönder - Cyan */
.btn-email {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.btn-email:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

/* Fatura Oluştur - Sarı */
.btn-invoice {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: white;
}

.btn-invoice:hover {
    background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4);
}

/* Oturum Aç - Mor */
.btn-login {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.btn-login:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Silinmiş Siparişler - Kırmızı */
.btn-trash {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    text-decoration: none;
}

.btn-trash:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    color: white;
}

.customer-detail-header {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.customer-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.customer-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-avatar-large i {
    font-size: 36px;
    color: white;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 16px;
    align-items: center;
    transition: all 0.2s;
}

.stat-card.compact {
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    text-align: center;
    min-height: 120px;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.compact {
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

.stat-icon i {
    font-size: 24px;
}

.stat-icon.compact i {
    font-size: 20px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.stat-value.compact {
    font-size: 18px;
    margin-top: 8px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
}

.customer-menu {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.menu-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.menu-btn {
    padding: 10px 16px;
    border-radius: 8px;
    background: white;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-btn:hover {
    color: #667eea;
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
}

.menu-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.menu-btn i {
    font-size: 14px;
}

.content-area {
    padding: 20px;
}

.modern-table-wrapper {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table thead {
    background: #f8fafc;
}

.modern-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 13px;
    border-bottom: 2px solid #e5e7eb;
}

.modern-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 14px;
}

.modern-table tbody tr:hover {
    background: #f8fafc;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.status-badge i {
    display: inline-block;
    margin: 0;
    flex-shrink: 0;
}

.status-badge.status-active {
    background: #dcfce7;
    color: #16a34a;
}

.status-badge.status-expired {
    background: #fee2e2;
    color: #dc2626;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-label {
    color: #64748b;
    font-size: 13px;
}

.info-value {
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1400px) {
    .stat-value.compact {
        font-size: 16px;
    }

    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .stat-card.compact {
        min-height: 100px;
        padding: 10px;
    }

    .stat-icon.compact {
        width: 40px;
        height: 40px;
    }

    .stat-icon.compact i {
        font-size: 18px;
    }

    .stat-value.compact {
        font-size: 14px;
    }
}

/* Dashboard Mobil Responsive */
@media (max-width: 991.98px) {
    /* Container padding azalt */
    .dashboard-right-content .container-fluid {
        padding: 15px 10px !important;
    }

    /* Row padding sıfırla mobilde */
    .dashboard-right-content .container-fluid .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .dashboard-right-content .container-fluid .row > [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Aylık kazanç için özel - tam genişlik */
    .dashboard-right-content .container-fluid .row > .col-md-4 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Stats Cards - 2 sütun (mobilde) */
    .dashboard-right-content .row > .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 12px;
    }

    /* Diğer col sınıflarını da kontrol et */
    .dashboard-right-content .row > .col-md-4,
    .dashboard-right-content .row > .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .stats-card {
        padding: 12px;
    }

    .stats-card-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .stats-card-number {
        font-size: 16px;
    }

    .stats-card-label {
        font-size: 12px;
    }

    /* Mobilde tabloları 2'li kart görünümüne çevir - ZORUNLU */
    .modern-table-wrapper {
        overflow: visible !important;
        overflow-x: visible !important;
        margin: 0 -4px !important;
        padding: 0 4px !important;
    }

    .modern-table {
        display: block !important;
        width: 100% !important;
        min-width: auto !important;
        border-collapse: separate !important;
        table-layout: auto !important;
    }

    .modern-table thead {
        display: none !important; /* Başlıkları gizle */
    }

    .modern-table tbody {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        gap: 8px !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .modern-table tbody tr {
        display: flex !important;
        flex-direction: column !important;
        flex: 0 0 calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
        max-width: calc(50% - 4px) !important;
        background: #fff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 12px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
        margin: 0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .modern-table tbody tr td {
        display: block !important;
        padding: 6px 0 !important;
        border: none !important;
        text-align: left !important;
        width: 100% !important;
        vertical-align: top !important;
    }

    /* İlk sütun (müşteri adı) - başlık gibi */
    .modern-table tbody tr td:first-child {
        padding-top: 0;
        padding-bottom: 8px;
        margin-bottom: 8px;
        border-bottom: 1px solid #f1f5f9;
    }

    /* Müşteri adı ve email */
    .modern-table tbody tr td:first-child .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .modern-table tbody tr td:first-child .avatar {
        margin-bottom: 8px;
        margin-left: 0 !important;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .modern-table
        tbody
        tr
        td:first-child
        > div
        > div
        > div[style*="font-weight: 600"] {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin-bottom: 2px !important;
    }

    .modern-table
        tbody
        tr
        td:first-child
        > div
        > div
        > div[style*="font-size: 13px"] {
        font-size: 11px !important;
        color: #64748b !important;
    }

    /* Diğer sütunlar - küçük ve kompakt */
    .modern-table tbody tr td:not(:first-child):not(:last-child) {
        font-size: 11px;
        padding: 4px 0;
    }

    /* Badge ve status */
    .modern-table tbody tr td .status-badge,
    .modern-table tbody tr td .badge {
        font-size: 9px !important;
        padding: 3px 6px !important;
        display: inline-block;
        margin-top: 2px;
    }

    .modern-table tbody tr td small {
        font-size: 10px;
        color: #94a3b8;
        display: block;
        margin-top: 2px;
    }

    /* İletişim bilgileri */
    .modern-table tbody tr td > div[style*="font-size: 13px"] {
        font-size: 10px !important;
    }

    .modern-table tbody tr td > div > div {
        margin-bottom: 2px;
    }

    .modern-table tbody tr td i {
        font-size: 10px !important;
        width: 12px !important;
    }

    /* Son sütun (işlemler) - dropdown */
    .modern-table tbody tr td:last-child {
        padding-top: 8px;
        border-top: 1px solid #f1f5f9;
        margin-top: 8px;
        padding-bottom: 0;
        position: relative;
    }

    /* Data label gösterimi - sadece data-label attribute'u varsa */
    .modern-table tbody tr td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
    }

    /* İlk ve son sütun için label gizle */
    .modern-table tbody tr td:first-child::before,
    .modern-table tbody tr td:last-child::before {
        display: none;
    }

    /* İçerik düzeni - sadeleştir */
    .modern-table tbody tr td {
        font-size: 14px;
    }

    .modern-table tbody tr td:first-child {
        font-size: 16px;
        font-weight: 600;
    }

    /* Küçük metinleri gizle veya küçült */
    .modern-table tbody tr td small {
        display: block;
        font-size: 12px;
        color: #94a3b8;
        margin-top: 4px;
    }

    /* İletişim bilgilerini sadeleştir */
    .modern-table tbody tr td > div[style*="font-size: 13px"] {
        font-size: 13px !important;
    }

    .modern-table tbody tr td > div > div {
        margin-bottom: 4px;
    }

    /* Avatar ve içerik düzeni */
    .modern-table tbody tr td .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .modern-table tbody tr td .d-flex .avatar {
        margin-bottom: 8px;
        margin-left: 0 !important;
    }

    /* Badge ve status */
    .modern-table tbody tr td .status-badge,
    .modern-table tbody tr td .badge {
        display: inline-block;
        margin-top: 4px;
    }

    /* İşlem butonları - dropdown'a çevir */
    .modern-table tbody tr td .d-flex.gap-2 {
        display: none !important; /* Eski butonları gizle */
    }

    /* Dropdown butonu */
    .mobile-actions-dropdown {
        display: flex !important;
        width: 100%;
    }

    .mobile-actions-dropdown-btn {
        width: 100%;
        padding: 8px 12px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #475569;
        font-weight: 600;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        transition: all 0.2s;
    }

    .mobile-actions-dropdown-btn:hover {
        background: #f1f5f9;
        border-color: #cbd5e1;
    }

    .mobile-actions-dropdown-btn i {
        font-size: 12px;
    }

    .mobile-actions-dropdown-menu {
        display: none;
        position: absolute;
        bottom: calc(100% + 8px);
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        max-height: 250px;
        overflow-y: auto;
    }

    /* Aşağıda gösterildiğinde */
    .mobile-actions-dropdown-menu[style*="top"] {
        bottom: auto;
    }

    /* Eğer alt tarafta yer yoksa yukarıda göster */
    .mobile-actions-dropdown-menu.show {
        animation: slideDown 0.2s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(4px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-actions-dropdown-menu.show {
        display: block;
    }

    .mobile-actions-dropdown-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        color: #475569;
        text-decoration: none;
        border-bottom: 1px solid #f1f5f9;
        transition: all 0.2s;
        font-size: 11px !important; /* Font boyutu küçültüldü */
        font-weight: 500;
    }

    .mobile-actions-dropdown-item:last-child {
        border-bottom: none;
    }

    .mobile-actions-dropdown-item:hover {
        background: #f8fafc;
        color: #1e293b;
    }

    .mobile-actions-dropdown-item i {
        width: 16px;
        text-align: center;
        font-size: 12px !important; /* İkon boyutu küçültüldü */
    }

    .mobile-actions-dropdown-item.btn-primary {
        color: #3b82f6;
    }

    .mobile-actions-dropdown-item.btn-secondary {
        color: #64748b;
    }

    .mobile-actions-dropdown-item.btn-danger {
        color: #dc2626;
    }

    .mobile-actions-dropdown-item.btn-warning {
        color: #f59e0b;
    }

    /* Desktop'ta dropdown'u gizle ve normal tablo görünümü */
    @media (min-width: 992px) {
        .mobile-actions-dropdown {
            display: none !important;
        }

        .modern-table tbody {
            display: table-row-group;
        }

        .modern-table tbody tr {
            display: table-row;
            flex: none;
            width: auto;
        }

        .modern-table tbody tr td {
            display: table-cell;
        }

        .modern-table tbody tr td .d-flex.gap-2,
        .modern-table tbody tr td .d-flex.gap-3 {
            display: flex !important;
        }
    }

    .modern-table thead th {
        padding: 8px 6px;
        font-size: 11px;
        font-weight: 600;
        color: #475569;
        text-align: left;
        white-space: nowrap;
        border-bottom: 2px solid #e5e7eb;
    }

    /* 768px altında da 2'li kart görünümü koru */
    .modern-table tbody {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .modern-table tbody tr {
        display: flex !important;
        flex-direction: column !important;
        flex: 0 0 calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
        background: #fff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 12px !important;
        margin: 0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .modern-table tbody tr:hover {
        background: #fff !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .modern-table tbody tr td {
        display: block !important;
        padding: 6px 0 !important;
        border: none !important;
        vertical-align: top !important;
        font-size: 12px;
        line-height: 1.4;
    }

    /* Avatar küçült */
    .modern-table .avatar {
        width: 32px !important;
        height: 32px !important;
        font-size: 11px !important;
        margin-right: 8px !important;
    }

    /* Badge'leri küçült */
    .modern-table .badge {
        font-size: 10px;
        padding: 3px 8px;
        white-space: nowrap;
    }

    /* Status badge küçült */
    .modern-table .status-badge {
        font-size: 10px;
        padding: 3px 8px;
        white-space: nowrap;
    }

    /* Butonları küçült */
    .modern-table .btn-table-edit,
    .modern-table .btn-table-delete {
        width: 32px;
        height: 32px;
        padding: 0;
        font-size: 12px;
    }

    /* İçerikleri kompakt yap */
    .modern-table tbody tr td > div {
        font-size: 12px;
    }

    .modern-table tbody tr td small {
        font-size: 10px;
        display: block;
        margin-top: 2px;
    }

    /* Aylık Kazanç Dağılımı - Mobilde tam genişlik */
    .dashboard-right-content .row > .col-md-8,
    .dashboard-right-content .row > .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 20px;
    }

    /* Özellikle col-md-4 için */
    .dashboard-right-content .row .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* col-md-8 için */
    .dashboard-right-content .row .col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Butonlar tam genişlik */
    .dashboard-right-content .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .btn-table-edit,
    .btn-table-delete,
    .btn-table-restore {
        width: auto;
        min-width: 44px;
    }

    /* Alert mobil */
    .alert {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }

    .alert p {
        font-size: 14px !important;
        margin-bottom: 12px;
    }

    .alert .btn {
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .menu-buttons {
        flex-direction: column;
    }

    .menu-btn {
        width: 100%;
        justify-content: center;
    }

    .customer-detail-header {
        flex-direction: column;
        gap: 16px;
    }

    .customer-detail-header > div {
        width: 100%;
    }

    .customer-detail-header .d-flex.gap-2 {
        justify-content: flex-start !important;
        width: 100%;
    }

    /* Stats Cards - Mobilde 2 sütun kalıyor */
    .dashboard-right-content .row > .col-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* Aylık kazanç için col-md-4 ve col-md-8 - tam genişlik */
    .dashboard-right-content .row.mt-3 > .col-md-8,
    .dashboard-right-content .row.mt-3 > .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Stats cards için col-md-4 - 2 sütun (g-2 row'unda) */
    .dashboard-right-content .row.g-2 > .col-md-4,
    .dashboard-right-content .row.g-2 > .col-lg-2 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* Header butonlarında text'i gizle, sadece ikon göster */
    .header-action-text {
        display: none !important;
    }

    .header-action-link {
        min-width: 44px !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        justify-content: center !important;
    }

    .header-action-icon {
        margin: 0 !important;
    }

    /* Bildirim badge pozisyonu */
    .header-action-item .notification-badge {
        top: -2px;
        right: -2px;
    }

    /* Aylık kazanç için col-md-4 ve col-md-8 - tam genişlik */
    .dashboard-right-content .row.mt-3 > .col-md-8,
    .dashboard-right-content .row.mt-3 > .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Aylık kazanç dağılımı - Mobil uyumlu */
    .dashboard-right-content .row.mt-3 > .col-md-4 .modern-table-wrapper {
        margin-bottom: 20px;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Aylık kazanç wrapper padding */
    .dashboard-right-content
        .row.mt-3
        > .col-md-4
        .modern-table-wrapper
        > div[style*="padding: 16px"] {
        padding: 12px 8px !important;
        width: 100% !important;
        box-sizing: border-box;
        margin: 0 !important;
    }

    /* Row gap azalt */
    .dashboard-right-content .col-md-4 .row.g-3 {
        margin-left: -4px;
        margin-right: -4px;
        --bs-gutter-x: 0;
    }

    .dashboard-right-content .col-md-4 .row.g-3 > * {
        padding-left: 4px;
        padding-right: 4px;
    }

    /* Aylık kazanç kartları - 2 sütun mobilde */
    .dashboard-right-content .col-md-4 .row.g-3 > .col-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-bottom: 8px;
    }

    /* Kart içeriği kompakt - tüm div'ler */
    .dashboard-right-content .col-md-4 .row.g-3 .col-6 > div {
        padding: 8px 6px !important;
    }

    /* İç div margin */
    .dashboard-right-content
        .col-md-4
        .row.g-3
        .col-6
        > div
        > div[style*="margin-bottom: 10px"] {
        margin-bottom: 6px !important;
    }

    /* Başlık (11px) küçült */
    .dashboard-right-content
        .col-md-4
        .row.g-3
        .col-6
        > div
        > div
        > div[style*="font-size: 11px"] {
        font-size: 9px !important;
        margin-bottom: 4px !important;
        line-height: 1.3;
    }

    /* Tutar (18px) küçült */
    .dashboard-right-content
        .col-md-4
        .row.g-3
        .col-6
        > div
        > div
        > div[style*="font-size: 18px"] {
        font-size: 13px !important;
        line-height: 1.2;
    }

    /* Sipariş sayısı (15px) küçült */
    .dashboard-right-content
        .col-md-4
        .row.g-3
        .col-6
        > div
        > div
        > span[style*="font-size: 15px"],
    .dashboard-right-content
        .col-md-4
        .row.g-3
        .col-6
        > div
        > span[style*="font-size: 15px"] {
        font-size: 10px !important;
        display: block;
        margin-top: 2px;
        line-height: 1.2;
    }

    /* İkonlar küçült */
    .dashboard-right-content .col-md-4 .row.g-3 .col-6 i {
        font-size: 10px !important;
        margin-right: 3px !important;
    }

    /* Tablo kompakt ayarları */
    .modern-table-wrapper {
        margin: 0 -8px;
        padding: 0 8px;
    }

    .modern-table {
        font-size: 11px;
        min-width: 550px;
    }

    .modern-table thead th {
        padding: 6px 4px;
        font-size: 10px;
    }

    /* 576px altında da 2'li kart görünümü koru */
    .modern-table tbody {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .modern-table tbody tr {
        display: flex !important;
        flex-direction: column !important;
        flex: 0 0 calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
        background: #fff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 12px !important;
        margin: 0 !important;
    }

    .modern-table tbody tr td {
        display: block !important;
        padding: 6px 0 !important;
        border: none !important;
        font-size: 11px !important;

        /* Modern table header */
        .modern-table-header {
            padding: 12px 16px;
        }

        .modern-table-title {
            font-size: 16px;
        }

        /* Avatar küçült */
        .modern-table .avatar {
            width: 28px !important;
            height: 28px !important;
            font-size: 10px !important;
            margin-right: 6px !important;
        }

        /* Badge'leri daha da küçült */
        .modern-table .badge {
            font-size: 9px;
            padding: 2px 6px;
        }

        /* Status badge küçült */
        .modern-table .status-badge {
            font-size: 9px;
            padding: 2px 6px;
        }

        /* Butonları küçült */
        .modern-table .btn-table-edit,
        .modern-table .btn-table-delete {
            width: 28px;
            height: 28px;
            font-size: 11px;
        }
    }

    @media (max-width: 576px) {
        /* Container padding daha da azalt */
        .dashboard-right-content .container-fluid {
            padding: 10px 8px !important;
        }

        /* Stats card daha kompakt */
        .stats-card {
            padding: 10px;
        }

        .stats-card-icon {
            width: 32px;
            height: 32px;
            font-size: 16px;
            margin-bottom: 10px;
        }

        .stats-card-number {
            font-size: 14px;
        }

        .stats-card-label {
            font-size: 11px;
        }

        /* Tablo daha da kompakt */
        .modern-table-wrapper {
            margin: 0 -8px;
            padding: 0 8px;
            margin-bottom: 16px;
        }

        .modern-table {
            font-size: 10px;
            min-width: 500px;
        }

        .modern-table thead th {
            padding: 5px 3px;
            font-size: 9px;
        }

        .modern-table tbody tr td {
            padding: 6px 3px;
            font-size: 10px;
        }

        /* Avatar daha da küçült */
        .modern-table .avatar {
            width: 24px !important;
            height: 24px !important;
            font-size: 9px !important;
            margin-right: 4px !important;
        }

        /* Badge'leri en küçük */
        .modern-table .badge {
            font-size: 8px;
            padding: 2px 4px;
        }

        /* Status badge en küçük */
        .modern-table .status-badge {
            font-size: 8px;
            padding: 2px 4px;
        }

        /* Butonları en küçük */
        .modern-table .btn-table-edit,
        .modern-table .btn-table-delete {
            width: 24px;
            height: 24px;
            font-size: 10px;
        }

        /* İçerikleri daha kompakt */
        .modern-table tbody tr td > div {
            font-size: 10px;
        }

        .modern-table tbody tr td small {
            font-size: 9px;
        }

        /* Aylık kazanç için col-md-4 ve col-md-8 - tam genişlik */
        .dashboard-right-content .row.mt-3 > .col-md-8,
        .dashboard-right-content .row.mt-3 > .col-md-4 {
            flex: 0 0 100% !important;
            max-width: 100% !important;
            width: 100% !important;
        }

        /* Aylık kazanç dağılımı - 576px altında daha kompakt */
        .dashboard-right-content .row.mt-3 > .col-md-4 .modern-table-wrapper {
            width: 100% !important;
            max-width: 100% !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .dashboard-right-content
            .row.mt-3
            > .col-md-4
            .modern-table-wrapper
            > div[style*="padding: 16px"] {
            padding: 10px 8px !important;
            width: 100% !important;
            box-sizing: border-box;
            margin: 0 !important;
        }

        .dashboard-right-content .col-md-4 .row.g-3 {
            margin-left: -3px;
            margin-right: -3px;
            width: calc(100% + 6px);
        }

        .dashboard-right-content .col-md-4 .row.g-3 > * {
            padding-left: 3px;
            padding-right: 3px;
        }

        /* Aylık kazanç kartları - 2 sütun kalıyor */
        .dashboard-right-content .col-md-4 .row.g-3 > .col-6 {
            flex: 0 0 50% !important;
            max-width: 50% !important;
            margin-bottom: 6px;
        }

        /* Kart içeriği daha kompakt */
        .dashboard-right-content .col-md-4 .row.g-3 .col-6 > div {
            padding: 6px 4px !important;
        }

        /* Başlık daha küçük */
        .dashboard-right-content
            .col-md-4
            .row.g-3
            .col-6
            > div
            > div
            > div[style*="font-size: 11px"] {
            font-size: 8px !important;
            margin-bottom: 3px !important;
        }

        /* Tutar daha küçük */
        .dashboard-right-content
            .col-md-4
            .row.g-3
            .col-6
            > div
            > div
            > div[style*="font-size: 18px"] {
            font-size: 11px !important;
        }

        /* Sipariş sayısı daha küçük */
        .dashboard-right-content
            .col-md-4
            .row.g-3
            .col-6
            > div
            > div
            > span[style*="font-size: 15px"],
        .dashboard-right-content
            .col-md-4
            .row.g-3
            .col-6
            > div
            > span[style*="font-size: 15px"] {
            font-size: 9px !important;
        }

        /* İkonlar daha küçük */
        .dashboard-right-content .col-md-4 .row.g-3 .col-6 i {
            font-size: 9px !important;
            margin-right: 2px !important;
        }
    }

    /* Butonlar mobilde küçük */
    .btn-action {
        padding: 8px 12px;
        font-size: 13px;
    }

    .btn-action i {
        font-size: 13px;
    }

    .modern-table {
        font-size: 12px;
    }

    .modern-table th,
    .modern-table td {
        padding: 8px;
    }
}

@media (max-width: 576px) {
    /* Mobilde tüm butonlar tam genişlik */
    .customer-detail-header .d-flex.gap-2 {
        flex-direction: column;
        width: 100%;
    }

    .btn-action {
        width: 100%;
        justify-content: center;
    }
}

/* Date Info Box */
.date-info-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.date-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    color: #1e40af;
    font-size: 14px;
}

.date-info-row span {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-info-row span i {
    font-size: 14px;
    color: #3b82f6;
}

.date-info-row strong {
    font-weight: 700;
    color: #1e3a8a;
}

/* Price Summary Box */
.price-summary-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #475569;
    font-size: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid #cbd5e1;
    font-size: 18px;
    color: #1e293b;
}

.price-row span {
    font-weight: 500;
}

.price-row strong {
    font-weight: 700;
    color: #667eea;
}

.price-row.total strong {
    color: #16a34a;
    font-size: 20px;
}

/* KDV Badge Styles */
.kdv-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: 4px;
}

.kdv-badge.kdv-dahil {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
    border: 1px solid #86efac;
}

.kdv-badge.kdv-haric {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    border: 1px solid #fbbf24;
}

/* Kalan Gün Badge Styles */
.kalan-gun-badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.kalan-gun-badge.critical {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.kalan-gun-badge.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    border: 1px solid #fbbf24;
}

.kalan-gun-badge.normal {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
    border: 1px solid #93c5fd;
}

/* Table Edit Button */
.btn-table-edit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-table-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-table-edit i {
    font-size: 14px;
}

/* Table Delete Button */
.btn-table-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-table-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-table-delete i {
    font-size: 14px;
}

/* Table Restore Button */
.btn-table-restore {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-table-restore:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-table-restore i {
    font-size: 14px;
}

/* Table Force Delete Button */
.btn-table-force-delete {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-table-force-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 29, 29, 0.6);
}

.btn-table-force-delete i {
    font-size: 14px;
}

/* Table PDF Button */
.btn-table-pdf {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-table-pdf:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    color: white;
}

.btn-table-pdf i {
    font-size: 14px;
}

/* Table Upload Button */
.btn-table-upload {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-table-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-table-upload i {
    font-size: 14px;
}

/* Products Grid - 5 columns on XL screens */
@media (min-width: 1200px) {
    .products-grid > [class*="col-"] {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Product Card Styles */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.15);
}

.product-card-image {
    position: relative;
    padding-top: 75%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    overflow: hidden;
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-no-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: #9ca3af;
}

.product-card-status {
    position: absolute;
    top: 12px;
    right: 12px;
}

.product-card-body {
    padding: 16px;
    flex: 1;
}

.product-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-card-category {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.product-card-price {
    margin-bottom: 8px;
}

.price-main {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
}

.price-old {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 8px;
}

.price-loop {
    font-size: 12px;
    color: #64748b;
    display: block;
}

.price-base {
    font-size: 11px;
    color: #9ca3af;
    display: block;
    margin-top: 4px;
    font-style: italic;
}

.product-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.product-card-footer {
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
}

.btn-card {
    flex: 1;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-edit {
    background: #667eea;
    color: white;
}

.btn-edit:hover {
    background: #5568d3;
}

.btn-delete {
    background: #ef4444;
    color: white;
    flex: 0 0 auto;
    width: 40px;
}

.btn-delete:hover {
    background: #dc2626;
}

/* Filter Panel */
#filterPanelWrapper {
    overflow: hidden;
}
.filter-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 15px;
    color: #1e40af;
}

.clear-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: white;
    border: 1px solid #dc2626;
    border-radius: 6px;
    color: #dc2626;
    text-decoration: none;
    transition: all 0.2s;
}

.clear-filters-btn:hover {
    background: #dc2626;
    color: white;
}

/* ============================================
   AJANS SÜRESİ BİTİMİ STİLLERİ
   ============================================ */

/* Blur efekti - Süre dolmuş ajanslar için */
.expired-blur {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    position: relative;
}

/* Expiry overlay - Tam ekran kaplayan overlay */
.expiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Expiry modal içeriği */
.expiry-modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 800px;
    width: 95%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: expModalSlideUp 0.4s ease-out;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

/* Custom scrollbar */
.expiry-modal-content::-webkit-scrollbar {
    width: 8px;
}

.expiry-modal-content::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.expiry-modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.expiry-modal-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@keyframes expModalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Expiry modal header - Pastel Kırmızı */
.expiry-modal-header {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #1e293b;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.expiry-modal-header i {
    font-size: 64px;
    margin-bottom: 16px;
    color: #ef4444;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-icon 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.2));
}

@keyframes pulse-icon {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.expiry-modal-header h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
}

.expiry-modal-header p {
    margin: 10px 0 0 0;
    font-size: 15px;
    color: #64748b;
}

/* Expiry modal body - Modern ve temiz */
.expiry-modal-body {
    padding: 32px 40px;
    background: #fafafa;
}

/* Yıllık indirim animasyonu */
@keyframes discountPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

#yearlyDiscountRow {
    animation: discountPulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .expiry-modal-content {
        max-width: 95%;
        width: 95%;
    }

    .expiry-modal-body {
        padding: 24px 20px;
    }
}

.expiry-modal-body .alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #475569;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.expiry-modal-body .alert-danger strong {
    color: #dc2626;
}

.expiry-modal-body .alert-danger i {
    color: #ef4444;
    margin-right: 8px;
}

/* Expiry modal form stilleri */
.expiry-modal-body form select:focus,
.expiry-modal-body form select:hover {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    outline: none;
}

.expiry-modal-body form button[type="submit"]:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35) !important;
    transform: translateY(-2px);
}

.expiry-modal-body form a.btn:hover {
    background: #e2e8f0 !important;
    color: #475569 !important;
}

/* Warning popup backdrop - Tüm sayfayı blur yap */
.warning-popup::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    z-index: -1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Sayfa blur efekti - Popup göründüğünde */
.page-blurred {
    filter: blur(15px) brightness(0.95);
    pointer-events: none;
    user-select: none;
    transition: filter 0.3s ease;
}

/* Body blur active - Header, sidebar gibi tüm elementleri blur yap */
body.popup-active #mainContent,
body.popup-active header,
body.popup-active .sidebar,
body.popup-active .topbar,
body.popup-active nav,
body.popup-active .header-content {
    filter: blur(15px) brightness(0.95);
    transition: filter 0.3s ease;
}

/* Warning popup - Pastel Modern Tasarım (Ortalanmış) */
.warning-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 0;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: popupFadeIn 0.4s ease-out;
    overflow: hidden;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Warning popup header - Pastel tarz */
.warning-popup-header {
    background: linear-gradient(135deg, #fff4e6 0%, #ffe8cc 100%);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(251, 146, 60, 0.1);
}

.warning-popup-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.3);
}

.warning-popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    flex: 1;
}

.warning-popup-message {
    padding: 24px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    background: #fafafa;
}

.warning-popup-message strong {
    color: #1e293b;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.warning-popup-actions {
    padding: 20px 24px;
    background: white;
    display: flex;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
}

.warning-popup-actions .btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
}

.warning-popup-actions .btn-warning {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.25);
}

.warning-popup-actions .btn-warning:hover {
    box-shadow: 0 6px 20px rgba(251, 146, 60, 0.35);
    transform: translateY(-2px);
}

.warning-popup-actions .btn-light {
    background: #f1f5f9;
    color: #64748b;
}

.warning-popup-actions .btn-light:hover {
    background: #e2e8f0;
    color: #475569;
}

.warning-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.warning-popup-close:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: rotate(90deg);
    color: #1e293b;
}

/* Grace Period Popup - Pastel Kırmızı */
.grace-period-popup .grace-header {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.grace-period-popup .grace-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.grace-period-popup .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.grace-period-popup .btn-danger:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
    transform: translateY(-2px);
}

/* Responsive - Warning Popup */
@media (max-width: 576px) {
    .warning-popup {
        max-width: 95%;
        border-radius: 16px;
    }

    .warning-popup-header {
        padding: 20px 16px;
    }

    .warning-popup-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        border-radius: 12px;
    }

    .warning-popup-title {
        font-size: 16px;
    }

    .warning-popup-message {
        padding: 20px 16px;
        font-size: 14px;
    }

    .warning-popup-actions {
        padding: 16px;
        flex-direction: column;
    }

    .warning-popup-actions .btn {
        width: 100%;
    }
}

/* Image Selector Styles */
.image-selector {
    display: flex;
    gap: 12px;
    align-items: center;
}

.image-preview {
    width: 120px;
    height: 120px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    transition: all 0.2s;
}

.image-preview:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.image-preview i {
    font-size: 32px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.image-preview span {
    font-size: 12px;
    color: #64748b;
}

.modal-content.modern {
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-content.modern .modal-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
    border-radius: 16px 16px 0 0 !important;
}

.modal-content.modern .modal-body {
    padding: 24px;
}
.modal-content.modern .modal-footer {
    padding: 16px 24px;
    background: #f9fafb;
    border-radius: 0 0 16px 16px;
}

/* ============================================
   GLOBAL FANCYBOX DOSYA YÖNETİCİSİ STİLLERİ
   ============================================ */

/* Bootstrap modal z-index: 1055, backdrop: 1050 */
/* Fancybox MUTLAKA en üstte olmalı - Ultra yüksek z-index */

.fancybox__container {
    z-index: 2147483647 !important; /* Maximum z-index */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.fancybox__backdrop {
    z-index: 2147483646 !important; /* Maximum z-index - 1 */
    position: fixed !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px) !important;
}

/* Özel Dosya Yöneticisi Sınıfı */
.filemanager-fancybox-custom .fancybox__container {
    z-index: 2147483647 !important;
}

.filemanager-fancybox-custom .fancybox__backdrop {
    z-index: 2147483646 !important;
    background: rgba(0, 0, 0, 0.85) !important;
}

.filemanager-fancybox-custom .fancybox__content {
    width: 90vw !important;
    max-width: 1400px !important;
    height: 85vh !important;
    max-height: 800px !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.filemanager-fancybox-custom .fancybox__iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 16px !important;
}

.filemanager-fancybox-custom .fancybox__slide {
    padding: 0 !important;
}

.filemanager-fancybox-custom .fancybox__carousel {
}

.filemanager-fancybox-custom .fancybox__toolbar {
    z-index: 2147483647 !important;
}

/* Kapatma Butonu */
.filemanager-fancybox-custom .fancybox__button--close {
    background: rgba(220, 38, 38, 0.9) !important;
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    top: 15px !important;
    right: 15px !important;
    transition: all 0.2s ease !important;
    z-index: 2147483647 !important;
}

.filemanager-fancybox-custom .fancybox__button--close:hover {
    background: rgba(185, 28, 28, 1) !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* Bootstrap Modal Adjustments */
.modal {
    z-index: 2147483647 !important;
}

.modal-backdrop {
    z-index: 2147483646 !important;
}

/* Responsive Fancybox */
@media (max-width: 1200px) {
    .filemanager-fancybox-custom .fancybox__content {
        width: 95vw !important;
        height: 80vh !important;
    }
}

@media (max-width: 768px) {
    .filemanager-fancybox-custom .fancybox__content {
        width: 98vw !important;
        height: 90vh !important;
        max-height: none !important;
        border-radius: 12px !important;
    }

    .filemanager-fancybox-custom .fancybox__button--close {
        width: 36px !important;
        height: 36px !important;
        top: 10px !important;
        right: 10px !important;
    }
}

@media (max-width: 576px) {
    .filemanager-fancybox-custom .fancybox__content {
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
    }
}

/* Image Preview Click Styles */
.image-preview.clickable:hover,
.image-preview-modern.clickable:hover,
.image-preview-with-close.clickable:hover {
    border-color: #667eea !important;
    background: #f0f4ff !important;
    transform: scale(1.02);
}

.image-preview.clickable,
.image-preview-modern.clickable,
.image-preview-with-close.clickable {
    transition: all 0.3s ease;
    user-select: none;
}

.image-preview.clickable:active,
.image-preview-modern.clickable:active,
.image-preview-with-close.clickable:active {
    transform: scale(0.98);
}

/* Görsel Seçici - Çarpı Butonu Stilleri */
.image-selector-with-close {
    position: relative;
    display: inline-block;
}

.image-preview-with-close {
    width: 120px;
    height: 120px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.image-preview-with-close:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.image-preview-with-close img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.image-preview-with-close i {
    font-size: 32px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.image-preview-with-close span {
    font-size: 12px;
    color: #64748b;
}

.image-close-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    font-size: 12px;
    z-index: 10;
}

.image-close-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.image-close-btn i {
    font-size: 12px;
    margin: 0;
}

/* Kampanya Slider Styles */
.kampanyaSlider {
    width: 100%;
    height: auto;
}
.kampanyaSlider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.kampanyaSlider .swiper-button-next,
.kampanyaSlider .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.kampanyaSlider .swiper-button-next:hover,
.kampanyaSlider .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
}
.kampanyaSlider .swiper-button-next:after,
.kampanyaSlider .swiper-button-prev:after {
    font-size: 20px;
}
.kampanyaSlider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
}
.kampanyaSlider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* Campaign Countdown Card Styles */
.campaign-countdown-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.countdown-header {
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.countdown-header i {
    font-size: 28px;
    animation: pulse 2s infinite;
}

.countdown-header h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.countdown-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.countdown-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.countdown-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.countdown-end-date {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-end-date i {
    font-size: 16px;
}

.countdown-end-date span {
    font-size: 14px;
    font-weight: 600;
}

.countdown-expired {
    text-align: center;
    padding: 30px 20px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(239, 68, 68, 0.3);
    width: 100%;
    grid-column: 1 / -1;
}

.countdown-expired i {
    font-size: 48px;
    color: #ef4444;
    margin-bottom: 10px;
    display: block;
}

.countdown-expired p {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ef4444;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Responsive Countdown */
@media (max-width: 768px) {
    .countdown-display {
        gap: 10px;
    }

    .countdown-value {
        font-size: 24px;
    }

    .countdown-label {
        font-size: 10px;
    }

    .countdown-item {
        padding: 12px 8px;
    }

    .campaign-countdown-card {
        padding: 20px;
    }

    .countdown-header h4 {
        font-size: 18px;
    }

    .countdown-header i {
        font-size: 22px;
    }
}

/* ============================================
   ÜRÜN KILAVUZU MODAL STİLLERİ
   ============================================ */

/* Modal Body Overrides */
#productGuideModal .modal-body {
    background: #f8fafc;
}

/* Kılavuz Bölümleri */
.guide-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.guide-section:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.12);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

/* Bölüm Başlıkları */
.guide-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e5e7eb;
    letter-spacing: -0.01em;
}

.guide-title i {
    font-size: 18px;
    flex-shrink: 0;
}

/* İçerik Alanı */
.guide-content {
    color: #334155;
    line-height: 1.75;
    font-size: 14.5px;
}

.guide-content p {
    margin-bottom: 14px;
    font-size: 14.5px;
    color: #334155;
}

.guide-content p:last-child {
    margin-bottom: 0;
}

.guide-content strong {
    color: #0f172a;
    font-weight: 650;
}

/* Liste Stilleri */
.guide-content ul {
    margin: 14px 0;
    padding-left: 24px;
    list-style-type: none;
}

.guide-content ul li {
    margin-bottom: 10px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #334155;
    position: relative;
    padding-left: 8px;
}

.guide-content ul li:last-child {
    margin-bottom: 0;
}

.guide-content ul li::before {
    content: "•";
    position: absolute;
    left: -16px;
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
}

.guide-content ul li strong {
    color: #1e293b;
    font-weight: 600;
}

/* Uyarı Kutuları */
.guide-content .alert {
    border-radius: 10px;
    padding: 14px 18px;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    border-width: 1px;
    border-style: solid;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.guide-content .alert i {
    margin-right: 0;
    margin-top: 2px;
    font-size: 16px;
    flex-shrink: 0;
}

.guide-content .alert strong {
    font-weight: 700;
}

.guide-content .alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
    color: #1e40af;
}

.guide-content .alert-info i {
    color: #3b82f6;
}

.guide-content .alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
    color: #92400e;
}

.guide-content .alert-warning i {
    color: #d97706;
}

/* Ayırıcı Çizgiler */
#productGuideModal hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 0;
}

/* Responsive Guide Modal */
@media (max-width: 768px) {
    .guide-section {
        padding: 20px;
        border-radius: 12px;
    }

    .guide-title {
        font-size: 15px;
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

    .guide-title i {
        font-size: 16px;
    }

    .guide-content,
    .guide-content p,
    .guide-content ul li {
        font-size: 13.5px;
    }

    .guide-content .alert {
        font-size: 13px;
        padding: 12px 16px;
    }

    .guide-content ul {
        padding-left: 20px;
    }
}

@media (max-width: 576px) {
    .guide-section {
        padding: 16px;
    }

    .guide-title {
        font-size: 14px;
    }

    .guide-content,
    .guide-content p,
    .guide-content ul li {
        font-size: 13px;
    }
}

/* ============================================
   FLOATING REPORT BUTTON STİLLERİ
   ============================================ */

.floating-report-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: floatBounce 3s ease-in-out infinite;
}

.floating-report-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.6);
    animation: none;
}

.floating-report-btn:active {
    transform: translateY(-3px) scale(1.05);
}

.floating-report-btn i {
    position: relative;
    z-index: 2;
    animation: bugWiggle 2s ease-in-out infinite;
}

/* Pulse efekti */
.report-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.4);
    animation: pulsate 2s ease-out infinite;
    z-index: 1;
}

/* Animasyonlar */
@keyframes floatBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bugWiggle {
    0%,
    100% {
        transform: rotate(0deg);
    }
    10%,
    30% {
        transform: rotate(-10deg);
    }
    20%,
    40% {
        transform: rotate(10deg);
    }
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Report Modal Stilleri */
#reportModal .modal-body {
    background: #fafafa;
}

#reportModal .modal-body .alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    color: #1e40af;
    border-radius: 10px;
    padding: 12px 16px;
}

#reportModal .form-group label {
    font-weight: 600;
    color: #334155;
    font-size: 14px;
    margin-bottom: 8px;
}

#reportModal select.modern-input option {
    padding: 10px;
    font-size: 14px;
}

#reportModal textarea.modern-input {
    resize: vertical;
    min-height: 100px;
}

#reportModal .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

#reportModal .btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .floating-report-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .floating-report-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ============================================
   FANCYBOX GLOBAL STİLLERİ
   ============================================ */

.fancybox__container {
    z-index: 2147483647 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.fancybox__backdrop {
    z-index: 10 !important;
    position: fixed !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px) !important;
}

.filemanager-fancybox-custom .fancybox__container {
    z-index: 2147483647 !important;
}

.filemanager-fancybox-custom .fancybox__backdrop {
    z-index: 10 !important;
    background: rgba(0, 0, 0, 0.85) !important;
}

.filemanager-fancybox-custom .fancybox__content {
    width: 90vw !important;
    max-width: 1400px !important;
    height: 85vh !important;
    max-height: 800px !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.filemanager-fancybox-custom .fancybox__iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 16px !important;
}

.filemanager-fancybox-custom .fancybox__slide {
    padding: 0 !important;
}

.filemanager-fancybox-custom .fancybox__carousel {
    z-index: 2147483647 !important;
}

.filemanager-fancybox-custom .fancybox__toolbar {
    z-index: 2147483647 !important;
}

.filemanager-fancybox-custom .fancybox__button--close {
    background: rgba(220, 38, 38, 0.9) !important;
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    top: 15px !important;
    right: 15px !important;
    transition: all 0.2s ease !important;
    z-index: 2147483647 !important;
}

.filemanager-fancybox-custom .fancybox__button--close:hover {
    background: rgba(185, 28, 28, 1) !important;
    transform: rotate(90deg) scale(1.1) !important;
}

.image-preview.clickable:hover,
.image-preview-modern.clickable:hover {
    border-color: #667eea !important;
    background: #f0f4ff !important;
    transform: scale(1.02);
}

.image-preview.clickable,
.image-preview-modern.clickable {
    transition: all 0.3s ease;
    user-select: none;
}

.image-preview.clickable:active,
.image-preview-modern.clickable:active {
    transform: scale(0.98);
}

/* Responsive Fancybox */
@media (max-width: 1200px) {
    .filemanager-fancybox-custom .fancybox__content {
        width: 95vw !important;
        height: 80vh !important;
    }
}

@media (max-width: 768px) {
    .filemanager-fancybox-custom .fancybox__content {
        width: 98vw !important;
        height: 90vh !important;
        max-height: none !important;
        border-radius: 12px !important;
    }

    .filemanager-fancybox-custom .fancybox__button--close {
        width: 36px !important;
        height: 36px !important;
        top: 10px !important;
        right: 10px !important;
    }
}

@media (max-width: 576px) {
    .filemanager-fancybox-custom .fancybox__content {
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
    }
}

/* ============================================
   MODERN BİLDİRİM DROPDOWN TASARIMI
   ============================================ */

.notify-wrapper {
    position: relative;
    z-index: 9999 !important;
}

.notify-wrapper .notify-trigger {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notify-wrapper .notify-trigger i {
    font-size: 20px;
    color: inherit;
}

.notify-wrapper .notify-trigger:hover {
    transform: scale(1.05);
}

.notify-badge,
.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    animation: pulseNotify 2s ease-in-out infinite;
    border: 2px solid #fff;
    z-index: 10000;
}

.notify-tab {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    width: 400px;
    max-width: 95vw;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001 !important;
    overflow: hidden;
    max-height: 450px;
    display: flex;
    flex-direction: column;
}

/* Bildirim wrapper veya tab'ın üzerine gelindiğinde açık tut */
.notify-wrapper:hover .notify-tab {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto !important;
}

/* Tab'ın tüm child elementleri için pointer-events'i aktif et */
.notify-wrapper:hover .notify-tab * {
    pointer-events: auto !important;
}

/* İkon ile dropdown arasında görünmez köprü oluştur */
.notify-tab::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
    pointer-events: auto;
}

.notify-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    flex-shrink: 0;
    cursor: default;
    pointer-events: auto !important;
}

/* Header'a özel hover durumu - dropdown'ı açık tut */
.notify-header:hover {
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
}

/* Header hover olduğunda parent tab'ı da açık tut */
.notify-tab:has(.notify-header:hover) {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.notify-header-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notify-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
}

.notify-list {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #ffffff;
    flex: 1;
}

.notify-list::-webkit-scrollbar {
    width: 6px;
}

.notify-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.notify-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.notify-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.notify-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    background: white;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.notify-item:hover {
    background: linear-gradient(to right, #f0f9ff, #ffffff);
    transform: translateX(4px);
}

.notify-item.unread {
    background: #fef3c7;
}

.notify-item.unread:hover {
    background: linear-gradient(to right, #fef3c7, #fef9e7);
}

.notify-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.notify-item:hover .notify-icon {
    transform: scale(1.1) rotate(5deg);
}

.notify-content {
    flex: 1;
    min-width: 0;
}

.notify-title {
    font-size: 13px;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 4px;
    word-wrap: break-word;
}

.notify-meta {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notify-unread-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: pulseNotify 2s ease-in-out infinite;
}

.notify-empty {
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
}

.notify-empty i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 12px;
    display: block;
}

.notify-empty .notify-title {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.notify-footer {
    padding: 12px 16px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.notify-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.notify-footer-btn:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.notify-footer-btn i {
    font-size: 14px;
}

@keyframes pulseNotify {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 6px 16px rgba(239, 68, 68, 0.6);
    }
}

.modern-notify-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 420px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000 !important;
    overflow: hidden;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.modern-notify-dropdown.show-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.notify-header-modern {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.notify-header-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notify-badge-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.notify-mark-all-btn {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notify-mark-all-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.notify-list-wrapper {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f8fafc;
}

.notify-list-wrapper::-webkit-scrollbar {
    width: 6px;
}

.notify-list-wrapper::-webkit-scrollbar-track {
    background: #e5e7eb;
}

.notify-list-wrapper::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 10px;
}

.notify-list-wrapper::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.notify-item-modern {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.notify-item-modern:hover {
    background: linear-gradient(to right, #f0f9ff, #ffffff);
    transform: translateX(4px);
}

.notify-item-modern.notify-item-read {
    background: #f8fafc;
    opacity: 0.7;
}

.notify-item-modern.notify-item-read:hover {
    opacity: 0.85;
}

.notify-item-indicator {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: transparent;
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.notify-item-indicator.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.notify-icon-modern {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.notify-item-modern:hover .notify-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.notify-icon-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.notify-icon-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.notify-icon-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.notify-icon-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.notify-icon-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.notify-content-modern {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
}

.notify-title-modern {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notify-meta-modern {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.notify-meta-modern i {
    font-size: 10px;
    opacity: 0.7;
}

.notify-actions-modern {
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.notify-item-modern:hover .notify-actions-modern {
    opacity: 1;
}

.notify-action-btn {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notify-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notify-action-btn.notify-mark-read:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.notify-action-btn.notify-delete:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.notify-empty-modern {
    padding: 60px 30px;
    text-align: center;
    background: white;
}

.notify-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #94a3b8;
}

.notify-empty-title {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.notify-empty-subtitle {
    font-size: 13px;
    color: #94a3b8;
}

.notify-footer-modern {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.notify-footer-btn {
    flex: 1;
    padding: 10px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.notify-footer-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.notify-footer-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white !important;
}

.notify-footer-btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.notify-footer-btn i {
    font-size: 13px;
}

.notify-loading {
    padding: 40px;
    text-align: center;
    color: #94a3b8;
}

.notify-loading i {
    font-size: 32px;
    animation: spin 1s linear infinite;
}

/* Responsive Bildirim */
@media (max-width: 768px) {
    .modern-notify-dropdown {
        width: 360px;
        right: -20px;
    }

    .notify-list-wrapper {
        max-height: 350px;
    }

    .notify-header-modern {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .modern-notify-dropdown {
        width: 320px;
        right: -40px;
    }

    .notify-item-modern {
        padding: 14px 16px;
    }

    .notify-icon-modern {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* Ajans Blur Popup Animasyonu */
@keyframes popupFadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

/* ============================================
   CUSTOMER PANEL STYLES
   ============================================ */

/* Customer Sidebar */
.modern-sidebar-wrapper {
    position: sticky;
    top: 20px;
}

.modern-menu-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-menu-profile {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea05 0%, #764ba205 100%);
    border-bottom: 1px solid #e2e8f0;
}

.modern-menu-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modern-menu-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px;
}

.modern-menu-email {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.modern-menu-list {
    list-style: none;
    padding: 15px;
    margin: 0;
}

.modern-menu-item {
    margin-bottom: 5px;
}

.modern-menu-link {
    display: flex;
    align-items: center;
    padding: 7px 15px;
    color: #334155;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 17px;
}

.modern-menu-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
    color: #64748b;
}

.modern-menu-link:hover {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    color: #667eea;
    text-decoration: none;
}

.modern-menu-link:hover i {
    color: #667eea;
}

.modern-menu-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.modern-menu-link.active i {
    color: white;
}

.modern-menu-badge {
    margin-left: auto;
    background: #ef4444;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.modern-menu-link.active .modern-menu-badge {
    background: rgba(255, 255, 255, 0.3);
}

.modern-badge-danger {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Customer Stats Cards */
.modern-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 10px 0;
    transition: all 0.3s ease;
}

.modern-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
}

.modern-stat-icon {
    width: 35px;
    height: 35px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.modern-stat-primary .modern-stat-icon {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: #667eea;
}

.modern-stat-success .modern-stat-icon {
    background: linear-gradient(135deg, #10b98115 0%, #05966915 100%);
    color: #10b981;
}

.modern-stat-danger .modern-stat-icon {
    background: linear-gradient(135deg, #ef444415 0%, #dc262615 100%);
    color: #ef4444;
}

.modern-stat-warning .modern-stat-icon {
    background: linear-gradient(135deg, #f59e0b15 0%, #d9770615 100%);
    color: #f59e0b;
}

.modern-stat-info .modern-stat-icon {
    background: linear-gradient(135deg, #3b82f615 0%, #2563eb15 100%);
    color: #3b82f6;
}

.modern-stat-secondary .modern-stat-icon {
    background: linear-gradient(135deg, #764ba215 0%, #5b21b615 100%);
    color: #764ba2;
}

.modern-stat-content {
    flex: 1;
}

.modern-stat-value {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1;
}

.modern-stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Modern Badge */
.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.modern-badge-primary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.modern-badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.modern-badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.modern-badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.modern-badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.modern-badge-secondary {
    background: rgba(118, 75, 162, 0.1);
    color: #764ba2;
    border: 1px solid rgba(118, 75, 162, 0.2);
}

.modern-badge-dark {
    background: rgba(30, 41, 59, 0.1);
    color: #1e293b;
    border: 1px solid rgba(30, 41, 59, 0.2);
}

/* Modern Small Buttons */
.modern-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.modern-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.modern-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    color: white;
}

.modern-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white !important;
}

.modern-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    color: white !important;
}

/* Seçilenleri sil butonu için beyaz yazı rengi */
.btn-danger.modern-btn,
.modern-btn.btn-danger,
.btn-sm.btn-danger.modern-btn {
    color: white !important;
}

.btn-danger.modern-btn:hover,
.modern-btn.btn-danger:hover,
.btn-sm.btn-danger.modern-btn:hover {
    color: white !important;
}

.btn-danger.modern-btn i,
.modern-btn.btn-danger i,
.btn-sm.btn-danger.modern-btn i {
    color: white !important;
}

.modern-btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.modern-btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    color: white;
}

.modern-btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.modern-btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    color: white;
}

.modern-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Excel Button - Pastel Purple/Pink */
.modern-btn-excel {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 50%, #f9a8d4 100%);
    color: #be185d;
    border: 1px solid #f472b6;
}

.modern-btn-excel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
    background: linear-gradient(135deg, #fbcfe8 0%, #f9a8d4 50%, #f472b6 100%);
    color: #9f1239;
    text-decoration: none;
}

.modern-btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Empty State */
.modern-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.modern-empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.modern-empty-state h4 {
    margin: 0 0 10px 0;
    color: #475569;
    font-weight: 600;
    font-size: 20px;
}

.modern-empty-state p {
    margin: 0 0 20px;
    font-size: 14px;
    color: #64748b;
}

/* Pagination */
.modern-pagination-wrap {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
}

/* Quick Action Cards */
.modern-quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 140px;
}

.modern-quick-action-card:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea05 0%, #764ba205 100%);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
    text-decoration: none;
}

.modern-quick-action-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 12px;
}

.modern-quick-action-text {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
}

.modern-quick-action-card:hover .modern-quick-action-text {
    color: #667eea;
}

/* Destek Sistemi Stilleri */
.modern-message-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.modern-message-admin {
    border-left: 4px solid #10b981;
    background: #f0fdf4;
}

.modern-message-customer {
    border-left: 4px solid #3b82f6;
    background: #eff6ff;
}

.modern-message-header {
    background: #f8fafc;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modern-message-header strong {
    color: #1e293b;
    font-weight: 600;
}

.modern-message-header small {
    color: #64748b;
    font-size: 12px;
}

.modern-message-body {
    padding: 20px;
    color: #374151;
    line-height: 1.6;
    white-space: pre-wrap;
}

.modern-info-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.modern-info-card-title {
    background: #f8fafc;
    padding: 16px 20px;
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-info-card-title i {
    color: #6366f1;
    font-size: 16px;
}

.modern-info-card-body {
    padding: 20px;
}

.modern-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-info-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.modern-info-list li:last-child {
    border-bottom: none;
}

.modern-info-list li i {
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.modern-form-group {
    margin-bottom: 20px;
}

.modern-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-form-label i {
    color: #6366f1;
    font-size: 14px;
}

.modern-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;
}

.modern-form-control:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.modern-form-control.is-invalid {
    border-color: #ef4444;
}

.modern-form-feedback {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.modern-form-feedback::before {
    content: "⚠";
    font-size: 12px;
}

/* Destek sistemi için özel badge stilleri */
.modern-badge-success {
    background: #10b981;
    color: #fff;
}

.modern-badge-warning {
    background: #f59e0b;
    color: #fff;
}

.modern-badge-danger {
    background: #ef4444;
    color: #fff;
}

.modern-badge-info {
    background: #3b82f6;
    color: #fff;
}

.modern-badge-secondary {
    background: #6b7280;
    color: #fff;
}

/* Destek sistemi için responsive düzenlemeler */
@media (max-width: 768px) {
    .modern-message-card {
        margin-bottom: 15px;
    }

    .modern-message-header {
        padding: 12px 16px;
    }

    .modern-message-body {
        padding: 16px;
    }

    .modern-info-card-body {
        padding: 16px;
    }

    .modern-form-control {
        padding: 10px 12px;
    }
}

/* Destek sistemi form wrapper */
.modern-form-wrapper {
    padding: 24px;
    background: #fff;
}

/* Destek sistemi content wrapper */
.modern-content-wrapper {
    padding: 24px;
    background: #fff;
}

/* Modern empty state */
.modern-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
}

.empty-state-icon {
    margin-bottom: 24px;
}

.empty-state-icon i {
    font-size: 64px;
    color: #6c757d;
}

.empty-state-title {
    color: #6c757d;
    margin-bottom: 12px;
    font-weight: 600;
}

.empty-state-text {
    color: #6c757d;
    margin-bottom: 24px;
    font-size: 14px;
}

/* Modern header content */
.modern-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.modern-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Modern sidebar wrapper */
.modern-sidebar-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/* Ajans paneli modern nav menu */
.modern-nav-menu {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.modern-nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.modern-nav-menu a:hover {
    background: #e2e8f0;
    color: #475569;
    text-decoration: none;
}

.modern-nav-menu a.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.modern-nav-menu a.active:hover {
    background: #2563eb;
    color: #fff;
}

.modern-nav-menu-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
}

/* Message File Styles */
.message-file {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.file-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
}

.file-link:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
    text-decoration: none;
}

.file-link i {
    color: #3b82f6;
}

/* Ajans paneli dashboard right - Meta Style */
.dashboard-right {
    margin-left: 280px;
    min-height: 100vh;
    background: rgb(255, 246, 239);
    background: linear-gradient(
        90deg,
        rgba(255, 246, 239, 1) 20%,
        rgba(218, 238, 245, 0.8869748583026961) 80%
    );
}

.dashboard-right-content {
    padding: 0;
}

/* Ajans paneli responsive */
@media (max-width: 1200px) {
    .dashboard-right {
        margin-left: 0;
    }
}

/* Modern card for ajans paneli */
.modern-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Modern Form Card */
.modern-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 20px;
}

.modern-card-header {
    background: #f8fafc;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modern-card-header h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-card-header h6 i {
    color: #94a3b8;
    font-size: 16px;
}

.modern-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-card-body {
    padding: 20px;
}

.modern-card-title i {
    color: #3b82f6;
    font-size: 18px;
}

/* Modern Input & Label */
.modern-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 6px;
}

.modern-input,
.modern-input.form-control,
.modern-input.form-select {
    width: 100%;
    padding: 10px 14px;
    font-size: 17px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.2s ease;
    color: #334155;
}

.modern-input:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.1);
    background: #fafafa;
}

.modern-input::placeholder {
    color: #cbd5e1;
    font-size: 16px;
}

.modern-input:disabled,
.modern-input[readonly] {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
}

/* Modern Price Display */
.modern-price-display {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #0369a1;
}

.modern-form-card > *:not(.modern-card-header) {
    padding: 20px;
}

.modern-form-card .form-group:last-child {
    margin-bottom: 0;
}

/* Modern Support Ticket Design */
.ticket-summary-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 24px;
}

.ticket-summary-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 24px;
    color: #fff;
}

.ticket-summary-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-summary-title i {
    font-size: 20px;
    opacity: 0.9;
}

.ticket-summary-body {
    padding: 24px;
}

.summary-item {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-label i {
    font-size: 14px;
    color: #94a3b8;
}

.summary-value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

/* Conversation Section */
.conversation-section {
    margin-bottom: 24px;
}

.conversation-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.conversation-title i {
    color: #3b82f6;
    font-size: 18px;
}

.message-thread {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.message-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.message-item:last-child {
    margin-bottom: 0;
}

.message-item:hover {
    background: #f8fafc;
}

.message-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.customer-avatar {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.admin-avatar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.message-sender {
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-sender strong {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.sender-role {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-role {
    background: #ecfdf5;
    color: #059669;
}

.message-time {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.message-body {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Reply Section */
.reply-section {
    margin-bottom: 24px;
}

.reply-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.reply-title i {
    color: #10b981;
    font-size: 18px;
}

.reply-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label i {
    color: #6b7280;
    font-size: 14px;
}

.required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.reply-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-control.is-invalid {
    border-color: #ef4444;
}

.form-feedback {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-feedback::before {
    content: "⚠";
    font-size: 12px;
}

.form-actions {
    margin-top: 20px;
}

.reply-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.reply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Sidebar Cards */
.sidebar-info-card,
.sidebar-control-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
}

.sidebar-card-header {
    background: #f8fafc;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card-title i {
    color: #3b82f6;
    font-size: 16px;
}

.sidebar-card-body {
    padding: 20px;
}

.info-item {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-label i {
    font-size: 12px;
    color: #94a3b8;
}

.info-value {
    font-size: 13px;
    color: #1e293b;
    font-weight: 500;
}

.status-select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.status-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.status-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    width: 100%;
    transition: all 0.2s ease;
}

.status-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-block {
    width: 100%;
}

/* WhatsApp Tarzı Sohbet Tasarımı */
.support-detail-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 600px;
    background: #f0f2f5;
}

.chat-header {
    background: #075e54;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #054d44;
}

.chat-title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-title i {
    font-size: 18px;
    opacity: 0.9;
}

.chat-status {
    font-size: 12px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: linear-gradient(135deg, #e5ddd5 0%, #f0f2f5 100%);
    background-image: radial-gradient(
            circle at 20% 80%,
            rgba(120, 119, 198, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 119, 198, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(120, 219, 255, 0.1) 0%,
            transparent 50%
        );
}

.message-bubble {
    display: flex;
    margin-bottom: 16px;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-bubble.customer-bubble {
    justify-content: flex-start;
}

.message-bubble.admin-bubble {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    flex-shrink: 0;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.customer-avatar {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.admin-avatar {
    background: linear-gradient(135deg, #0088cc 0%, #0056b3 100%);
}

.message-content {
    max-width: 70%;
    min-width: 120px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    padding: 0 8px;
}

.sender-name {
    font-size: 12px;
    font-weight: Kraken;
    color: #54656f;
}

.message-time {
    font-size: 11px;
    color: #667781;
}

.message-text {
    background: #fff;
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    word-wrap: break-word;
    line-height: 1.4;
    font-size: 14px;
    color: #303030;
}

.customer-bubble .message-text {
    background: #fff;
    border-bottom-left-radius: 4px;
}

.admin-bubble .message-text {
    background: #dcf8c6;
    border-bottom-right-radius: 4px;
}

.customer-bubble .message-text::before {
    content: "";
    position: absolute;
    left: -8px;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #fff transparent transparent;
}

.admin-bubble .message-text::before {
    content: "";
    position: absolute;
    right: -8px;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 8px 8px;
    border-color: transparent transparent transparent #dcf8c6;
}

.chat-input {
    background: #fff;
    border-top: 1px solid #e9edef;
    padding: 16px 20px;
}

.message-form {
    margin: 0;
}

.input-group {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: #fff;
    border-radius: 24px;
    padding: 8px 12px;
    border: 1px solid #e9edef;
    transition: all 0.2s ease;
}

.input-group:focus-within {
    border-color: #25d366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.1);
}

.message-input {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    font-size: 14px;
    line-height: 1.4;
    padding: 8px 12px;
    min-height: 20px;
    max-height: 120px;
    font-family: inherit;
}

.message-input::placeholder {
    color: #667781;
}

.send-btn {
    background: #25d366;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.send-btn:hover {
    background: #128c7e;
    transform: scale(1.05);
}

.send-btn i {
    font-size: 16px;
}

.file-btn {
    background: #6b7280;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.file-btn:hover {
    background: #4b5563;
    transform: scale(1.05);
    color: #fff;
}

.file-btn i {
    font-size: 16px;
}

/* Müşteri Bilgi Kartı */
.customer-info-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.customer-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 20px;
    color: #fff;
    text-align: center;
}

.customer-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 12px;
    backdrop-filter: blur(10px);
}

.customer-name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
}

.customer-email {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.customer-info-list {
    padding: 20px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 13px;
    color: #1e293b;
    font-weight: 500;
}

/* Dosya Kartı */
.files-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.files-header {
    background: #f8fafc;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.files-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.files-title i {
    color: #f59e0b;
    font-size: 16px;
}

.files-content {
    padding: 16px 20px;
    max-height: 300px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.file-item:last-child {
    margin-bottom: 0;
}

.file-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.file-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
}

.file-sender {
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 500;
}

.file-date {
    color: #94a3b8;
}

.file-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.file-download,
.file-preview {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 12px;
}

.file-download {
    background: #10b981;
    color: #fff;
}

.file-download:hover {
    background: #059669;
    color: #fff;
    transform: scale(1.1);
}

.file-preview {
    background: #3b82f6;
    color: #fff;
}

.file-preview:hover {
    background: #1d4ed8;
    color: #fff;
    transform: scale(1.1);
}

.no-files {
    text-align: center;
    padding: 32px 16px;
    color: #64748b;
}

.no-files-icon {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.no-files-text p {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 500;
}

.no-files-text small {
    font-size: 12px;
    opacity: 0.8;
}

/* Durum Kontrol Kartı */
.status-control-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.status-header {
    background: #f8fafc;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.status-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-title i {
    color: #3b82f6;
    font-size: 16px;
}

.status-content {
    padding: 20px;
}

.status-select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    width: 100%;
    transition: all 0.2s ease;
    background: #fff;
}

.status-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.status-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    width: 100%;
    transition: all 0.2s ease;
    margin-top: 12px;
}

.status-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-container {
        height: 500px;
    }

    .chat-header {
        padding: 12px 16px;
    }

    .chat-messages {
        padding: 16px;
    }

    .customer-header {
        padding: 20px 16px;
    }

    .customer-info-list {
        padding: 16px;
    }

    .status-content {
        padding: 16px;
    }

    .message-content {
        max-width: 85%;
    }

    .message-bubble.admin-bubble {
        flex-direction: row;
        justify-content: flex-start;
    }

    .admin-bubble .message-text {
        background: #fff;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 18px;
    }

    .admin-bubble .message-text::before {
        left: -8px;
        right: auto;
        border-width: 0 8px 8px 0;
        border-color: transparent #fff transparent transparent;
    }

    .files-content {
        padding: 12px 16px;
        max-height: 250px;
    }

    .file-item {
        padding: 10px;
        gap: 10px;
    }

    .file-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .file-name {
        font-size: 12px;
    }

    .file-actions {
        gap: 2px;
    }

    .file-download,
    .file-preview {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
}

/* ============================================
   AJANS PANELİ - KAPSAMLI MOBİL UYUMLULUK
   ============================================ */

@media (max-width: 991.98px) {
    /* ========== FORM ELEMANLARI ========== */
    /* Tüm input, select, textarea mobil uyumlu */
    .form-control,
    .form-select,
    .modern-input,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    select,
    textarea {
        width: 100% !important;
        font-size: 16px !important; /* iOS zoom önleme */
        padding: 12px 14px !important;
        min-height: 44px !important; /* Dokunmatik uyumlu */
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }

    /* Form grup margin */
    .form-group,
    .mb-3,
    .mb-4 {
        margin-bottom: 16px !important;
    }

    /* Label'lar */
    label,
    .modern-label,
    .form-label {
        font-size: 14px !important;
        font-weight: 500 !important;
        margin-bottom: 8px !important;
        display: block !important;
    }

    /* Form row'ları dikey yap */
    .form-row,
    .row.g-3,
    .row.g-4,
    .row.align-items-end {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-direction: column !important;
    }

    .form-row > [class*="col-"],
    .row.g-3 > [class*="col-"],
    .row.g-4 > [class*="col-"],
    .row.align-items-end > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 16px !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Özel durum: Dashboard'daki stats cards için istisna */
    .dashboard-right-content .row.g-2 > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* Özel durum: Aylık kazanç kartları için istisna */
    .dashboard-right-content .row.g-3 > .col-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* Checkbox ve Radio */
    .form-check {
        margin-bottom: 12px !important;
        padding-left: 28px !important;
    }

    .form-check-input {
        width: 20px !important;
        height: 20px !important;
        margin-left: -28px !important;
        margin-top: 2px !important;
    }

    .form-check-label {
        font-size: 14px !important;
        padding-left: 8px !important;
    }

    /* ========== BUTONLAR ========== */
    /* Tüm butonlar mobilde tam genişlik */
    .btn,
    .action-btn,
    button:not(.btn-table-edit):not(.btn-table-delete):not(
            .btn-table-restore
        ):not(.mobile-menu-toggle):not(.mobile-sidebar-close) {
        width: 100% !important;
        min-height: 44px !important; /* Dokunmatik uyumlu */
        padding: 12px 20px !important;
        font-size: 15px !important;
        margin-bottom: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    /* Buton grupları dikey */
    .btn-group,
    .d-flex.gap-2:has(.btn),
    .d-flex.gap-3:has(.btn) {
        flex-direction: column !important;
        width: 100% !important;
    }

    .btn-group > .btn {
        border-radius: 8px !important;
        margin-bottom: 8px !important;
    }

    /* Tablo içi butonlar küçük kalabilir */
    .btn-table-edit,
    .btn-table-delete,
    .btn-table-restore,
    .action-btn.btn-secondary,
    .action-btn.btn-danger,
    .action-btn:not(.btn-primary):not(.btn-success) {
        width: auto !important;
        min-width: 40px !important;
        height: 40px !important;
        padding: 8px 12px !important;
        margin-bottom: 0 !important;
        font-size: 13px !important;
    }

    /* Tablo içindeki action butonları */
    .modern-table .d-flex.gap-2,
    .modern-table .d-flex.gap-3 {
        flex-wrap: wrap !important;
        gap: 4px !important;
    }

    .modern-table .action-btn {
        width: auto !important;
        min-width: 36px !important;
        height: 36px !important;
        padding: 6px 10px !important;
        margin-bottom: 0 !important;
    }

    /* ========== KARTLAR ========== */
    .modern-card,
    .modern-form-card,
    .card {
        margin-bottom: 16px !important;
        border-radius: 12px !important;
    }

    .modern-card-header,
    .card-header {
        padding: 14px 16px !important;
    }

    .modern-card-body,
    .card-body {
        padding: 16px !important;
    }

    .modern-card-title,
    .card-title {
        font-size: 16px !important;
    }

    /* ========== MODAL ========== */
    .modal-dialog {
        margin: 10px !important;
        max-width: calc(100% - 20px) !important;
    }

    .modal-content {
        border-radius: 12px !important;
    }

    .modal-header {
        padding: 14px 16px !important;
    }

    .modal-title {
        font-size: 18px !important;
    }

    .modal-body {
        padding: 16px !important;
        max-height: calc(100vh - 200px) !important;
        overflow-y: auto !important;
    }

    .modal-footer {
        padding: 12px 16px !important;
        flex-direction: column !important;
    }

    .modal-footer .btn {
        width: 100% !important;
        margin: 4px 0 !important;
    }

    /* ========== SAYFA BAŞLIKLARI ========== */
    .page-header,
    h1,
    h2.page-title {
        font-size: 22px !important;
        margin-bottom: 16px !important;
        padding: 0 4px !important;
    }

    h3 {
        font-size: 18px !important;
    }

    h4 {
        font-size: 16px !important;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 13px !important;
        padding: 8px 0 !important;
        margin-bottom: 16px !important;
    }

    /* ========== NAV MENÜ ========== */
    .modern-nav-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-bottom: 16px !important;
    }

    .modern-nav-menu a {
        width: 100% !important;
        padding: 12px 16px !important;
        text-align: center !important;
        font-size: 14px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .modern-nav-menu a i {
        font-size: 16px !important;
    }

    /* ========== FİLTRE VE ARAMA ========== */
    .filter-section,
    .search-section,
    .filter-panel,
    .d-flex.justify-content-between:has(.form-control),
    .d-flex.gap-2:has(.form-control) {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .filter-section > *,
    .search-section > *,
    .filter-panel > * {
        width: 100% !important;
    }

    /* Filtre paneli içindeki row'lar */
    .filter-panel .row,
    .filter-panel .row.align-items-end {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-direction: column !important;
    }

    .filter-panel .row > [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 16px !important;
    }

    .filter-panel .form-group {
        margin-bottom: 0 !important;
    }

    /* Arama input'ları */
    .form-control[type="search"],
    input[type="search"] {
        width: 100% !important;
        margin-bottom: 12px !important;
    }

    /* ========== PAGINATION ========== */
    .pagination {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px !important;
        margin: 16px 0 !important;
    }

    .pagination .page-link {
        min-width: 40px !important;
        height: 40px !important;
        padding: 8px 12px !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* ========== ALERT VE MESAJLAR ========== */
    .alert {
        padding: 12px 16px !important;
        font-size: 14px !important;
        margin-bottom: 16px !important;
        border-radius: 8px !important;
    }

    .alert .btn {
        margin-top: 12px !important;
    }

    /* ========== BADGE VE ETİKETLER ========== */
    .badge,
    .status-badge {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }

    /* ========== DROPDOWN MENÜLER ========== */
    .dropdown-menu {
        min-width: 100% !important;
        max-width: 100% !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }

    .dropdown-item {
        padding: 12px 16px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 14px !important;
    }

    .dropdown-item i {
        font-size: 16px !important;
        width: 20px !important;
        text-align: center !important;
    }

    /* ========== ÖZEL SAYFA YAPILARI ========== */
    /* Create/Edit sayfaları */
    .create-form,
    .edit-form {
        padding: 16px !important;
    }

    /* Show/Detail sayfaları */
    .detail-section,
    .info-section {
        margin-bottom: 20px !important;
    }

    .detail-row,
    .info-row {
        flex-direction: column !important;
        margin-bottom: 12px !important;
    }

    .detail-label,
    .info-label {
        font-weight: 600 !important;
        margin-bottom: 4px !important;
        font-size: 13px !important;
        color: #64748b !important;
    }

    .detail-value,
    .info-value {
        font-size: 14px !important;
        color: #1e293b !important;
    }

    /* İki sütunlu bilgi gösterimi */
    .row > .col-md-6:has(.detail-section),
    .row > .col-lg-6:has(.detail-section) {
        margin-bottom: 20px !important;
    }

    /* ========== TABS ========== */
    .nav-tabs {
        flex-wrap: wrap !important;
        border-bottom: 2px solid #e2e8f0 !important;
    }

    .nav-tabs .nav-link {
        padding: 10px 16px !important;
        font-size: 14px !important;
        min-height: 44px !important;
        flex: 1 1 auto !important;
        text-align: center !important;
    }

    .tab-content {
        padding: 16px 0 !important;
    }

    /* ========== LIST GROUP ========== */
    .list-group-item {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }

    /* ========== PROGRESS BAR ========== */
    .progress {
        height: 8px !important;
        margin-bottom: 12px !important;
    }

    /* ========== TOOLTIP VE POPOVER ========== */
    .tooltip,
    .popover {
        font-size: 12px !important;
        max-width: 90% !important;
    }

    /* ========== DOSYA YÜKLEME ========== */
    .file-upload-area,
    .dropzone {
        padding: 20px !important;
        min-height: 120px !important;
        border-radius: 8px !important;
    }

    .file-upload-btn,
    .btn-file {
        width: 100% !important;
        min-height: 44px !important;
        padding: 12px 20px !important;
    }

    /* ========== TARİH SEÇİCİ ========== */
    .datepicker,
    .flatpickr-input {
        width: 100% !important;
        font-size: 16px !important;
        padding: 12px 14px !important;
        min-height: 44px !important;
    }

    /* ========== RICH TEXT EDITOR ========== */
    .ql-container,
    .note-editor {
        font-size: 14px !important;
    }

    .ql-toolbar {
        flex-wrap: wrap !important;
    }

    .ql-toolbar .ql-formats {
        margin-bottom: 4px !important;
    }

    /* ========== SWITCH VE TOGGLE ========== */
    .form-switch .form-check-input {
        width: 44px !important;
        height: 24px !important;
    }

    /* ========== RANGE SLIDER ========== */
    .form-range {
        width: 100% !important;
        height: 8px !important;
    }

    /* ========== INPUT GROUP ========== */
    .input-group {
        flex-direction: column !important;
        width: 100% !important;
    }

    .input-group > .form-control,
    .input-group > .form-select {
        border-radius: 8px !important;
        margin-bottom: 8px !important;
    }

    .input-group-text {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px !important;
        border-radius: 8px !important;
    }

    /* ========== ACCORDION ========== */
    .accordion-item {
        margin-bottom: 12px !important;
        border-radius: 8px !important;
    }

    .accordion-button {
        padding: 14px 16px !important;
        font-size: 15px !important;
        min-height: 44px !important;
    }

    .accordion-body {
        padding: 16px !important;
    }

    /* ========== TOAST VE NOTIFICATION ========== */
    .toast-container {
        padding: 10px !important;
    }

    .toast {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }

    /* ========== DATA TABLE ========== */
    .dataTables_wrapper {
        overflow-x: auto !important;
    }

    .dataTables_length,
    .dataTables_filter {
        margin-bottom: 16px !important;
    }

    .dataTables_length select,
    .dataTables_filter input {
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    /* ========== CHART CONTAINER ========== */
    .chart-container {
        width: 100% !important;
        height: 300px !important;
        margin-bottom: 20px !important;
    }

    /* ========== EMPTY STATE ========== */
    .empty-state {
        padding: 40px 20px !important;
        text-align: center !important;
    }

    .empty-state img {
        max-width: 200px !important;
        height: auto !important;
    }

    .empty-state h3 {
        font-size: 18px !important;
        margin-top: 16px !important;
    }

    .empty-state p {
        font-size: 14px !important;
        margin-top: 8px !important;
    }
}

@media (max-width: 768px) {
    /* Daha küçük ekranlar için ek optimizasyonlar */
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Font boyutları daha da küçült */
    body {
        font-size: 14px !important;
    }

    /* Kart padding'leri azalt */
    .modern-card-body,
    .card-body {
        padding: 12px !important;
    }

    /* Modal daha küçük */
    .modal-dialog {
        margin: 5px !important;
        max-width: calc(100% - 10px) !important;
    }

    .modal-body {
        padding: 12px !important;
    }
}

@media (max-width: 576px) {
    /* En küçük ekranlar için */
    .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Sayfa başlıkları */
    h1 {
        font-size: 20px !important;
    }

    h2 {
        font-size: 18px !important;
    }

    /* Butonlar daha kompakt */
    .btn {
        padding: 10px 16px !important;
        font-size: 14px !important;
    }

    /* Input'lar */
    .form-control,
    .form-select {
        padding: 10px 12px !important;
        font-size: 16px !important;
    }

    /* Kartlar */
    .modern-card-header,
    .card-header {
        padding: 12px !important;
    }

    .modern-card-body,
    .card-body {
        padding: 12px !important;
    }

    /* Tablo başlıkları küçült */
    .modern-table-header {
        padding: 12px 16px !important;
    }

    .modern-table-title {
        font-size: 16px !important;
    }
}
