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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

:root {
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 0.95rem;
    --font-size-lg: 1rem;
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --control-height: 44px;
    --control-radius: 10px;
    --control-padding-x: 0.75rem;
    --control-padding-y: 0.6rem;
}

body.modal-open {
    overflow: hidden;
}

body.sidebar-open {
    overflow: hidden;
}

.modal-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 17px;
    letter-spacing: 0.2px;
}

/* Modal header standardları */
.modal-header .modal-header-left,
.modal-header .modal-title-wrap,
.modal-header .modal-header-content,
.modal-header > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header .modal-icon,
.modal-header .modal-icon-wrap,
.modal-header .w-10.h-10 {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
}

.modal-header i {
    font-size: 18px;
}

.modal-header .modal-subtitle,
.modal-header p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.modal-close,
.modal .close,
.modal-header .close-btn {
    font-size: 20px;
    padding: 4px 8px;
    border-radius: 8px;
}


.paytr-iframe {
    width: 100%;
    height: 80vh;
    border: none;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 260px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.sidebar-nav {
    list-style: none;
    flex: 1;
    margin-bottom: 1rem;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.sidebar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-nav a.active {
    background-color: #3b82f6;
    color: white;
}

.menu-group {
    margin-bottom: 0.75rem;
}

.menu-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.menu-toggle i {
    width: 20px;
}

.menu-group.open > .menu-toggle {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.menu-sub {
    list-style: none;
    margin-top: 0.5rem;
    padding-left: 0;
    display: none;
}

.menu-group.open .menu-sub {
    display: block;
}

.menu-sub a {
    padding-left: 2.25rem;
}

.menu-sub a.active {
    background-color: #2563eb;
}

.sidebar-nav a i {
    margin-right: 0.75rem;
    width: 20px;
}

/* Main Content */
.main-content {
    margin-left: 260px;
    padding: 2rem;
    min-height: 100vh;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 900;
}

.mobile-header {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    margin: -2rem -2rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 850;
}

.mobile-menu-btn {
    width: 40px;
    height: 40px;
    justify-content: center;
}

.mobile-title {
    font-weight: 600;
    color: #1f2937;
    font-size: var(--font-size-base);
}

/* Cards */
.card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
}

.stat-card h3 {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-secondary {
    background-color: #64748b;
    color: white;
}

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

.btn-danger {
    background-color: #ef4444;
    color: white;
}

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

.btn-success {
    background-color: #10b981;
    color: white;
}

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

/* Forms */
.form-group {
    margin-bottom: var(--space-3);
}

.form-label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    color: #374151;
    font-size: var(--font-size-sm);
}

.form-input {
    width: 100%;
    padding: var(--control-padding-y) var(--control-padding-x);
    border: 1px solid #d1d5db;
    border-radius: var(--control-radius);
    font-size: var(--font-size-base);
    transition: border-color 0.2s;
}

input.form-input,
select.form-select {
    min-height: var(--control-height);
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-select {
    width: 100%;
    padding: var(--control-padding-y) var(--control-padding-x);
    border: 1px solid #d1d5db;
    border-radius: var(--control-radius);
    font-size: var(--font-size-base);
    background-color: white;
}

.form-input::placeholder,
.form-select::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #475569;
}

.table tr:hover {
    background-color: #f8fafc;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-open {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-assigned {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-closed {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-completed {
    background-color: #d1fae5;
    color: #065f46;
}


    background-color: #fff;
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: flex-end; /* Butonları sağa yaslar */
    gap: 12px; /* Butonlar arası boşluk */
  }
  
  /* --- BUTONLAR --- */
  .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .btn-primary {
    background-color: #4A90E2; /* Mavi Ton */
    color: white;
  }
  
  .btn-primary:hover {
    background-color: #357ABD;
  }
  
  .btn-secondary {
    background-color: #e9ecef;
    color: #555;
  }
  
  .btn-secondary:hover {
    background-color: #dde2e6;
  }
  
  /* Açılış Animasyonu */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
/*Yeni Modal tanımları*/


/* SweetAlert2 z-index - Modal'dan daha yüksek olmalı */
.swal2-container {
    z-index: 9999 !important;
}

.swal2-popup {
    z-index: 10000 !important;
}

.swal2-backdrop-show {
    z-index: 9998 !important;
}


/* Loading */
.loading,
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-size: var(--font-size-sm);
}

