/* ============================================
   BDO Bagaj Takip - Ortak Stiller
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1;       /* Premium Violet/Indigo */
    --primary-dark: #4f46e5;  /* Indigo Dark Accent */
    --secondary: #06b6d4;     /* Modern Cyan / Teal */
    --success: #10b981;       /* Emerald Success */
    --danger: #f43f5e;        /* Rose Red Danger */
    --warning: #f59e0b;       /* Amber Warning */
    --info: #3b82f6;          /* Blue Info */
    --dark: #0f172a;          /* Slate 900 Dark */
    --light: #f8fafc;         /* Slate 50 Light Background */
    --border: rgba(226, 232, 240, 0.8);
    --border-dark: rgba(51, 65, 85, 0.5);
    --card-bg: #ffffff;
    --sidebar-bg: rgba(255, 255, 255, 0.85);
    --topbar-bg: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.03);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.03), 0 4px 12px -2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 20px 40px -4px rgba(0, 0, 0, 0.05), 0 8px 16px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 30px 60px -5px rgba(0, 0, 0, 0.07), 0 12px 24px -3px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 40px 80px -10px rgba(0, 0, 0, 0.12), 0 20px 40px -5px rgba(0, 0, 0, 0.06);
    --radius: 16px;           /* Premium rounded borders */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Filter Card */
.filter-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.filter-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #212529;
}

.filter-form {
    padding: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #495057;
}



/* Report Card */
.report-card {
    background: #FAFBFCFF;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 2rem;
}

.report-card:hover {
    box-shadow: var(--shadow-md);
}

.report-header {

    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.report-header-content {
    flex: 1;
}

.report-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0.5rem 0 0 0;
}

.badge-count {
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.report-header-actions {
    display: flex;
    gap: 0.5rem;
}

.report-body {
    padding: 0;
    overflow: hidden;
}


/* Report Table */
.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.report-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid var(--border-color);
}

.report-table thead th {
    padding: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    border: none;
    background: #f8f9fa;
}

.report-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.report-table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.report-table tbody td {
    padding: 1rem;
    font-size: 0.9rem;
    color: #212529;
    vertical-align: middle;
}

/* Table Cells */
.cell-date {
    white-space: nowrap;
}

.date-main {
    display: block;
    font-weight: 600;
    color: #212529;
}

.date-time {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
}

.cell-tag {
    text-align: center;
}

.badge-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.cell-tracking {
    font-family: 'Monaco', 'Courier New', monospace;
}

.tracking-code {
    background: #f8f9fa;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    color: #212529;
    border: 1px solid var(--border-color);
}