/* Alert */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .mobile-header {
        display: flex;
        margin: -1rem -1rem 1rem;
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    body.sidebar-open .sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 640px) {
    .modal .grid.grid-cols-2,
    .modal .grid.grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* User Info Section */
.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    background-color: rgba(255, 255, 255, 0.05);
}

.user-info:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    font-size: 2rem;
    color: #cbd5e1;
    margin-right: 0.75rem;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.user-menu-icon {
    font-size: 0.75rem;
    color: #cbd5e1;
    transition: transform 0.2s;
}

.user-info.active .user-menu-icon {
    transform: rotate(180deg);
}

.user-menu {
    margin-top: 0.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
}

.user-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.user-menu a i {
    margin-right: 0.75rem;
    width: 20px;
}

/* ============================================
   Modern Select2 Custom Styles
   ============================================ */
.select2-container--default .select2-selection--single,
.select2-container--bootstrap-5 .select2-selection--single {
    height: var(--control-height);
    border: 2px solid #e2e8f0;
    border-radius: var(--control-radius);
    padding: 0 var(--control-padding-x);
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    transition: all 0.2s ease;
}

.select2-container--default .select2-selection--single:hover,
.select2-container--bootstrap-5 .select2-selection--single:hover {
    border-color: #10b981;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--bootstrap-5.select2-container--focus .select2-selection--single {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    line-height: calc(var(--control-height) - 6px);
    color: #374151;
    padding-left: 4px;
    font-size: var(--font-size-base);
}

.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    height: calc(var(--control-height) - 2px);
    right: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b,
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow b {
    border-color: #6b7280 transparent transparent transparent;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af;
}

/* Dropdown Panel */
.select2-dropdown {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    overflow: hidden;
}

/* Modal içindeki Select2 dropdown'u üstte kalsın */
.modal .select2-container {
    width: 100% !important;
}

.modal .select2-container--open,
.modal .select2-dropdown {
    z-index: 10050;
}

.select2-container--default .select2-search--dropdown,
.select2-container--bootstrap-5 .select2-search--dropdown {
    padding: 12px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.select2-container--default .select2-search--dropdown .select2-search__field,
.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus,
.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    outline: none;
}