.airline-badge {
    background: #e7f3ff;
    color: #0066cc;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.zone-text {
    color: #6c757d;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-successful {
    background: linear-gradient(135deg, #d1e7dd, #c3e6cb);
    color: #0f5132;
    border-left: 3px solid #198754;
}

.status-successful:hover {
    background: linear-gradient(135deg, #c3e6cb, #b6dbb8);
}

.status-failed {
    background: linear-gradient(135deg, #f8d7da, #f5c2c7);
    color: #842029;
    border-left: 3px solid #dc3545;
}

.status-failed:hover {
    background: linear-gradient(135deg, #f5c2c7, #f1b0b7);
}

.status-rescheduled {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    color: #664d03;
    border-left: 3px solid #ffc107;
}

.status-rescheduled:hover {
    background: linear-gradient(135deg, #ffe69c, #ffd966);
}

.status-unknown {
    background: linear-gradient(135deg, #e2e3e5, #d3d4d6);
    color: #41464b;
    border-left: 3px solid #6c757d;
}

.status-icon {
    font-style: normal;
    font-size: 1rem;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}


/* Empty State */
.empty-state {
    padding: 3rem 1rem;
}

.empty-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.empty-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Report Footer */
.report-footer {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: #6c757d;
}



[data-bs-theme="dark"] {
    --light: #f8fafc;
    --dark: #080c14;
    --border: rgba(51, 65, 85, 0.45);
    --card-bg: #0f172a;
    --sidebar-bg: rgba(15, 23, 42, 0.85);
    --topbar-bg: rgba(15, 23, 42, 0.85);
}

[data-bs-theme="dark"] body {
    background: var(--dark);
    color: var(--light);
}

[data-bs-theme="dark"] .topbar-btn {
    background: var(--dark);
    color: #94a3b8;
}

[data-bs-theme="dark"] .topbar-search input {
    background: var(--dark);
    color: var(--light);
}

[data-bs-theme="dark"] .form-control-modern {
    background: var(--card-bg);
    color: var(--light);
}

[data-bs-theme="dark"] table.dataTable tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] .file-upload-wrapper {
    background: var(--dark);
}

[data-bs-theme="dark"] .tags-input-wrapper {
    background: var(--dark);
}

[data-bs-theme="dark"] .select2-container .select2-selection--single,
[data-bs-theme="dark"] .select2-container .select2-selection--multiple {
    background: var(--dark);
}

[data-bs-theme="dark"] .select2-search--dropdown {
    background: var(--dark);
}

[data-bs-theme="dark"] .select2-results::-webkit-scrollbar-track {
    background: var(--dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before,
body::after {
    content: '';
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(150px);
    opacity: 0.15;
    transition: var(--transition);
}

body::before {
    top: -250px;
    left: -250px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(99, 102, 241, 0) 70%);
}

body::after {
    bottom: -250px;
    right: -250px;
    background: radial-gradient(circle, var(--secondary) 0%, rgba(6, 182, 212, 0) 70%);
}

[data-bs-theme="dark"] body::before {
    opacity: 0.08;
}

[data-bs-theme="dark"] body::after {
    opacity: 0.08;
}

/* ============================================
   SIDEBAR
============================================ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.015);
}

[data-bs-theme="dark"] .sidebar {
    border-right-color: var(--border);
}

.sidebar-brand {
    padding: 1.75rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.sidebar-brand-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-brand-text h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.2px;
}

.sidebar-brand-text small {
    opacity: 0.85;
    font-size: 0.8rem;
    font-weight: 500;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 0;
}

.sidebar-nav::-webkit-scrollbar {
    width: 5px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 10px;
}

.nav-section-title {
    padding: 1.25rem 1.75rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}

.nav-item {
    padding: 0.15rem 1.25rem;
    margin-bottom: 0.15rem;
}

.nav-link-custom,
.sub-nav-link-custom {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1.25rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.925rem;
}

.nav-link-custom span,
.sub-nav-link-custom span {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-link-custom:hover,
.sub-nav-link-custom:hover {
    background: rgba(99, 102, 241, 0.06);
    color: var(--primary);
    transform: translateX(4px);
}

[data-bs-theme="dark"] .nav-link-custom:hover,
[data-bs-theme="dark"] .sub-nav-link-custom:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--light);
}

.nav-link-custom.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
    font-weight: 600;
}

.sub-nav-link-custom.active {
    background: #f1f5f9;
    color: var(--primary);
}

.nav-link-icon {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.nav-badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* ============================================
   TOPBAR
============================================ */
.topbar {
    background: var(--topbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

[data-bs-theme="dark"] .topbar {
    border-bottom-color: var(--border);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-search {
    position: relative;
    width: 400px;
}

.topbar-search input {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.75rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
    background: var(--light);
    color: var(--dark);
    font-size: 0.9rem;
}

.topbar-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.topbar-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.topbar-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    color: #64748b;
}

.topbar-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.topbar-btn-shw {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    color: #ffffff;
    opacity: 0.8;
}

.topbar-btn-shw:hover {
    opacity: 1;
    color: #bcbbbb;
    transform: translateY(-2px);
}

/* ============================================
   MAIN CONTENT
============================================ */
.main-wrapper {
    margin-left: 280px;
    min-height: 100vh;
    transition: var(--transition);
}

.content-area {
    padding: 2rem;
}

.page-header {
    margin-bottom: 1rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-subtitle {
    color: #64748b;
    margin: 0;
}

/* ============================================
   CARDS
============================================ */
.card-modern {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

[data-bs-theme="dark"] .card-modern {
    box-shadow: none;
}

.stat-card-modern {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

[data-bs-theme="dark"] .stat-card-modern {
    box-shadow: none;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: transparent;
    transition: var(--transition);
}

.stat-card-modern:hover::before {
    background: var(--primary);
}

.stat-card-modern.pending:hover::before { background: var(--primary); }
.stat-card-modern.collected:hover::before { background: var(--info); }
.stat-card-modern.delivery:hover::before { background: var(--warning); }
.stat-card-modern.delivered:hover::before { background: var(--success); }

.stat-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-card-modern.pending:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.12);
}
.stat-card-modern.collected:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.12);
}
.stat-card-modern.delivery:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.12);
}
.stat-card-modern.delivered:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.12);
}

.stat-icon-modern {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.stat-card-modern:hover .stat-icon-modern {
    transform: scale(1.05);
}

.stat-icon-modern.primary {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
}

.stat-icon-modern.success {
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
}

.stat-icon-modern.warning {
    background: rgba(245, 158, 11, 0.08);
    color: var(--warning);
}

.stat-icon-modern.info {
    background: rgba(6, 182, 212, 0.08);
    color: var(--info);
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
    color: #0f172a;
}

[data-bs-theme="dark"] .stat-value {
    color: #f8fafc;
}

.stat-label {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   TABLES
   ============================================ */

.table-wrapper {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

[data-bs-theme="dark"] .table-wrapper {
    background: #1e293b;
    border-color: #334155;
    box-shadow: none;
}

.table-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-bs-theme="dark"] .table-header {
    border-bottom-color: #334155;
}

.table-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

[data-bs-theme="dark"] .table-title {
    color: #f8fafc;
}

.table-modern {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.table-modern thead th {
    background: #f8fafc;
    padding: 1rem 1.75rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: #64748b;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
}

[data-bs-theme="dark"] .table-modern thead th {
    background: #0f172a;
    border-bottom-color: #334155;
}

.table-modern tbody td {
    padding: 1.1rem 1.75rem;
    vertical-align: middle;
    border-top: 1px solid rgba(241, 245, 249, 0.8);
    color: #334155;
    font-size: 0.9rem;
}

[data-bs-theme="dark"] .table-modern tbody td {
    border-top-color: #334155;
    color: #94a3b8;
}

.table-modern tbody tr {
    transition: var(--transition);
}

.table-modern tbody tr:hover {
    background: rgba(79, 70, 229, 0.015);
}

[data-bs-theme="dark"] .table-modern tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-modern {
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    text-decoration: none;
}

.btn-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-success-modern {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
}

.badge-danger-modern {
    background: var(--danger);
    color: white;
}

.btn-outline-modern {
    background: transparent;
    border: 2px solid var(--border);
    color: #64748b;
}

.btn-outline-modern:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

/* ============================================
   BADGES
============================================ */
.badge-modern {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 6px;
    padding: .2rem 0.5rem;
    font-size: .9rem;

}

.badge-success-modern {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 6px;
    padding: .2rem 0.5rem;
    font-size: .9rem;
}

.badge-warning-modern {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border-radius: 6px;
    padding: .2rem 0.5rem;
    font-size: .9rem;
}

.badge-danger-modern {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-radius: 6px;
    padding: .2rem 0.5rem;
    font-size: .9rem;
}

.badge-primary-modern {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 6px;
    padding: .2rem 0.5rem;
    font-size: .9rem;
}

/* ============================================
   FORMS
============================================ */
.form-group-modern {
    margin-bottom: .5rem;
}

.form-label-modern {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control-modern {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
    font-size: 0.925rem;
    background: var(--card-bg);
    color: var(--dark);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* ============================================
   ALERTS
============================================ */
.alert-modern {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.alert-success-modern {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    padding: 5px 8px;
}

.alert-info-modern {
    background: rgba(6, 182, 212, 0.9);
    color: #ffffff;
    padding: 5px 8px;
}

.alert-info-modern i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-info-modern code {
    background: rgba(6, 182, 212, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    margin-top: 0.5rem;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .sidebar {
        left: -280px;
    }

    .sidebar.active {
        left: 0;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .topbar-search {
        display: none;
    }

    .content-area {
        padding: 1rem;
    }
}

/* ============================================
   ANIMATIONS
============================================ */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   LOADING
============================================ */


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(99, 102, 241, 0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/*Datatables*/
/* DataTables Custom Styling */

.dataTables_wrapper {
    padding: 0;
}

th:first-child,
thead:first-child,
tr:first-child {
    border-top-left-radius: 10px;
}

th:last-child,
thead:last-child,
tr:last-child {
    border-top-right-radius: 10px;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    padding: 1rem 0 1rem .5rem;
    border-top: 1px solid var(--border);
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    flex-direction: row;
    justify-content: flex-end;
}

.dataTables_wrapper .dataTables_length select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.dataTables_wrapper .dataTables_length select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.dataTables_wrapper .dataTables_filter input {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    background: #ffffff;
    margin-left: 0.5rem;
    width: 250px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.dataTables_wrapper .dataTables_info {
    padding: 1rem 1.5rem;
    color: #64748b;
    text-align: left;
}

.dataTables_wrapper .dataTables_paginate {
    padding: 1rem 1.5rem;
}

.dataTables_wrapper .dataTables_paginate .pagination {
    display: flex;
    margin: 0;
    flex-direction: row;
    justify-content: flex-end;

}

table.dataTable thead th {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    border-bottom: 2px solid var(--border);
}

table.dataTable tbody tr {
    transition: var(--transition);
}

table.dataTable tbody tr:hover {
    background: var(--light);
}

table.dataTable tbody td {
    vertical-align: middle;
}

/* DataTables Buttons */
.dt-buttons {
    display: flex;
    gap: 0.2rem;
    padding: 1rem .5rem 1rem 0;
    max-width: 600px;
}

.dt-button {
    padding: 0.625rem 1.25rem !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    border: none !important;
    cursor: pointer;
    transition: var(--transition) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem !important;
}

.dt-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg) !important;
}

.buttons-excel {
    background: #10b981 !important;
    color: white !important;
    border: 0 !important;
}

.buttons-pdf {
    background: #ef4444 !important;
    color: white !important;
    border: 0 !important;
}

.buttons-print {
    background: #6366f1 !important;
    color: white !important;
    border: 0 !important;
}

.buttons-copy {
    background: #f59e0b !important;
    color: white !important;
    border: 0 !important;
}

.buttons-csv {
    background: #06b6d4 !important;
    color: white !important;
    border: 0 !important;
}

/* Advanced Filter Panel */
.filter-panel {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

[data-bs-theme="dark"] .filter-panel {
    background: #1e293b;
    border-color: #334155;
    box-shadow: none;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Custom Search Box */
.search-box-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box-custom input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    font-size: 0.95rem;
    background: #ffffff;
    transition: var(--transition);
}

.search-box-custom input:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.search-box-custom i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Column Visibility Buttons */
.column-visibility {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.column-toggle {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    color: #64748b;
}

.column-toggle.active {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-weight: 600;
}

.column-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(79, 70, 229, 0.02);
}

/* Range Slider */
.range-slider {
    width: 100%;
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}


/*Form styles*/
.form-section {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

[data-bs-theme="dark"] .form-section {
    background: #1e293b;
    border-color: #334155;
    box-shadow: none;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.form-section-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.form-section-title {
    flex: 1;
}

.form-section-title h5 {
    margin: 0;
    font-weight: 700;
}

.form-section-title p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper input,
.input-icon-wrapper select,
.input-icon-wrapper textarea {
    padding-left: 2.75rem;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
}

.form-control-modern:focus+.input-icon {
    color: var(--primary);
}

/* Custom Checkbox & Radio */
.custom-checkbox,
.custom-radio {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0.15rem;
}

.custom-checkbox:hover,
.custom-radio:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.04);
}

.custom-checkbox input:checked~label,
.custom-radio input:checked~label {
    font-weight: 600;
    color: var(--primary);
}

.custom-checkbox input:checked,
.custom-radio input:checked {
    accent-color: var(--primary);
}

/* File Upload Custom */
.file-upload-wrapper {
    position: relative;
    border: 1px dashed rgba(148, 163, 184, 0.4);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--light);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.04);
}

.file-upload-wrapper input {
    display: none;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.file-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
}

/* Range Slider Custom */
.range-slider-wrapper {
    padding: 1rem 0;
}

.range-value-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.range-value-badge {
    background: var(--primary);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 50px;
    background: var(--border);
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Color Picker Custom */
.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.color-preview {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.color-preview:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

input[type="color"] {
    display: none;
}

/* Switch Toggle */
.switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.switch-wrapper:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.02);
}

.switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.switch input {
    display: none;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: var(--transition);
    border-radius: 50px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch input:checked+.switch-slider {
    background-color: var(--primary);
}

.switch input:checked+.switch-slider:before {
    transform: translateX(24px);
}

/* Progress & Meter */
.progress-custom {
    height: 24px;
    border-radius: 50px;
    background: var(--border);
    overflow: visible;
    position: relative;
}

.progress-bar-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.progress-bar-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Tag Input */
.tags-input-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--light);
    min-height: 45px;
}

.tags-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag-remove {
    cursor: pointer;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.tags-input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    min-width: 120px;
    padding: 0.25rem;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 0.25rem;
    font-size: 2rem;
}

.star-rating i {
    cursor: pointer;
    color: #e2e8f0;
    transition: var(--transition);
}

.star-rating i:hover,
.star-rating i.active {
    color: #f59e0b;
}

/* Form Progress Steps */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.form-progress-bar {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    z-index: 1;
}

.form-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.form-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.form-step.active .form-step-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.form-step.completed .form-step-circle {
    border-color: var(--success);
    background: var(--success);
    color: white;
}

.form-step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

.form-step.active .form-step-label {
    color: var(--primary);
    font-weight: 600;
}

/* Validation Styles */
.form-control-modern.is-valid {
    border-color: var(--success);
}

.form-control-modern.is-invalid {
    border-color: var(--danger);
}

.invalid-feedback,
.valid-feedback {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.invalid-feedback {
    color: var(--danger);
}

.valid-feedback {
    color: var(--success);
}





/* ========================================
   SELECT2 MODERN STYLES - ARROW FIX
   ======================================== */

/* Select2 Container */
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    width: 100%;
    height: auto !important;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    /* Sağ tarafta arrow için boşluk */
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--light);
    transition: var(--transition);
    font-size: 0.95rem;
    min-height: 50px;
    display: flex;
    align-items: center;
}

/* Multiple Select */
.select2-container .select2-selection--multiple {
    width: 100%;
    min-height: 50px;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--light);
    transition: var(--transition);
    font-size: 0.95rem;
}

/* Selected Value */
.select2-container .select2-selection__rendered {
    padding: 0 !important;
    line-height: 1.5;
    color: var(--text-dark);
}

/* Placeholder */
.select2-container .select2-selection__placeholder {
    color: #94a3b8;
}

/* ========================================
   ARROW - DÜZELTİLDİ
   ======================================== */

.select2-container .select2-selection__arrow {
    height: 100% !important;
    width: 30px !important;
    right: 5px !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
}

.select2-container .select2-selection__arrow b {
    border-style: solid !important;
    /* ÖNEMLİ: Bu eksikti */
    border-color: #94a3b8 transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
    margin: 0 !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
}

/* Arrow - Open State */
.select2-container--open .select2-selection__arrow b {
    border-style: solid !important;
    /* ÖNEMLİ: Bu da eksikti */
    border-color: transparent transparent var(--primary) transparent !important;
    border-width: 0 5px 6px 5px !important;
}

/* Focus State */
.select2-container--focus .select2-selection,
.select2-container--open .select2-selection {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
    outline: none;
}

.select2-container--focus .select2-selection__arrow b,
.select2-container--open .select2-selection__arrow b {
    border-top-color: var(--primary) !important;
}

/* Clear Button */
.select2-container .select2-selection__clear {
    width: 22px !important;
    height: 22px !important;
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--danger) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    transition: var(--transition) !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.select2-container .select2-selection__clear:hover {
    background: var(--danger) !important;
    color: white !important;
}

/* ========================================
   SELECT2 DROPDOWN
   ======================================== */

.select2-dropdown {
    border: 2px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: white;
    margin-top: 4px;
    overflow: hidden;
}

[data-bs-theme="dark"] .select2-dropdown {
    background: #1e293b;
    border-color: #334155;
}

/* Search Input */
.select2-search--dropdown {
    padding: 0.75rem;
    background: var(--light);
}

.select2-search__field {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 2px solid var(--border) !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    background: white !important;
    outline: none !important;
}

[data-bs-theme="dark"] .select2-search__field {
    background: #0f172a !important;
    color: white !important;
    border-color: #334155 !important;
}

.select2-search__field:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

/* Results Container */
.select2-results {
    max-height: 300px;
    overflow-y: auto;
}

.select2-results__options {
    padding: 0.5rem;
}

/* Option Items */
.select2-results__option {
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.select2-results__option:last-child {
    margin-bottom: 0;
}

/* Hover State */
.select2-results__option--highlighted {
    background: rgba(99, 102, 241, 0.1) !important;
    color: var(--primary) !important;
}

/* Selected State */
.select2-results__option--selected {
    background: var(--primary) !important;
    color: white !important;
    font-weight: 600;
}

.select2-results__option--selected::after {
    content: '✓';
    float: right;
    font-weight: bold;
}

/* Disabled State */
.select2-results__option--disabled {
    color: #cbd5e1 !important;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Group Labels (optgroup) */
.select2-results__group {
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

/* ========================================
   MULTIPLE SELECTION
   ======================================== */

.select2-selection__choice {
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.375rem 0.75rem !important;
    margin: 0.25rem 0.25rem 0.25rem 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.select2-selection__choice__remove {
    color: white !important;
    margin-right: 0 !important;
    font-weight: bold;
    opacity: 0.7;
    transition: var(--transition);
    order: 2;
}

.select2-selection__choice__remove:hover {
    opacity: 1;
    color: white !important;
}

/* ========================================
   VALIDATION STATES
   ======================================== */

.is-valid+.select2-container .select2-selection {
    border-color: var(--success) !important;
}

.is-invalid+.select2-container .select2-selection {
    border-color: var(--danger) !important;
}

/* ========================================
   DISABLED STATE
   ======================================== */

.select2-container--disabled .select2-selection {
    background: #f1f5f9 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

[data-bs-theme="dark"] .select2-container--disabled .select2-selection {
    background: #0f172a !important;
}

/* ========================================
   SCROLLBAR
   ======================================== */

.select2-results::-webkit-scrollbar {
    width: 8px;
}

.select2-results::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

.select2-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.select2-results::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ========================================
   LOADING STATE
   ======================================== */

.select2-results__message {
    padding: 1rem;
    text-align: center;
    color: #64748b;
    font-style: italic;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {

    .select2-container .select2-selection--single,
    .select2-container .select2-selection--multiple {
        padding: 0.65rem 2.25rem 0.65rem 0.875rem;
        font-size: 0.9rem;
        min-height: 45px;
    }

    .select2-results__option {
        padding: 0.65rem 0.875rem;
    }
}

/* ========================================
   DARK MODE
   ======================================== */

[data-bs-theme="dark"] .select2-container .select2-selection {
    background: #0f172a;
    border-color: #334155;
    color: white;
}

[data-bs-theme="dark"] .select2-container .select2-selection__rendered {
    color: white;
}

[data-bs-theme="dark"] .select2-container .select2-selection__placeholder {
    color: #64748b;
}

[data-bs-theme="dark"] .select2-container .select2-selection__arrow b {
    border-top-color: #94a3b8 !important;
}

[data-bs-theme="dark"] .select2-search--dropdown {
    background: #1e293b;
}

[data-bs-theme="dark"] .select2-results__option {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .select2-results__option--highlighted {
    background: rgba(99, 102, 241, 0.2) !important;
}


.iti {
    display: block !important;
}


/* ========================================
   MODERN TOAST NOTIFICATION STYLES
   ======================================== */
#toast-container>.toast-info,
#toast-container>.toast-error,
#toast-container>.toast-warning,
#toast-container>.toast-success,
#toast-container>.toast-danger {
    background-image: none !important;
}


#toast-container>div {
    margin: 0 0 6px !important;
    padding: 6px 6px 6px 7px;
    -moz-box-shadow: none !important;
    ;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90) !important;
    filter: alpha(opacity=90) !important;
    width: auto !important;
    min-width: 260px !important;
}

.toast-container-modern {
    position: fixed;
    top: 10px;
    right: 5px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 2px !important;
    max-width: 400px;
    width: calc(100% - 40px);
    pointer-events: none;
    align-items: flex-end;
}

.toast-modern {
    background: white;
    overflow: hidden;
    opacity: 0;
    transform: translateX(400px);
    pointer-events: auto;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    color: white;
    border-radius: 8px !important;
}

[data-bs-theme="dark"] .toast-modern {
    background: #1e293b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.toast-modern.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-modern.removing {
    opacity: 0;
    transform: translateX(400px) scale(0.8);
    max-height: 0;
    margin-bottom: 0;
}

/* Toast Content */
.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: white;
    font-weight: 500;
}

[data-bs-theme="dark"] .toast-message {
    color: #e2e8f0;
}

.toast-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #c0c3c8;
    cursor: pointer;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 6px;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #64748b;
}

[data-bs-theme="dark"] .toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.toast-action-btn {
    background: transparent;
    border: 1px solid currentColor;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.toast-action-btn:hover {
    background: currentColor;
    color: white !important;
}

/* Progress Bar */
.toast-progress {
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

[data-bs-theme="dark"] .toast-progress {
    background: rgba(255, 255, 255, 0.1);
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    background: currentColor;
    transform-origin: left;
    animation: toast-progress-animation linear forwards;
}

@keyframes toast-progress-animation {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

/* Toast Types */
.toast-success {
    background: var(--success);
}

.toast-error,
.toast-danger {
    background: var(--danger);
}

.toast-warning {
    background: var(--warning);
}

.toast-info {
    background: var(--info);
}


.toast-loading {
    background: var(--primary);
}

.toast-question {
    background: var(--info);
}



/* Animation Variants */
@keyframes toast-bounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-10px);
    }
}

.toast-modern:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

[data-bs-theme="dark"] .toast-modern:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Position Variants */
.toast-container-modern.top-left {
    top: 20px;
    left: 20px;
    right: auto;
}

.toast-container-modern.top-left .toast-modern {
    transform: translateX(-400px);
}

.toast-container-modern.top-left .toast-modern.show {
    transform: translateX(0);
}

.toast-container-modern.bottom-right {
    top: auto;
    bottom: 20px;
    right: 20px;
}

.toast-container-modern.bottom-left {
    top: auto;
    bottom: 20px;
    left: 20px;
    right: auto;
}

.toast-container-modern.bottom-left .toast-modern {
    transform: translateX(-400px);
}

.toast-container-modern.bottom-left .toast-modern.show {
    transform: translateX(0);
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .toast-container-modern {
        top: 10px;
        right: 10px;
        left: 10px;
        width: calc(100% - 20px);
        max-width: none;
    }

    .toast-content {
        padding: 12px;
    }

    .toast-icon {
        font-size: 1.25rem;
    }

    .toast-message {
        font-size: 0.875rem;
    }

    .toast-close {
        top: 8px;
        right: 8px;
        font-size: 1.25rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .toast-modern {
        transition: none;
    }

    .toast-progress-bar {
        animation: none;
    }
}

/* Loading Spinner Animation */
.toast-loading .toast-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Stack Effect */
.toast-modern:nth-child(1) {
    z-index: 10;
}

.toast-modern:nth-child(2) {
    z-index: 9;
    opacity: 0.9;
    transform: scale(0.98) translateY(-4px);
}

.toast-modern:nth-child(3) {
    z-index: 8;
    opacity: 0.8;
    transform: scale(0.96) translateY(-8px);
}


/* ========================================
   PERMISSIONS - MODERN SWITCH STYLE
   ======================================== */

.permissions-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .permissions-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Permission Module */
.permission-module {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

[data-bs-theme="dark"] .permission-module {
    background: #1e293b;
    border-color: #334155;
}

.permission-module:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.permission-module-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    color: white;
    font-weight: 600;
}

[data-bs-theme="dark"] .permission-module-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.permission-module-header i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.permission-module-header h6 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.permission-count {
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}

.permission-items {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Modern Switch Wrapper */
.switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    transition: var(--transition);
    background: var(--light);
}

[data-bs-theme="dark"] .switch-wrapper {
    background: #0f172a;
    border-color: #334155;
}

.switch-wrapper:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.switch-label {
    flex: 1;
}

.switch-label strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

[data-bs-theme="dark"] .switch-label strong {
    color: #e2e8f0;
}

.switch-label small {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Modern Switch - form-example.html style */
.switch {
    position: relative;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    display: none;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: var(--transition);
    border-radius: 50px;
}

[data-bs-theme="dark"] .switch-slider {
    background-color: #334155;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch input:checked+.switch-slider {
    background-color: var(--primary);
}

.switch input:checked+.switch-slider:before {
    transform: translateX(24px);
}

.switch input:focus+.switch-slider {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Checked state wrapper highlight */
.switch-wrapper:has(input:checked) {
    border-color: var(--success);
    background: rgba(34, 197, 94, 0.05);
}

[data-bs-theme="dark"] .switch-wrapper:has(input:checked) {
    background: rgba(34, 197, 94, 0.1);
}

.switch-wrapper:has(input:checked) .switch-label strong {
    color: var(--success);
    font-weight: 600;
}

/* Success/Warning Buttons */
.btn-success-modern {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-success-modern:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
    color: white;
}

.btn-warning-modern {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-warning-modern:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white;
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Module has all selected - green header */
.permission-module:has(.permission-switch:checked) .permission-module-header {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

/* Loading state */
.permission-module.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.permission-module.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Empty state */
.permissions-wrapper:empty::before {
    content: 'No permissions available';
    display: block;
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
    font-style: italic;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 576px) {
    .form-section-header {
        flex-wrap: wrap;
    }

    .form-section-header .ms-auto {
        width: 100%;
        margin-top: 1rem;
        margin-left: 0 !important;
    }

    .form-section-header .d-flex {
        width: 100%;
    }

    .permission-items {
        padding: 0.75rem;
    }

    .switch-wrapper {
        padding: 0.875rem;
    }

    .switch-label strong {
        font-size: 0.85rem;
    }
}

/* Print styles */
@media print {
    .permission-module {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Accessibility */
.switch-wrapper:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.switch input:focus {
    outline: none;
}

/* Animation for switched items */
@keyframes switchPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.15);
    }
}

.switch-wrapper:has(input:checked) {
    animation: switchPulse 2s ease-in-out;
}

/* Switch slider hover effect */
.switch-slider:hover {
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

/* Gradient animation on check */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.switch input:checked+.switch-slider {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}


/* Modal Custom */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
}

.modal-title {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
}

/* Tab Content */
.tab-content {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 0 12px 12px 12px;
    padding: 2rem;
}

[data-bs-theme="dark"] .tab-content {
    background: #1e293b;
}


/* ==========================================
   PAGINATION - Modern Design
   ========================================== */

/* Pagination Container */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Pagination Items */
.pagination li {
    display: inline-block;
}

/* Pagination Links */
.pagination li a,
.pagination li span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    color: var(--text, #1f2937);
    text-decoration: none;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Hover Effect */
.pagination li a:hover,
.pagination li span:hover {
    color: #6366f1;
    background-color: #f0f1ff;
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* Active Page */
.pagination li.active a,
.pagination li.active span {
    color: white;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    font-weight: 600;
    cursor: default;
}

.pagination li.active a:hover,
.pagination li.active span:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

/* Disabled State */
.pagination li.disabled a,
.pagination li.disabled span {
    color: #9ca3af;
    background-color: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.pagination li.disabled a:hover,
.pagination li.disabled span:hover {
    transform: none;
    box-shadow: none;
    background-color: #f9fafb;
}

/* First/Previous/Next/Last Buttons */
.pagination li:first-child a,
.pagination li:last-child a {
    font-weight: 600;
    padding: 0.5rem 1rem;
}

/* Icons in Pagination */
.pagination li a i,
.pagination li span i {
    font-size: 0.75rem;
}

/* Pagination Wrapper */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Pagination Info */
.pagination-info {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.pagination-info strong {
    color: #1f2937;
    font-weight: 600;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .pagination-wrapper {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .pagination {
        justify-content: center;
    }

    .pagination li a,
    .pagination li span {
        min-width: 36px;
        height: 36px;
        padding: 0.4rem 0.6rem;
        font-size: 0.8125rem;
    }

    /* Mobile'de First/Last text'lerini gizle, sadece icon göster */
    .pagination li:first-child a span:not(.d-sm-none),
    .pagination li:last-child a span:not(.d-sm-none) {
        display: none;
    }
}

@media (max-width: 576px) {

    /* Çok küçük ekranlarda bazı sayfa numaralarını gizle */
    .pagination li:not(.active):not(:first-child):not(:last-child):not(.disabled) {
        display: none;
    }

    /* Aktif sayfanın yanındakileri göster */
    .pagination li.active+li,
    .pagination li:has(+ li.active) {
        display: inline-block;
    }
}

/* Animation */
.pagination li {
    animation: fadeInUp 0.3s ease;
    animation-fill-mode: both;
}

.pagination li:nth-child(1) {
    animation-delay: 0.05s;
}

.pagination li:nth-child(2) {
    animation-delay: 0.1s;
}

.pagination li:nth-child(3) {
    animation-delay: 0.15s;
}

.pagination li:nth-child(4) {
    animation-delay: 0.2s;
}

.pagination li:nth-child(5) {
    animation-delay: 0.25s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode Support */
[data-theme="dark"] .pagination li a,
[data-theme="dark"] .pagination li span {
    background-color: #1f2937;
    border-color: #374151;
    color: #e5e7eb;
}

[data-theme="dark"] .pagination li a:hover,
[data-theme="dark"] .pagination li span:hover {
    background-color: #374151;
    border-color: #6366f1;
}

[data-theme="dark"] .pagination li.disabled a,
[data-theme="dark"] .pagination li.disabled span {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .pagination-info {
    color: #9ca3af;
}

[data-theme="dark"] .pagination-info strong {
    color: #e5e7eb;
}

/* Loading State */
.pagination.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Compact Variant */
.pagination-compact {
    gap: 0.25rem;
}

.pagination-compact li a,
.pagination-compact li span {
    min-width: 36px;
    height: 36px;
    font-size: 0.8125rem;
}

/* Large Variant */
.pagination-lg li a,
.pagination-lg li span {
    min-width: 48px;
    height: 48px;
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

/* Rounded Variant */
.pagination-rounded li a,
.pagination-rounded li span {
    border-radius: 50%;
    min-width: 40px;
    width: 40px;
    padding: 0;
}



/* ==========================================
   TABLE COMPACT - Baggage List
   ========================================== */

.table-compact td {
    padding: 0.75rem 0.5rem !important;
    vertical-align: middle;
}

.table-compact th {
    padding: 1rem 0.5rem !important;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Compact Row Height */
.table-compact tbody tr {
    min-height: 60px;
}

/* Text Truncate */
.text-truncate-table {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contact Info Column */
.table-compact td a {
    font-size: 0.875rem;
    text-decoration: none;
}

.table-compact td a:hover {
    text-decoration: underline;
}

/* Badge Sizing */
.table-compact .badge-primary-modern,
.table-compact .badge-success-modern,
.table-compact .badge-warning-modern,
.table-compact .badge-info-modern,
.table-compact .badge-danger-modern {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
}

/* Icon Sizing */
.table-compact td i {
    font-size: 0.75rem;
}

/* Responsive - Mobile */
@media (max-width: 1200px) {
    .table-compact {
        font-size: 0.8125rem;
    }

    .table-compact td {
        padding: 0.5rem 0.35rem !important;
    }
}

@media (max-width: 768px) {

    /* Mobile'de bazı kolonları gizle */
    .table-compact th:nth-child(3),
    .table-compact td:nth-child(3),
    .table-compact th:nth-child(8),
    .table-compact td:nth-child(8) {
        display: none;
    }
}




/* ==========================================
   MODALS - MODERN DESIGN
   ========================================== */

.modal-modern .modal-content {
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.2);
    box-shadow: var(--shadow-xl);
}

.modal-modern .modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px 16px 0 0;
}

.modal-modern .modal-header.bg-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modal-modern .modal-title {
    font-weight: 700;
    font-size: 1.25rem;
}

.modal-modern .modal-body {
    padding: 1.5rem;
}

.modal-modern .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 0 0 16px 16px;
}

/* Form Groups */
.form-group-modern {
    margin-bottom: .5rem;
}

.form-label-modern {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: block;
}

.form-label-modern.required::after {
    content: " *";
    color: #ef4444;
}

.form-control-modern {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--text);
    transition: all 0.3s ease;
}


.form-control-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.current-notes-display,
.current-zone-display {
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    border: 1px solid var(--border);
    min-height: 60px;
}

/* ==========================================
   PHOTO UPLOAD GRID
   ========================================== */

.photo-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.photo-upload-item {
    position: relative;
}

.photo-input {
    display: none;
}

.photo-upload-label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.photo-preview {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--light);
    border: 2px dashed var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.photo-preview:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.photo-preview i {
    font-size: 2rem;
    color: var(--text-muted);
}

.photo-preview span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.photo-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.photo-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* ==========================================
   ACTION BUTTONS (Header)
   ========================================== */

.btn-action-secondary,
.btn-action-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*    min-height: 44px;*/
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
    text-decoration: none !important;
}

.btn-action-secondary {
    background: var(--card-bg);
    border-color: var(--border);
    color: var(--text);
}

.btn-action-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-action-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.btn-action-danger:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 576px) {

    .btn-action-secondary,
    .btn-action-danger {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }

    .photo-upload-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-modern .modal-body {
        padding: 1rem;
    }
}

/* ==========================================
   DARK MODE
   ========================================== */

[data-bs-theme="dark"] .modal-modern .modal-content {
    background: #1e293b;
}

[data-bs-theme="dark"] .modal-modern .modal-header {
    border-bottom-color: #334155;
}

[data-bs-theme="dark"] .modal-modern .modal-footer {
    border-top-color: #334155;
}

[data-bs-theme="dark"] .form-control-modern {
    background: #0f172a;
    border-color: #334155;
}

[data-bs-theme="dark"] .current-notes-display,
[data-bs-theme="dark"] .current-zone-display {
    background: #0f172a;
    border-color: #334155;
}

[data-bs-theme="dark"] .photo-preview {
    background: #0f172a;
    border-color: #334155;
}



.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/* Sidebar Backdrop for mobile responsiveness */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-backdrop.show {
    opacity: 1;
}

/* ==========================================================================
   ULTRA MODERN GLOBAL OVERRIDES & GLASSMORPHISM REVAMP (THEME RESTYLING)
   ========================================================================== */

/* 1. Global frosted glass cards and panels */
body .corporate-header,
body .stat-card,
body .operation-panel,
body .card-modern,
body .activity-panel,
body .baggage-card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow) !important;
    transition: var(--transition) !important;
}

[data-bs-theme="dark"] body .corporate-header,
[data-bs-theme="dark"] body .stat-card,
[data-bs-theme="dark"] body .operation-panel,
[data-bs-theme="dark"] body .card-modern,
[data-bs-theme="dark"] body .activity-panel,
[data-bs-theme="dark"] body .baggage-card {
    background: rgba(15, 23, 42, 0.65) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Hover effects with glowing shadows */
body .stat-card:hover,
body .baggage-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary) !important;
}

/* 2. Modernizing typography & headers */
body .corporate-title,
body .panel-title,
body .page-title {
    color: var(--primary) !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

[data-bs-theme="dark"] body .corporate-title,
[data-bs-theme="dark"] body .panel-title,
[data-bs-theme="dark"] body .page-title {
    color: var(--light) !important;
}

body .corporate-subtitle,
body .panel-subtitle,
body .page-subtitle {
    color: #64748b !important;
    font-weight: 500 !important;
}

[data-bs-theme="dark"] body .corporate-subtitle,
[data-bs-theme="dark"] body .panel-subtitle,
[data-bs-theme="dark"] body .page-subtitle {
    color: #94a3b8 !important;
}

/* 3. Restyling Stats numbers and content */
body .stat-value,
body .stat-mini-value {
    color: var(--primary) !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
}

[data-bs-theme="dark"] body .stat-value,
[data-bs-theme="dark"] body .stat-mini-value {
    color: var(--light) !important;
}

body .stat-label {
    color: #64748b !important;
    font-weight: 600 !important;
    font-size: 0.825rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* 4. Elegant custom input and selector restyling */
body .input-corporate,
body .select-corporate,
body .textarea-corporate {
    background: var(--light) !important;
    color: var(--dark) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    transition: var(--transition) !important;
}

[data-bs-theme="dark"] body .input-corporate,
[data-bs-theme="dark"] body .select-corporate,
[data-bs-theme="dark"] body .textarea-corporate {
    background: rgba(15, 23, 42, 0.4) !important;
    color: var(--light) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body .input-corporate:focus,
body .select-corporate:focus,
body .textarea-corporate:focus {
    border-color: var(--primary) !important;
    background: var(--card-bg) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15) !important;
}

/* 5. Glowing Corporate Buttons */
body .btn-corporate,
body .btn-modern {
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

body .btn-primary-corporate,
body .btn-primary-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25) !important;
}

body .btn-primary-corporate:hover,
body .btn-primary-modern:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35) !important;
}

body .btn-outline-corporate,
body .btn-outline-modern {
    background: transparent !important;
    border: 1px solid var(--border) !important;
    color: var(--dark) !important;
}

[data-bs-theme="dark"] body .btn-outline-corporate,
[data-bs-theme="dark"] body .btn-outline-modern {
    color: var(--light) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body .btn-outline-corporate:hover,
body .btn-outline-modern:hover {
    background: rgba(99, 102, 241, 0.08) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* 6. Ultra-clean Table RESTYLING */
body .table-baggage-ultra thead th {
    background: rgba(99, 102, 241, 0.06) !important;
    color: var(--primary) !important;
    border-bottom: 2px solid var(--border) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
    padding: 1rem 0.75rem !important;
}

[data-bs-theme="dark"] body .table-baggage-ultra thead th {
    background: rgba(255, 255, 255, 0.02) !important;
    color: var(--light) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body .baggage-row:hover {
    background: rgba(99, 102, 241, 0.03) !important;
}

[data-bs-theme="dark"] body .baggage-row:hover {
    background: rgba(255, 255, 255, 0.02) !important;
}

/* 7. Tag, Airline and Other Badges */
body .tag-number-badge {
    background: rgba(99, 102, 241, 0.08) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

[data-bs-theme="dark"] body .tag-number-badge {
    background: rgba(99, 102, 241, 0.15) !important;
    color: var(--light) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

body .airline-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2) !important;
    font-weight: 700 !important;
}

body .overdue-indicator {
    background: rgba(244, 63, 94, 0.08) !important;
    color: var(--danger) !important;
    border: 1px solid rgba(244, 63, 94, 0.15) !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
}

/* ==========================================================================
   GLOBAL PREMIUM LIGHT-MODE DESIGN OVERHAUL (MATCHING AUTH LIGHT THEME)
   ========================================================================== */

body {
    background: #f8fafc !important;
    font-family: 'Outfit', sans-serif !important;
    color: #334155 !important;
}

/* 1. Cards and Panels */
.card, .card-modern, .card-custom, .card-body {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.02), 0 4px 12px -2px rgba(0, 0, 0, 0.01) !important;
}

/* 2. Page Headers */
.page-title {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.5px !important;
}

.page-subtitle {
    color: #64748b !important;
    font-size: 0.9rem !important;
}

/* 3. Ultra-Modern Tables & DataTables */
table, .table, .table-modern, .table-baggage-ultra, .dataTable {
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
    background: transparent !important;
}

table thead th, .table thead th, .dataTable thead th {
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
    padding: 12px 16px !important;
    border: none !important;
}

table tbody tr, .table tbody tr, .dataTable tbody tr {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}

table tbody tr:hover, .table tbody tr:hover, .dataTable tbody tr:hover {
    background: #f8fafc !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

table tbody td, .table tbody td, .dataTable tbody td {
    padding: 14px 16px !important;
    border: none !important;
    color: #334155 !important;
    font-size: 0.9rem !important;
}

/* Round corners for table rows */
table tbody tr td:first-child, .table tbody tr td:first-child, .dataTable tbody tr td:first-child {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-left: 3px solid transparent !important;
}

table tbody tr td:last-child, .table tbody tr td:last-child, .dataTable tbody tr td:last-child {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

/* Highlight first column border on hover */
table tbody tr:hover td:first-child, .table tbody tr:hover td:first-child, .dataTable tbody tr:hover td:first-child {
    border-left-color: #6366f1 !important;
}

/* 4. Inputs and Form Controls */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"], select, textarea, .form-control, .form-select {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease !important;
}

input:focus, select:focus, textarea:focus, .form-control:focus, .form-select:focus {
    outline: none !important;
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

/* 5. Buttons */
.btn, .btn-modern, .btn-corporate {
    border-radius: 10px !important;
    padding: 0.75rem 1.25rem !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
}

.btn-primary, .btn-primary-modern, .btn-primary-corporate {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}

.btn-primary:hover, .btn-primary-modern:hover, .btn-primary-corporate:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.25) !important;
    color: #ffffff !important;
}

.btn-secondary, .btn-outline-secondary {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

.btn-secondary:hover, .btn-outline-secondary:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* 6. Sidebar & Header Glassmorphism */
.sidebar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01) !important;
}

.sidebar-brand {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.nav-link-custom, .sub-nav-link-custom {
    color: #475569 !important;
}

.nav-link-custom:hover, .sub-nav-link-custom:hover {
    background: rgba(99, 102, 241, 0.05) !important;
    color: #6366f1 !important;
}

.nav-link-custom.active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2) !important;
}

.sub-nav-link-custom.active {
    background: rgba(99, 102, 241, 0.08) !important;
    color: #6366f1 !important;
    font-weight: 600 !important;
}

.topbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.topbar-right-item a, .topbar-right-item button {
    color: #475569 !important;
}

/* 7. Badges */
.badge, .badge-modern {
    border-radius: 8px !important;
    padding: 0.5rem 0.75rem !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
}

.badge-success-modern, .badge-success {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.badge-warning-modern, .badge-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
}

.badge-danger-modern, .badge-danger {
    background: rgba(244, 63, 94, 0.1) !important;
    color: #e11d48 !important;
    border: 1px solid rgba(244, 63, 94, 0.2) !important;
}

.badge-info-modern, .badge-info {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #2563eb !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

/* ==========================================================================
   DATATABLE LAYOUT & RESPONSIVENESS FIXES
   ========================================================================== */

/* 1. Spacing for Search Box & Export Buttons */
.dataTables_wrapper {
    padding: 1.25rem 1.5rem !important;
}

.dataTables_wrapper .row:first-child {
    margin-bottom: 1.25rem !important;
    align-items: center !important;
    gap: 0.75rem 0 !important;
}

.dataTables_filter {
    text-align: right !important;
}

.dataTables_filter label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    margin: 0 !important;
}

.dataTables_filter input {
    margin: 0 !important;
    width: 240px !important;
    display: inline-block !important;
}

.dt-buttons {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 0.375rem !important;
}

.dt-buttons .btn {
    margin: 0 !important;
}

.dataTables_length label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
}

.dataTables_length select {
    padding: 0.35rem 2rem 0.35rem 0.75rem !important;
    font-size: 0.875rem !important;
    width: auto !important;
}

/* 2. Page & Layout Overflow Prevention (Eliminate Horizontal Scroll) */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

#main-wrapper, .main-wrapper, .content-body, .content-area {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* 3. Table Container Responsiveness */
.table-responsive {
    border-radius: 12px !important;
    border: none !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 1rem !important;
}

/* Prevent tables from blowing out the layout on laptop screens */
table, .table, .table-modern, .table-baggage-ultra, .dataTable {
    width: 100% !important;
    max-width: 100% !important;
}

/* Graceful text truncation for very long cell values to fit more columns */
table tbody td, .table tbody td, .dataTable tbody td {
    max-width: 280px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Allow wrapping for specific cells that need it (like addresses or long descriptions) */
table tbody td.cell-wrap, .table tbody td.cell-wrap, .dataTable tbody td.cell-wrap {
    white-space: normal !important;
}

/* ==========================================================================
   DATATABLES COLUMN VISIBILITY DROPDOWN FIX
   ========================================================================== */
div.dt-button-collection {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    padding: 0.75rem !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    z-index: 2002 !important;
    width: 210px !important;
}

div.dt-button-collection .dt-button {
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0.6rem 1rem !important;
    margin-bottom: 0.35rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 500 !important;
    width: 100% !important;
    text-align: left !important;
    font-size: 0.85rem !important;
    transition: all 0.2s ease !important;
}

div.dt-button-collection .dt-button:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

div.dt-button-collection .dt-button.active {
    background: rgba(99, 102, 241, 0.08) !important;
    color: #6366f1 !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    font-weight: 600 !important;
}

[data-bs-theme="dark"] div.dt-button-collection {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] div.dt-button-collection .dt-button {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] div.dt-button-collection .dt-button:hover {
    background: #1e293b !important;
    color: #ffffff !important;
}

/* ==========================================================================
   LOGIN INPUT ICON PADDING FIX
   ========================================================================== */
.login-card .form-group input,
.right-panel .form-group input,
.login-card .form-group textarea,
.right-panel .form-group textarea {
    padding-left: 3rem !important;
}