.select2-container--default .select2-results__option,
.select2-container--bootstrap-5 .select2-results__option {
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.15s;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
    background: linear-gradient(to right, #ecfdf5, #d1fae5);
    color: #065f46;
}

.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--bootstrap-5 .select2-results__option[aria-selected=true] {
    background: #10b981;
    color: white;
}

/* Company Select with Icon */
.select2-container--default .select2-results__option .company-option,
.select2-container--bootstrap-5 .select2-results__option .company-option {
    display: flex;
    align-items: center;
}

.select2-container--default .select2-results__option .company-option .company-icon,
.select2-container--bootstrap-5 .select2-results__option .company-option .company-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.select2-container--default .select2-results__option .company-option .company-details,
.select2-container--bootstrap-5 .select2-results__option .company-option .company-details {
    flex: 1;
}

.select2-container--default .select2-results__option .company-option .company-name,
.select2-container--bootstrap-5 .select2-results__option .company-option .company-name {
    font-weight: 600;
    color: #1f2937;
}

.select2-container--default .select2-results__option .company-option .company-info,
.select2-container--bootstrap-5 .select2-results__option .company-option .company-info {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.select2-container--default .select2-results__option--highlighted .company-option .company-name,
.select2-container--bootstrap-5 .select2-results__option--highlighted .company-option .company-name {
    color: #065f46;
}

.select2-container--default .select2-results__option[aria-selected=true] .company-option .company-name,
.select2-container--default .select2-results__option[aria-selected=true] .company-option .company-info,
.select2-container--bootstrap-5 .select2-results__option[aria-selected=true] .company-option .company-name,
.select2-container--bootstrap-5 .select2-results__option[aria-selected=true] .company-option .company-info {
    color: white;
}

/* No results message */
.select2-container--default .select2-results__message,
.select2-container--bootstrap-5 .select2-results__message {
    padding: 20px;
    text-align: center;
    color: #6b7280;
}

/* ============================================
   Upload Drop Zone Styles
   ============================================ */
.upload-drop-zone {
    border: 2px dashed #d1d5db;
    border-radius: 16px;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-drop-zone:hover {
    border-color: #10b981;
    background: linear-gradient(to bottom, #ecfdf5, #f0fdf4);
}

.upload-drop-zone.drag-over {
    border-color: #10b981;
    border-style: solid;
    background: linear-gradient(to bottom, #d1fae5, #ecfdf5);
    transform: scale(1.02);
}

.upload-drop-zone.file-selected {
    border-color: #10b981;
    border-style: solid;
    background: linear-gradient(to bottom, #ecfdf5, #f0fdf4);
}

.upload-drop-zone.file-selected .fa-cloud-upload-alt {
    color: #10b981;
}

/* Small Form Input */
.form-input-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
}

/* ============================================
   Modal Design Standard (Project-wide)
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
}

.modal-content {
    width: 100%;
    max-width: 720px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.modal-content.select2-open {
    overflow: visible;
}

.modal-header {
    padding: 16px 20px;
    background: #4f6ef7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.modal-header h2,
.modal-header h3,
.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2px;
    margin: 0;
}

.modal-header p {
    margin: 2px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.modal-close {
    background: transparent;
    border: 0;
    color: #ffffff;
    font-size: 22px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.modal-body:not([class*="p-"]) {
    padding: 20px;
}

.modal-content > form:not([class*="p-"]) {
    padding: 20px;
}

.modal-footer {
    padding: 16px 20px 20px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-footer .btn {
    min-width: 110px;
}

.modal-footer .btn-secondary {
    order: 1;
}

.modal-footer .btn-primary,
.modal-footer .btn-success {
    order: 2;
}

.modal-footer .btn-success {
    background-color: #3b82f6;
}

.modal-footer .btn-success:hover {
    background-color: #2563eb;
}

.modal .form-group {
    margin-bottom: 16px;
}

.modal .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.modal .form-input,
.modal .form-select,
.modal textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
}

.modal .form-input:focus,
.modal .form-select:focus,
.modal textarea:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.modal .btn {
    border-radius: 10px;
    font-weight: 600;
}

/* ============================================
   Modern File Upload Styles
   ============================================ */
.file-upload-container {
    margin-bottom: 1.5rem;
}

.drop-zone {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
    cursor: pointer;
    transition: all 0.3s ease;
}

.drop-zone:hover {
    border-color: #3b82f6;
    background: linear-gradient(to bottom, #eff6ff, #dbeafe);
}

.drop-zone.drag-over {
    border-color: #3b82f6;
    border-style: solid;
    background: linear-gradient(to bottom, #dbeafe, #bfdbfe);
    transform: scale(1.01);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.drop-zone-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.drop-zone-content {
    pointer-events: none;
}

.drop-zone-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.drop-zone:hover .drop-zone-icon {
    color: #3b82f6;
    transform: translateY(-4px);
}

.drop-zone.drag-over .drop-zone-icon {
    color: #2563eb;
    transform: scale(1.1);
}

.drop-zone-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.drop-zone-hint {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.drop-zone-browse {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.drop-zone-formats {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
}

/* File Preview Container */
.file-preview-container {
    margin-top: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.file-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #475569;
}

.file-preview-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem;
}

.file-preview-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: #f8fafc;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.file-preview-item:last-child {
    margin-bottom: 0;
}

.file-preview-item:hover {
    background: #f1f5f9;
}

.file-preview-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.file-preview-icon.image {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}

.file-preview-icon.pdf {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
}

.file-preview-icon.doc {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
}

.file-preview-icon.excel {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
}

.file-preview-icon.other {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #475569;
}

.file-preview-info {
    flex: 1;
    min-width: 0;
}

.file-preview-name {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview-size {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

.file-preview-remove {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: #fee2e2;
    color: #dc2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.file-preview-remove:hover {
    background: #fecaca;
    transform: scale(1.1);
}

.file-preview-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.file-upload-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.file-upload-footer .form-control {
    flex: 1;
}

.file-upload-footer .btn {
    white-space: nowrap;
}

/* Upload Progress */
.upload-progress {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.upload-progress .progress {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    overflow: hidden;
}

.upload-progress .progress-bar {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.3s ease;
}

.upload-progress-text {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .drop-zone {
        padding: 1.5rem 1rem;
    }
    
    .drop-zone-icon {
        font-size: 2.5rem;
    }
    
    .drop-zone-text {
        font-size: 1rem;
    }
    
    .file-upload-footer {
        flex-direction: column;
    }
    
    .file-upload-footer .btn {
        width: 100%;
        justify-content: center;
    }
}
