:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light;
  color: #213547;
  background-color: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #61DAFB;
  text-decoration: inherit;
}

a:hover {
  color: #3DBCE5;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: #61DAFB;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  h1 {
    font-size: 2.4em;
  }
  button {
    padding: 0.5em 1em;
    font-size: 0.95em;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 2em;
  }
  button {
    padding: 0.4em 0.9em;
    font-size: 0.9em;
  }
}.login-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Left Side - Branding */
.login-branding {
  flex: 1;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.branding-content {
  text-align: center;
  z-index: 10;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.logo-wrapper {
  margin-bottom: 30px;
}

.logo-circle {
  width: 120px;
  height: 120px;
  background: #2c3e50;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
}

.shopping-bag-icon {
  width: 100%;
  height: 100%;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-size: 64px;
  font-weight: 700;
  color: #D4AF37;
  font-family: "Georgia", serif;
  text-shadow: none;
}

.brand-name {
  font-size: 36px;
  font-weight: 600;
  color: #D4AF37;
  margin: 0 0 12px 0;
  letter-spacing: 12px;
  text-shadow: none;
  font-family: "Arial", sans-serif;
}

.brand-tagline {
  font-size: 15px;
  color: #7f8c8d;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Right Side - Login Form */
.login-form-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #f8f9fa;
}

.login-box {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.login-title {
  margin: 0 0 10px 0;
  color: #333;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
}

.login-subtitle {
  text-align: center;
  color: #666;
  margin: 0 0 30px 0;
  font-size: 15px;
}

.error-message {
  background-color: #fee;
  color: #c33;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid #fcc;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  transition: all 0.3s;
  background: #f8f9fa;
}

.form-group input:focus {
  outline: none;
  border-color: #D4AF37;
  background: white;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group input::placeholder {
  color: #999;
}

.login-button {
  width: 100%;
  padding: 15px;
  background: #D4AF37;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.login-button:hover:not(:disabled) {
  background: #C9A84C;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.login-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.login-info {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 2px solid #f0f0f0;
  text-align: center;
  font-size: 13px;
  color: #666;
}

.login-info p {
  margin: 8px 0;
}

.login-info code {
  background-color: #f0f0f0;
  padding: 3px 8px;
  border-radius: 4px;
  color: #D4AF37;
  font-weight: 700;
  font-size: 13px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .login-container {
    flex-direction: column;
  }
  .login-branding {
    padding: 40px 30px;
    min-height: 40vh;
  }
  .logo-circle {
    width: 100px;
    height: 100px;
  }
  .logo-text {
    font-size: 50px;
  }
  .brand-name {
    font-size: 42px;
    letter-spacing: 4px;
  }
  .brand-tagline {
    font-size: 14px;
  }
  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
  }
  .feature-item {
    padding: 10px 20px;
  }
  .feature-icon {
    font-size: 18px;
  }
  .feature-text {
    font-size: 14px;
  }
  .login-form-section {
    padding: 40px 20px;
  }
  .login-box {
    padding: 40px 30px;
  }
  .login-title {
    font-size: 26px;
  }
}
@media (max-width: 480px) {
  .login-branding {
    padding: 30px 20px;
    min-height: 35vh;
  }
  .logo-circle {
    width: 80px;
    height: 80px;
  }
  .logo-text {
    font-size: 40px;
  }
  .brand-name {
    font-size: 32px;
    letter-spacing: 3px;
  }
  .brand-tagline {
    font-size: 12px;
  }
  .feature-list {
    gap: 10px;
  }
  .feature-item {
    flex-direction: column;
    gap: 5px;
    padding: 10px 15px;
  }
  .login-box {
    padding: 30px 20px;
  }
  .login-title {
    font-size: 24px;
  }
  .login-subtitle {
    font-size: 13px;
  }
}.uploaded-files-container {
  width: 100%;
  padding: 15px;
}

.files-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
  width: 100%;
}

.files-header h2 {
  margin: 0;
  color: #333;
  font-size: 24px;
}

.files-count {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.filters-section {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 200px;
}

.filter-group:first-child {
  flex: 2;
  min-width: 300px;
}

.filter-group label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.filter-group input,
.filter-group select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: #61DAFB;
}

.clear-filters-btn {
  padding: 8px 16px;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
  height: 38px;
}

.clear-filters-btn:hover {
  background-color: #5a6268;
}

.no-files-message {
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 2px dashed #ddd;
}

.no-files-message p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 20px;
}

.pagination-numbers {
  display: flex;
  gap: 5px;
  align-items: center;
}

.pagination-btn {
  padding: 8px 15px;
  background-color: white;
  color: #61DAFB;
  border: 2px solid #61DAFB;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  min-width: 45px;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #61DAFB;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(97, 218, 251, 0.3);
}

.pagination-btn.active {
  background-color: #61DAFB;
  color: white;
  box-shadow: 0 2px 8px rgba(97, 218, 251, 0.4);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #ddd;
  color: #999;
}

.pagination-ellipsis {
  padding: 8px 5px;
  color: #666;
  font-weight: bold;
}

/* Table Styles */
.files-table-container {
  overflow-x: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.files-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 100%;
  table-layout: auto;
}

.files-table thead {
  background: #F5F5F5;
  color: #666;
}

.files-table th {
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.files-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s;
}

.files-table tbody tr:hover {
  background-color: #f8f9fa;
}

.files-table td {
  padding: 12px;
  font-size: 14px;
  color: #333;
  vertical-align: middle;
}

.si-number-cell {
  text-align: center;
  font-weight: 600;
  color: #61DAFB;
  width: 60px;
  white-space: nowrap;
}

.file-type-icon-cell {
  text-align: center;
  width: 70px;
}

.file-type-icon-cell svg {
  vertical-align: middle;
}

.status-cell {
  text-align: center;
  width: 140px;
}

.status-dropdown {
  padding: 6px 10px;
  border: 2px solid;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background-color: white;
  outline: none;
}

.status-dropdown.status-pending {
  border-color: #FF9800;
  color: #FF9800;
}

.status-dropdown.status-verified {
  border-color: #4CAF50;
  color: #4CAF50;
}

.status-dropdown.status-rejected {
  border-color: #F44336;
  color: #F44336;
}

.status-dropdown:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge.status-pending {
  background-color: #FFF3E0;
  color: #FF9800;
}

.status-badge.status-verified {
  background-color: #E8F5E9;
  color: #4CAF50;
}

.status-badge.status-rejected {
  background-color: #FFEBEE;
  color: #F44336;
}

.file-name-cell {
  width: auto;
}

.file-name-text {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  word-break: break-word;
}

.actions-cell {
  white-space: nowrap;
}

.action-icons {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.view-btn,
.edit-btn,
.delete-btn-table {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  margin-right: 6px;
}

.view-btn {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
  transition: all 0.2s;
}

.view-btn:hover {
  color: #61DAFB;
  transform: scale(1.1);
}

.edit-btn {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
  transition: all 0.2s;
}

.edit-btn:hover {
  color: #61DAFB;
  transform: scale(1.1);
}

.delete-btn-table {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}

.delete-btn-table:hover {
  color: #dc3545;
  transform: scale(1.1);
}

/* Modal Styles */
.file-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.file-modal {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.file-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 2px solid #e0e0e0;
  background: white;
  color: #333;
  border-radius: 12px 12px 0 0;
}

.file-modal-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.close-modal-btn {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.close-modal-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.file-modal-content {
  padding: 24px;
}

.file-preview-section {
  margin-bottom: 20px;
  text-align: center;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.modal-file-preview {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-pdf-preview {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: white;
}

.pdf-preview {
  padding: 10px !important;
  background: #e9ecef !important;
}

.pdf-preview-container {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.pdf-actions {
  text-align: center;
}

.open-pdf-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #61DAFB 0%, #3DBCE5 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(97, 218, 251, 0.3);
}

.open-pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(97, 218, 251, 0.4);
  background: linear-gradient(135deg, #3DBCE5 0%, #61DAFB 100%);
}

.pdf-fallback-text {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.pdf-fallback-text a {
  color: #61DAFB;
  text-decoration: none;
  font-weight: 600;
}

.pdf-fallback-text a:hover {
  text-decoration: underline;
}

.file-icon-preview {
  text-align: center;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 20px;
}

.file-icon-preview .pdf-actions {
  margin-top: 20px;
}

.large-file-icon {
  font-size: 80px;
  display: block;
  margin-bottom: 10px;
}

.file-type-label {
  font-size: 18px;
  color: #666;
  font-weight: 500;
  margin: 0;
}

.file-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  gap: 15px;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row strong {
  min-width: 140px;
  color: #333;
  font-weight: 600;
}

.detail-row span {
  color: #555;
  flex: 1;
  word-break: break-word;
}

.file-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.download-btn,
.close-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.download-btn {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #61DAFB;
}

.download-btn:hover {
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.4);
}

.open-file-btn {
  padding: 10px 24px;
  border: 2px solid #61DAFB;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #61DAFB;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.open-file-btn:hover {
  background-color: #3DBCE5;
  border-color: #3DBCE5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 218, 251, 0.3);
}

.close-btn {
  background-color: #6c757d;
  color: white;
}

.close-btn:hover {
  background-color: #5a6268;
}

/* Old grid styles - keeping for backward compatibility if needed */
.file-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.file-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.file-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.file-icon-large {
  font-size: 48px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
}

.delete-file-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.2s;
}

.delete-file-btn:hover {
  transform: scale(1.2);
}

.file-info {
  flex: 1;
}

.file-heading {
  color: #2c3e50;
  font-size: 18px;
  margin: 0 0 8px 0;
  font-weight: 600;
  word-wrap: break-word;
}

.file-description {
  color: #666;
  font-size: 14px;
  margin: 0 0 12px 0;
  line-height: 1.5;
  word-wrap: break-word;
}

.file-name {
  color: #34495e;
  font-size: 15px;
  margin: 0 0 10px 0;
  font-weight: 500;
  word-break: break-all;
}

.file-meta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

.file-meta p {
  color: #555;
  font-size: 13px;
  margin: 6px 0;
  line-height: 1.4;
}

.file-meta strong {
  color: #333;
  font-weight: 600;
}

.file-preview-container {
  margin-top: 15px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.file-preview {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */
/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .uploaded-files-container {
    padding: 12px;
  }
  .files-header h2 {
    font-size: 22px;
  }
  .filters-section {
    padding: 12px;
  }
  .filter-group {
    min-width: 150px;
  }
  .filter-group:first-child {
    min-width: 250px;
  }
  .files-table {
    font-size: 13px;
  }
  .files-table th,
  .files-table td {
    padding: 10px 8px;
  }
}
/* Mobile Styles - Large (max-width: 768px) */
@media (max-width: 768px) {
  /* Container */
  .uploaded-files-container {
    padding: 10px;
  }
  /* Header */
  .files-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .files-header h2 {
    font-size: 20px;
  }
  .files-count {
    font-size: 13px;
  }
  /* Filters */
  .filters-section {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 12px;
  }
  .filter-group,
  .filter-group:first-child {
    min-width: 100%;
    flex: 1;
  }
  .filter-group label {
    font-size: 13px;
  }
  .filter-group input,
  .filter-group select {
    padding: 8px 10px;
    font-size: 13px;
  }
  .clear-filters-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
  }
  /* Table - Hide on mobile, show cards instead */
  .files-table-container {
    overflow: visible;
  }
  .files-table {
    display: block;
    border: none;
  }
  .files-table thead {
    display: none;
  }
  /* Mobile Card Layout */
  .files-table tbody {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .files-table tbody tr {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #61DAFB;
  }
  .files-table tbody tr:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  .files-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
  }
  .files-table td:last-child {
    border-bottom: none;
  }
  .files-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    min-width: 100px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .si-number-cell {
    width: auto;
    justify-content: flex-start;
  }
  .file-name-cell {
    max-width: 100%;
  }
  .file-name-text {
    text-align: right;
    flex: 1;
    font-size: 13px;
  }
  .file-type-icon-cell {
    width: auto;
    justify-content: flex-start;
  }
  .status-cell {
    width: auto;
    justify-content: flex-start;
  }
  .actions-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 0 0;
    margin-top: 8px;
    border-top: 2px solid #f0f0f0;
    align-items: center;
  }
  .actions-cell::before {
    flex-basis: 100%;
    margin-bottom: 4px;
  }
  .action-icons {
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }
  .view-btn,
  .edit-btn,
  .delete-btn-table {
    flex: 0 0 auto;
    min-width: auto;
    margin-right: 0;
    padding: 8px 10px;
    font-size: 20px;
    text-align: center;
  }
  .files-table th,
  .files-table td {
    padding: 8px 6px;
  }
  .si-number-cell {
    width: 50px;
    font-size: 12px;
  }
  .file-type-icon-cell {
    width: 50px;
  }
  .file-type-icon-cell svg {
    width: 18px;
    height: 18px;
  }
  .status-cell {
    width: auto;
  }
  .status-dropdown,
  .status-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
  .file-name-cell {
    max-width: 200px;
  }
  .view-btn,
  .edit-btn,
  .delete-btn-table {
    padding: 4px 8px;
    font-size: 11px;
    margin-right: 4px;
  }
  /* Modal */
  .file-modal {
    max-width: 95%;
    margin: 10px;
  }
  .file-modal-header {
    padding: 15px 20px;
  }
  .file-modal-header h2 {
    font-size: 18px;
  }
  .file-modal-content {
    padding: 20px;
  }
  .file-preview-section {
    padding: 15px;
  }
  .modal-file-preview {
    max-height: 250px;
  }
  .modal-pdf-preview {
    height: 350px;
  }
  .file-details {
    padding: 15px;
  }
  .detail-row {
    flex-direction: column;
    gap: 5px;
    padding: 8px 0;
  }
  .detail-row strong {
    min-width: auto;
    font-size: 13px;
  }
  .detail-row span {
    font-size: 13px;
  }
  .file-modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  .file-modal-actions button,
  .file-modal-actions a {
    width: 100%;
  }
  .open-pdf-btn {
    width: 100%;
    padding: 14px;
  }
  /* Pagination */
  .pagination {
    padding: 15px 10px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .pagination-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 35px;
  }
  .pagination-numbers {
    gap: 3px;
  }
  /* No Files Message */
  .no-files-message {
    padding: 40px 15px;
  }
  .no-files-message p {
    font-size: 15px;
  }
}
/* Mobile Styles - Medium (max-width: 600px) */
@media (max-width: 600px) {
  .uploaded-files-container {
    padding: 8px;
  }
  .files-header {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .files-header h2 {
    font-size: 18px;
  }
  .files-count {
    font-size: 12px;
  }
  .filters-section {
    padding: 10px;
    gap: 10px;
  }
  .filter-group label {
    font-size: 12px;
  }
  .filter-group input,
  .filter-group select {
    padding: 7px 9px;
    font-size: 12px;
  }
  .clear-filters-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
  /* Keep card layout */
  .action-icons {
    gap: 6px;
  }
  .view-btn,
  .edit-btn,
  .delete-btn-table {
    padding: 8px 10px;
    font-size: 18px;
  }
  .file-modal-content {
    padding: 15px;
  }
  .file-preview-section {
    padding: 12px;
  }
}
/* Mobile Styles - Small (max-width: 480px) */
@media (max-width: 480px) {
  .uploaded-files-container {
    padding: 5px;
  }
  .files-header {
    padding-bottom: 8px;
    margin-bottom: 8px;
  }
  .files-header h2 {
    font-size: 16px;
  }
  .files-count {
    font-size: 11px;
  }
  .filters-section {
    padding: 8px;
    gap: 8px;
  }
  .filter-group {
    gap: 4px;
  }
  .filter-group label {
    font-size: 11px;
  }
  .filter-group input,
  .filter-group select {
    padding: 6px 8px;
    font-size: 11px;
  }
  .clear-filters-btn {
    padding: 6px 12px;
    font-size: 11px;
    height: 32px;
  }
  /* Card adjustments for small mobile */
  .files-table tbody tr {
    padding: 12px;
  }
  .files-table td {
    padding: 6px 0;
    font-size: 12px;
  }
  .files-table td::before {
    font-size: 11px;
    min-width: 90px;
  }
  .file-name-text {
    font-size: 12px;
  }
  .status-dropdown,
  .status-badge {
    font-size: 10px;
    padding: 3px 6px;
  }
  .action-icons {
    gap: 6px;
  }
  .view-btn,
  .edit-btn,
  .delete-btn-table {
    padding: 7px 9px;
    font-size: 17px;
  }
  .file-modal {
    max-width: 100%;
    margin: 5px;
    border-radius: 8px;
  }
  .file-modal-header {
    padding: 12px 15px;
  }
  .file-modal-header h2 {
    font-size: 16px;
  }
  .close-modal-btn {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .file-modal-content {
    padding: 12px;
  }
  .file-preview-section {
    padding: 10px;
  }
  .modal-file-preview {
    max-height: 200px;
  }
  .modal-pdf-preview {
    height: 300px;
  }
  .large-file-icon {
    font-size: 60px;
  }
  .file-type-label {
    font-size: 16px;
  }
  .file-details {
    padding: 12px;
  }
  .detail-row {
    padding: 6px 0;
  }
  .detail-row strong,
  .detail-row span {
    font-size: 12px;
  }
  .file-modal-actions button,
  .file-modal-actions a {
    padding: 8px 20px;
    font-size: 13px;
  }
  .open-pdf-btn {
    padding: 12px;
    font-size: 14px;
  }
  .pagination {
    padding: 10px 5px;
  }
  .pagination-btn {
    padding: 5px 8px;
    font-size: 11px;
    min-width: 30px;
  }
  .no-files-message {
    padding: 30px 10px;
  }
  .no-files-message p {
    font-size: 14px;
  }
  .file-card {
    padding: 10px;
  }
  .file-icon-large {
    font-size: 48px;
  }
}
/* Mobile Styles - Extra Small (max-width: 375px) */
@media (max-width: 375px) {
  .files-header h2 {
    font-size: 15px;
  }
  .files-count {
    font-size: 10px;
  }
  .filters-section {
    padding: 6px;
  }
  /* Extra small mobile - keep cards */
  .files-table tbody tr {
    padding: 10px;
  }
  .files-table td {
    font-size: 11px;
  }
  .files-table td::before {
    font-size: 10px;
    min-width: 80px;
  }
  .view-btn,
  .edit-btn,
  .delete-btn-table {
    padding: 6px 8px;
    font-size: 16px;
  }
  .pagination-btn {
    padding: 4px 6px;
    font-size: 10px;
    min-width: 28px;
  }
}.admin-dashboard {
  min-height: 100vh;
  background-color: #F5F5F5;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dashboard-header {
  background: white;
  color: #333;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 22px;
  color: #333;
  font-weight: 600;
}

.dashboard-header p {
  margin: 5px 0 0 0;
  opacity: 0.7;
  color: #666;
  font-size: 14px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #61DAFB;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logout-btn {
  background-color: rgba(97, 218, 251, 0.1);
  color: #61DAFB;
  border: 2px solid #61DAFB;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0 x;
}

.logout-btn:hover {
  background-color: #61DAFB;
  color: #1a1a2e;
}

/* Profile Section Styles */
.profile-section {
  position: relative;
}

.profile-icon {
  width: 45px;
  height: 45px;
  background-color: #61DAFB;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 18px;
  color: white;
}

.profile-icon:hover {
  background-color: #3DBCE5;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(97, 218, 251, 0.3);
}

.profile-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  z-index: 1000;
  animation: slideDropdown 0.3s ease-out;
}

@keyframes slideDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.profile-dropdown-content {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  min-width: 220px;
  overflow: hidden;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.profile-info {
  padding: 20px;
  background: #F5F5F5;
  color: #333;
  border-bottom: 1px solid #E0E0E0;
}

.profile-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.profile-role {
  margin: 5px 0 0 0;
  font-size: 13px;
  color: #666;
  text-transform: capitalize;
}

.dropdown-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 0;
}

.logout-dropdown-btn {
  width: 100%;
  padding: 15px 20px;
  background: white;
  border: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.logout-dropdown-btn:hover {
  background-color: #f8f9fa;
  color: #61DAFB;
}

.logout-dropdown-btn svg {
  transition: transform 0.2s;
}

.logout-dropdown-btn:hover svg {
  transform: translateX(3px);
}

.dashboard-tabs {
  display: flex;
  background-color: #F5F5F5;
  border-bottom: 1px solid #E0E0E0;
  padding: 10px 30px;
  gap: 10px;
}

.tab {
  padding: 10px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: #666;
  border-radius: 8px;
  transition: all 0.3s;
  font-weight: 500;
}

.tab.active {
  background: #61DAFB;
  color: white;
  font-weight: 600;
}

.tab:hover {
  background: rgba(97, 218, 251, 0.1);
  color: #61DAFB;
}

.tab.active:hover {
  background: #3DBCE5;
  color: white;
}

.dashboard-content {
  padding: 30px;
  width: 100%;
  max-width: none;
  flex: 1;
}

/* Users Section */
.users-section {
  background: transparent;
}

/* Daily Report Section */
.daily-report-section {
  background: white;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.daily-report-section .section-header h2 {
  color: #333;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.no-data-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: #666;
  border: 2px dashed #ddd;
}

.daily-report-content {
  margin-top: 20px;
}

/* Date Filter Controls */
.report-date-filter {
  background: #F5F5F5;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.date-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-filter-group label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.date-input {
  padding: 10px 15px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
  background: white;
}

.date-input:focus {
  outline: none;
  border-color: #61DAFB;
  box-shadow: 0 0 0 3px rgba(97, 218, 251, 0.1);
}

.date-quick-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-btn {
  padding: 10px 20px;
  border: 1px solid #E0E0E0;
  background: white;
  color: #666;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.3s ease;
}

.quick-btn:hover {
  background: #F5F5F5;
  border-color: #61DAFB;
  color: #61DAFB;
}

.quick-btn.active {
  background: #61DAFB;
  color: white;
  border-color: #61DAFB;
  box-shadow: 0 2px 8px rgba(97, 218, 251, 0.3);
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.summary-card {
  background: white;
  color: #333;
  padding: 25px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border-left: 4px solid #61DAFB;
}

.summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.summary-icon {
  font-size: 48px;
  opacity: 0.9;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(97, 218, 251, 0.15);
  color: #61DAFB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-details h3 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
}

.summary-details p {
  margin: 5px 0 0 0;
  font-size: 14px;
  opacity: 0.9;
}

.daily-uploads-table {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.daily-uploads-table h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

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

.report-table thead {
  background: #F5F5F5;
  color: #666;
}

.report-table th {
  padding: 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s;
}

.report-table tbody tr:hover {
  background-color: #f8f9fa;
}

.report-table td {
  padding: 15px;
  color: #333;
}

.status-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-badge-small {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-badge-small.status-verified {
  background-color: #d4edda;
  color: #155724;
}

.status-badge-small.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-badge-small.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
}

/* Daily Report - View Files Button */
.view-files-btn {
  background: #61DAFB;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
}

.view-files-btn:hover {
  background: #3DBCE5;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(97, 218, 251, 0.3);
}

/* Expanded Row Styles */
.expanded-row {
  background-color: #f8f9fa;
}

.expanded-files-row {
  background-color: #ffffff;
}

.expanded-files-row td {
  padding: 0 !important;
}

.files-detail-section {
  padding: 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #61DAFB;
}

.files-detail-section h4 {
  margin: 0 0 20px 0;
  color: #1a1a2e;
  font-size: 18px;
}

.files-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.file-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #61DAFB;
}

.file-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.file-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
}

.file-icon-name {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
}

.file-emoji {
  font-size: 32px;
  line-height: 1;
}

.file-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.file-info strong {
  font-size: 15px;
  color: #1a1a2e;
  display: block;
  word-break: break-word;
}

.file-info small {
  font-size: 12px;
  color: #6c757d;
  display: block;
}

.file-card-body {
  margin-bottom: 15px;
}

.file-card-body p {
  margin: 8px 0;
  font-size: 13px;
  color: #495057;
}

.file-description {
  font-style: italic;
  color: #6c757d;
}

.file-doc-type,
.file-amount,
.file-time {
  display: flex;
  gap: 5px;
}

.file-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.download-btn-small,
.preview-btn-small {
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.download-btn-small {
  background: linear-gradient(135deg, #28a745 0%, #20903a 100%);
  color: white;
}

.download-btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.preview-btn-small {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
}

.preview-btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.status-badge {
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge.status-verified {
  background-color: #d4edda;
  color: #155724;
}

.status-badge.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-badge.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 12px;
  pointer-events: none;
}

.search-input {
  padding: 10px 12px 10px 40px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 14px;
  min-width: 250px;
  color: #333;
  transition: all 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #61DAFB;
  box-shadow: 0 0 0 3px rgba(97, 218, 251, 0.1);
}

.search-input::placeholder {
  color: #999;
}

.create-user-btn {
  background: #61DAFB;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  white-space: nowrap;
}

.create-user-btn:hover {
  background: #3DBCE5;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(97, 218, 251, 0.3);
}

.create-user-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.create-user-form h3 {
  margin-top: 0;
  color: #333;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.required {
  color: #dc3545;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  color: #333;
  background-color: #fff;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #61DAFB;
  box-shadow: 0 0 0 3px rgba(97, 218, 251, 0.1);
}

.submit-btn {
  background: #61DAFB;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

.submit-btn:hover {
  background: #3DBCE5;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(97, 218, 251, 0.3);
}

.error-message {
  background-color: #fee;
  color: #c33;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #fcc;
}

.success-message {
  background-color: #efe;
  color: #3c3;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #cfc;
}

.users-list {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  width: 100%;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: auto;
}

.users-table th {
  text-align: left;
  padding: 14px;
  background-color: #F5F5F5;
  color: #666;
  font-weight: 600;
  border-bottom: 1px solid #E0E0E0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.users-table td {
  padding: 16px 14px;
  border-bottom: 1px solid #F0F0F0;
  color: #333;
  font-size: 14px;
}

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

.delete-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

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

.files-section h2 {
  margin-top: 0;
  color: #000;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.file-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.file-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.file-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 10px;
}

.file-info h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #000;
  word-break: break-word;
}

.file-heading-admin {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #61DAFB;
  word-break: break-word;
  font-weight: 700;
}

.file-description-admin {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  word-break: break-word;
  background-color: #f8f9fa;
  padding: 8px;
  border-radius: 5px;
}

.file-name-admin {
  margin: 10px 0;
  font-size: 14px;
  color: #000;
  word-break: break-word;
  font-weight: 600;
}

.file-meta {
  margin: 5px 0;
  font-size: 13px;
  color: #000;
}

.file-preview {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-top: 10px;
}

.no-data {
  text-align: center;
  color: #999;
  padding: 40px;
  font-size: 16px;
}

/* User View Modal Styles */
.view-user-btn {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
  transition: all 0.2s;
}

.view-user-btn:hover {
  color: #61DAFB;
  transform: scale(1.1);
}

.edit-btn {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
  transition: all 0.2s;
}

.edit-btn:hover {
  color: #61DAFB;
  transform: scale(1.1);
}

.delete-btn {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}

.delete-btn:hover {
  color: #dc3545;
  transform: scale(1.1);
}

/* User Info Cell */
.user-info-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #61DAFB;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.user-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.user-staff-name {
  font-size: 13px;
  color: #666;
}

.user-email-small {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

/* Shop Badge */
.shop-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(97, 218, 251, 0.15);
  color: #61DAFB;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Action Icons */
.action-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.user-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.user-modal {
  background: white;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.user-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #E0E0E0;
  background: white;
  color: #333;
  border-radius: 12px 12px 0 0;
}

.user-modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.user-modal-content {
  padding: 24px;
}

.user-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #61DAFB;
}

.detail-item label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-item span {
  color: #555;
  font-size: 16px;
}

.password-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.password-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  letter-spacing: 2px;
  color: #333;
}

.toggle-password-btn {
  background: #61DAFB;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: fit-content;
  transition: all 0.2s;
}

.toggle-password-btn:hover {
  background: #3DBCE5;
  transform: scale(1.05);
}

.password-note {
  color: #999;
  font-size: 12px;
  font-style: italic;
  margin-top: 4px;
}

.status-active {
  color: #4CAF50;
  font-weight: 600;
}

.status-inactive {
  color: #F44336;
  font-weight: 600;
}

.user-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.close-btn {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.close-btn:hover {
  background-color: #5a6268;
}

.close-modal-btn {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.close-modal-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .user-modal {
    max-width: 95%;
    margin: 10px;
  }
  .user-modal-header h2 {
    font-size: 18px;
  }
  .detail-item {
    padding: 10px;
  }
}
/* Upload Section Styles */
.upload-section {
  width: 100%;
}

.upload-section-header {
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.upload-section-header:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.upload-section-header h2 {
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 600;
}

.dropdown-toggle-btn {
  background: #61DAFB;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s;
}

.dropdown-toggle-btn:hover {
  background: #3DBCE5;
  transform: scale(1.05);
}

.upload-form-wrapper {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  animation: slideDown 0.3s ease-out;
  width: 100%;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.upload-form {
  width: 100%;
}

@media (max-width: 968px) {
  .upload-form-wrapper {
    padding: 20px;
  }
}
.upload-form {
  width: 100%;
}

@media (max-width: 968px) {
  .upload-form-wrapper {
    padding: 20px;
  }
}
.file-dropzone {
  border: 2px dashed #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  background: #FAFAFA;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  text-align: center;
}

.file-dropzone.dragging {
  border-color: #61DAFB;
  background-color: rgba(97, 218, 251, 0.05);
  border-width: 2px;
  transform: scale(1.01);
}

.file-upload-label {
  display: inline-block;
  padding: 12px 24px;
  background: #61DAFB;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  margin-bottom: 10px;
}

.file-upload-label:hover {
  background: #3DBCE5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 218, 251, 0.3);
}

.file-input {
  display: none;
}

.selected-files {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 5px;
  border: 2px dashed #61DAFB;
}

.selected-files p {
  margin-top: 0;
  color: #61DAFB;
  font-weight: 600;
}

.files-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.files-list li {
  display: flex;
  align-items: center;
  padding: 8px;
  background: white;
  margin: 5px 0;
  border-radius: 4px;
  color: #333;
}

.file-icon {
  margin-right: 10px;
}

.file-name {
  flex: 1;
  color: #000;
  font-weight: 500;
}

.file-size {
  color: #666;
  font-size: 12px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
  color: #000;
  background-color: #fff;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #61DAFB;
  box-shadow: 0 0 0 3px rgba(97, 218, 251, 0.1);
}

.form-textarea {
  resize: vertical;
}

/* Date Input Specific Styles */
.date-input {
  cursor: pointer;
  position: relative;
  padding-right: 35px;
}

.date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  border-radius: 4px;
  margin-right: 2px;
  opacity: 0.6;
  filter: invert(0.5);
  padding: 5px;
  transition: all 0.2s;
}

.date-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  background-color: rgba(97, 218, 251, 0.1);
  filter: invert(0.3);
}

.date-input:focus::-webkit-calendar-picker-indicator {
  opacity: 1;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.upload-btn {
  flex: 1;
  background: #61DAFB;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}

.upload-btn:hover:not(:disabled) {
  background: #3DBCE5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 218, 251, 0.3);
}

.upload-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.clear-btn {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.clear-btn:hover:not(:disabled) {
  background-color: #5a6268;
  transform: translateY(-2px);
}

.clear-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Files Container Styles */
.files-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.admin-files-section,
.users-files-section {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.upload-section .admin-files-section {
  width: 100%;
}

.admin-files-section {
  border-left: 4px solid #61DAFB;
}

.users-files-section {
  border-left: 4px solid #1a1a2e;
}

.admin-files-section .section-header h2 {
  color: #61DAFB;
  margin: 0 0 20px 0;
}

.users-files-section .section-header h2 {
  color: #1a1a2e;
  margin: 0 0 20px 0;
}

/* Admin Own Files Styles */
.admin-own-files {
  margin-top: 20px;
}

.files-section-header {
  margin-bottom: 20px;
}

.filter-controls {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.search-filter,
.date-filter {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.search-filter label,
.date-filter label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.search-filter input,
.date-filter input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  color: #000;
  background-color: #fff;
}

.search-filter input {
  min-width: 300px;
}

.date-filter {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.clear-filter-btn {
  padding: 8px 16px;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.clear-filter-btn:hover {
  background-color: #5a6268;
}

/* Files Table */
.files-table-container {
  overflow-x: auto;
  margin-top: 20px;
}

.files-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 14px;
}

.files-table thead {
  background: #F5F5F5;
  color: #666;
}

.files-table th {
  padding: 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.files-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.files-table tbody tr:hover {
  background-color: #f8f9fa;
}

.files-table td {
  padding: 12px;
  color: #333;
}

.si-number-cell {
  width: 60px;
  text-align: center;
  font-weight: 600;
  color: #61DAFB;
}

.file-name-cell {
  max-width: 300px;
}

.file-name-text {
  font-weight: 600;
  color: #000;
  word-break: break-word;
}

.file-type-icon-cell {
  width: 80px;
  text-align: center;
}

.actions-cell {
  width: 280px;
  white-space: nowrap;
}

.action-icons {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.view-btn,
.edit-btn,
.download-btn-table,
.delete-btn-table {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  margin-right: 5px;
  transition: all 0.2s;
}

.view-btn {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
  transition: all 0.2s;
}

.view-btn:hover {
  color: #61DAFB;
  transform: scale(1.1);
}

.edit-btn {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
  transition: all 0.2s;
}

.edit-btn:hover {
  color: #61DAFB;
  transform: scale(1.1);
}

.download-btn-table {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
  transition: all 0.2s;
}

.download-btn-table:hover {
  color: #61DAFB;
  transform: scale(1.1);
}

.delete-btn-table {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}

.delete-btn-table:hover {
  color: #dc3545;
  transform: scale(1.1);
}

.no-files {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 20px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 20px;
}

.pagination-btn {
  padding: 8px 16px;
  background-color: white;
  border: 2px solid #61DAFB;
  color: #61DAFB;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #61DAFB;
  color: white;
}

.pagination-btn.active {
  background-color: #61DAFB;
  color: white;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #ccc;
  color: #ccc;
}

.pagination-numbers {
  display: flex;
  gap: 5px;
}

.pagination-ellipsis {
  padding: 8px;
  color: #666;
}

/* File View Modal */
.file-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.file-modal {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.file-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #E0E0E0;
  background: white;
  color: #333;
  border-radius: 12px 12px 0 0;
}

.file-modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.close-modal-btn {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.close-modal-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.file-modal-content {
  padding: 24px;
}

.file-preview-section {
  text-align: center;
  margin-bottom: 20px;
}

.modal-file-preview {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.file-icon-preview {
  text-align: center;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 20px;
}

.large-file-icon {
  font-size: 72px;
}

.large-file-icon svg {
  width: 72px;
  height: 72px;
}

.file-type-label {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
}

.file-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row strong {
  color: #333;
  font-weight: 600;
}

.detail-row span {
  color: #666;
  text-align: right;
}

.file-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.download-btn {
  background: #61DAFB;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.download-btn:hover {
  background: #3DBCE5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 218, 251, 0.3);
}

.open-file-btn {
  padding: 10px 24px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background-color: white;
  color: #666;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.open-file-btn:hover {
  background-color: #F5F5F5;
  border-color: #61DAFB;
  color: #61DAFB;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-filter input {
    min-width: 100%;
  }
  .date-filter {
    flex-direction: column;
    align-items: stretch;
  }
  .files-table {
    font-size: 12px;
  }
  .files-table th,
  .files-table td {
    padding: 8px;
  }
  .actions-cell {
    width: auto;
  }
  .view-btn,
  .download-btn-table,
  .delete-btn-table {
    padding: 4px 8px;
    font-size: 11px;
  }
}
.loading-message,
.no-files-message {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px dashed #ddd;
  margin-top: 20px;
}

.no-files-message {
  color: #61DAFB;
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */
/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .dashboard-content {
    padding: 15px;
  }
  .users-table {
    font-size: 13px;
  }
  .users-table th,
  .users-table td {
    padding: 10px 8px;
  }
  .files-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .filter-controls {
    gap: 10px;
  }
  .search-filter input {
    min-width: 200px;
  }
}
/* Mobile Styles - Large (max-width: 768px) */
@media (max-width: 768px) {
  /* Header Adjustments */
  .dashboard-header {
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .dashboard-header h1 {
    font-size: 22px;
  }
  .dashboard-header p {
    font-size: 13px;
  }
  .profile-icon {
    width: 45px;
    height: 45px;
  }
  /* Tabs */
  .dashboard-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 10px;
  }
  .tab {
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
  }
  /* Content */
  .dashboard-content {
    padding: 15px 10px;
  }
  /* Daily Report Section */
  .daily-report-section {
    padding: 20px 15px;
  }
  .daily-report-section .section-header h2 {
    font-size: 18px;
  }
  /* Date Filter Controls */
  .report-date-filter {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  .date-filter-group {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .date-input {
    width: 100%;
    padding: 8px 12px;
  }
  .date-quick-buttons {
    width: 100%;
    justify-content: space-between;
  }
  .quick-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    min-width: 70px;
  }
  .report-summary {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .summary-card {
    padding: 20px;
  }
  .summary-icon {
    font-size: 36px;
  }
  .summary-details h3 {
    font-size: 28px;
  }
  .daily-uploads-table {
    padding: 15px;
    overflow: visible;
  }
  .report-table {
    display: block;
    border: none;
  }
  .report-table thead {
    display: none;
  }
  .report-table tbody {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .report-table tbody tr {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #61DAFB;
  }
  .report-table tbody tr:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  .report-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
  }
  .report-table td:last-child {
    border-bottom: none;
  }
  .report-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    min-width: 120px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .report-table .status-summary {
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
  }
  .report-table .view-files-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
  }
  /* Expanded files row on mobile */
  .expanded-files-row {
    display: block !important;
    background: #f8f9fa !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin-top: 10px !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border-left: 4px solid #1a1a2e !important;
  }
  .expanded-files-row td {
    display: block !important;
    border: none !important;
    padding: 0 !important;
  }
  .expanded-files-row td::before {
    display: none !important;
  }
  .files-detail-section h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #1a1a2e;
  }
  .files-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .file-card {
    background: white;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  }
  .file-emoji {
    font-size: 24px;
  }
  .file-info strong {
    font-size: 13px;
  }
  .file-info small {
    font-size: 11px;
  }
  .file-card-body p {
    font-size: 12px;
    margin: 6px 0;
  }
  .file-card-actions {
    gap: 8px;
  }
  .download-btn-small,
  .preview-btn-small {
    padding: 8px 12px;
    font-size: 12px;
    flex: 1;
  }
  /* Daily Report - Files Detail */
  .files-list-grid {
    grid-template-columns: 1fr;
  }
  .file-card {
    padding: 15px;
  }
  .file-emoji {
    font-size: 28px;
  }
  .file-info strong {
    font-size: 14px;
  }
  .files-detail-section {
    padding: 20px 15px;
  }
  .view-files-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .section-header h2 {
    font-size: 20px;
  }
  .create-user-btn {
    width: 100%;
    padding: 12px 20px;
  }
  /* Forms */
  .create-user-form,
  .upload-form-wrapper {
    padding: 20px 15px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  /* Users Table - Card Layout on Mobile */
  .users-list {
    padding: 15px;
    overflow: visible;
  }
  .users-table {
    display: block;
    border: none;
  }
  .users-table thead {
    display: none;
  }
  .users-table tbody {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .users-table tbody tr {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #61DAFB;
  }
  .users-table tbody tr:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  .users-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
  }
  .users-table td:last-child {
    border-bottom: none;
  }
  .users-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    min-width: 100px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .users-table td:last-child {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid #f0f0f0;
  }
  .users-table td:last-child::before {
    width: 100%;
    margin-bottom: 8px;
  }
  .view-user-btn,
  .edit-btn,
  .delete-btn {
    flex: 1;
    min-width: calc(50% - 4px);
    margin-right: 0;
    padding: 10px 12px;
    font-size: 13px;
    text-align: center;
  }
  /* Upload Section */
  .upload-section-header {
    padding: 15px 20px;
  }
  .upload-section-header h2 {
    font-size: 18px;
  }
  .file-dropzone {
    padding: 15px;
  }
  .file-upload-label {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
  }
  /* Filter Controls */
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-filter,
  .date-filter {
    width: 100%;
  }
  .search-filter input {
    min-width: 100%;
  }
  .date-filter {
    flex-direction: column;
    align-items: stretch;
  }
  /* Files Table - Card Layout on Mobile */
  .files-table-container {
    overflow: visible;
  }
  .files-table {
    display: block;
    border: none;
  }
  .files-table thead {
    display: none;
  }
  .files-table tbody {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .files-table tbody tr {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #61DAFB;
  }
  .files-table tbody tr:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  .files-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
  }
  .files-table td:last-child {
    border-bottom: none;
  }
  .files-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    min-width: 100px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .si-number-cell {
    width: auto;
    justify-content: flex-start;
  }
  .file-name-cell {
    max-width: 100%;
  }
  .file-name-text {
    text-align: right;
    flex: 1;
    font-size: 13px;
  }
  .file-type-icon-cell {
    width: auto;
    justify-content: flex-start;
  }
  .actions-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 0 0;
    margin-top: 8px;
    border-top: 2px solid #f0f0f0;
    align-items: center;
  }
  .actions-cell::before {
    flex-basis: 100%;
    margin-bottom: 4px;
  }
  .action-icons {
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }
  .view-btn,
  .edit-btn,
  .download-btn-table,
  .delete-btn-table {
    flex: 0 0 auto;
    min-width: auto;
    margin-right: 0;
    padding: 8px 10px;
    font-size: 20px;
    text-align: center;
  }
  /* Files Grid */
  .files-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .file-card {
    padding: 15px;
  }
  /* Modals */
  .user-modal,
  .file-modal {
    max-width: 95%;
    margin: 10px;
  }
  .user-modal-header,
  .file-modal-header {
    padding: 15px 20px;
  }
  .user-modal-header h2,
  .file-modal-header h2 {
    font-size: 18px;
  }
  .user-modal-content,
  .file-modal-content {
    padding: 20px;
  }
  .detail-row {
    flex-direction: column;
    gap: 5px;
  }
  .detail-row strong {
    min-width: auto;
  }
  .file-modal-actions,
  .user-modal-actions {
    flex-direction: column;
  }
  .file-modal-actions button,
  .user-modal-actions button {
    width: 100%;
  }
  .modal-file-preview {
    max-height: 250px;
  }
  .modal-pdf-preview {
    height: 350px;
  }
  /* Pagination */
  .pagination {
    padding: 15px 10px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .pagination-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 35px;
  }
  .pagination-numbers {
    gap: 3px;
  }
  /* Form Actions */
  .form-actions {
    flex-direction: column;
  }
  .upload-btn,
  .clear-btn,
  .submit-btn {
    width: 100%;
  }
}
/* Mobile Styles - Medium (max-width: 600px) */
@media (max-width: 600px) {
  .dashboard-header {
    padding: 12px 15px;
  }
  .dashboard-header h1 {
    font-size: 20px;
  }
  .dashboard-header p {
    font-size: 12px;
  }
  .profile-icon {
    width: 40px;
    height: 40px;
  }
  .dashboard-tabs {
    padding: 0 5px;
  }
  .tab {
    padding: 10px 15px;
    font-size: 13px;
  }
  .dashboard-content {
    padding: 12px 8px;
  }
  .section-header h2 {
    font-size: 18px;
  }
  .create-user-form,
  .upload-form-wrapper,
  .users-list {
    padding: 15px 12px;
  }
  /* Keep card layout - adjust sizing */
  .users-table tbody tr,
  .files-table tbody tr {
    padding: 14px;
  }
  .users-table td,
  .files-table td {
    font-size: 12px;
  }
  .action-icons {
    gap: 6px;
  }
  .view-user-btn,
  .edit-btn,
  .delete-btn,
  .view-btn,
  .download-btn-table,
  .delete-btn-table {
    padding: 8px 10px;
    font-size: 18px;
  }
  .upload-section-header {
    padding: 12px 15px;
  }
  .file-dropzone {
    padding: 12px;
  }
  .selected-files {
    padding: 12px;
  }
  .file-card {
    padding: 12px;
  }
  .user-modal-content,
  .file-modal-content {
    padding: 15px;
  }
}
/* Mobile Styles - Small (max-width: 480px) */
@media (max-width: 480px) {
  .dashboard-header {
    padding: 10px 12px;
  }
  .dashboard-header h1 {
    font-size: 18px;
  }
  .dashboard-header p {
    font-size: 11px;
  }
  .profile-icon {
    width: 36px;
    height: 36px;
  }
  .logout-btn {
    padding: 8px 15px;
    font-size: 13px;
  }
  .tab {
    padding: 8px 12px;
    font-size: 12px;
  }
  .dashboard-content {
    padding: 10px 5px;
  }
  /* Daily Report Section */
  .daily-report-section {
    padding: 15px 10px;
  }
  .daily-report-section .section-header h2 {
    font-size: 16px;
  }
  /* Date Filter Controls */
  .report-date-filter {
    padding: 12px;
  }
  .date-quick-buttons {
    gap: 8px;
  }
  .quick-btn {
    padding: 6px 10px;
    font-size: 11px;
    min-width: 60px;
  }
  .summary-card {
    padding: 15px;
  }
  .summary-icon {
    font-size: 28px;
  }
  .summary-details h3 {
    font-size: 24px;
  }
  .summary-details p {
    font-size: 12px;
  }
  .daily-uploads-table h3 {
    font-size: 16px;
  }
  .report-table {
    font-size: 11px;
  }
  .report-table th,
  .report-table td {
    padding: 8px 5px;
  }
  .status-badge-small {
    font-size: 10px;
    padding: 3px 6px;
  }
  /* Daily Report - Files Detail Mobile */
  .file-card {
    padding: 12px;
  }
  .file-card-header {
    flex-direction: column;
    gap: 10px;
  }
  .file-emoji {
    font-size: 24px;
  }
  .file-info strong {
    font-size: 13px;
  }
  .file-card-body p {
    font-size: 12px;
  }
  .files-detail-section h4 {
    font-size: 16px;
  }
  .download-btn-small,
  .preview-btn-small {
    padding: 6px 12px;
    font-size: 11px;
  }
  .section-header {
    margin-bottom: 15px;
  }
  .section-header h2 {
    font-size: 16px;
  }
  .create-user-btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  .create-user-form,
  .upload-form-wrapper,
  .users-list,
  .admin-files-section,
  .users-files-section {
    padding: 12px 10px;
    border-radius: 6px;
  }
  .form-group label {
    font-size: 13px;
  }
  .form-group input,
  .form-group textarea,
  .form-input,
  .form-textarea {
    padding: 8px;
    font-size: 14px;
  }
  .upload-section-header h2 {
    font-size: 16px;
  }
  .dropdown-toggle-btn {
    padding: 6px 12px;
    font-size: 16px;
  }
  .file-upload-label {
    padding: 8px 16px;
    font-size: 14px;
  }
  .file-dropzone {
    padding: 10px;
  }
  .selected-files {
    padding: 10px;
  }
  .files-list li {
    padding: 6px;
    font-size: 13px;
  }
  .form-actions button {
    padding: 10px 20px;
    font-size: 14px;
  }
  /* Card adjustments for small mobile */
  .users-table tbody tr,
  .files-table tbody tr {
    padding: 12px;
  }
  .users-table td,
  .files-table td {
    padding: 6px 0;
    font-size: 12px;
  }
  .users-table td::before,
  .files-table td::before {
    font-size: 11px;
    min-width: 90px;
  }
  .file-name-text {
    font-size: 12px;
  }
  .action-icons {
    gap: 6px;
  }
  .view-user-btn,
  .edit-btn,
  .delete-btn,
  .view-btn,
  .download-btn-table,
  .delete-btn-table {
    padding: 7px 9px;
    font-size: 17px;
  }
  .file-card {
    padding: 10px;
  }
  .file-icon {
    font-size: 36px;
  }
  .file-heading-admin {
    font-size: 16px;
  }
  .file-description-admin {
    font-size: 13px;
    padding: 6px;
  }
  .file-name-admin {
    font-size: 13px;
  }
  .file-meta {
    font-size: 12px;
  }
  .user-modal,
  .file-modal {
    max-width: 100%;
    margin: 5px;
    border-radius: 8px;
  }
  .user-modal-header,
  .file-modal-header {
    padding: 12px 15px;
  }
  .user-modal-header h2,
  .file-modal-header h2 {
    font-size: 16px;
  }
  .close-modal-btn {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .user-modal-content,
  .file-modal-content {
    padding: 12px;
  }
  .detail-item {
    padding: 10px;
  }
  .detail-item label {
    font-size: 12px;
  }
  .detail-item span {
    font-size: 14px;
  }
  .file-preview-section {
    padding: 15px;
  }
  .modal-file-preview {
    max-height: 200px;
  }
  .modal-pdf-preview {
    height: 300px;
  }
  .large-file-icon {
    font-size: 60px;
  }
  .file-type-label {
    font-size: 16px;
  }
  .file-details {
    padding: 15px;
  }
  .detail-row {
    padding: 8px 0;
  }
  .detail-row strong {
    font-size: 13px;
  }
  .detail-row span {
    font-size: 13px;
  }
  .file-modal-actions button,
  .user-modal-actions button {
    padding: 8px 20px;
    font-size: 13px;
  }
  .pagination {
    padding: 10px 5px;
  }
  .pagination-btn {
    padding: 5px 8px;
    font-size: 11px;
    min-width: 30px;
  }
  .no-files,
  .no-data {
    padding: 30px 15px;
    font-size: 14px;
  }
}
/* Mobile Styles - Extra Small (max-width: 375px) */
@media (max-width: 375px) {
  .dashboard-header h1 {
    font-size: 16px;
  }
  .profile-icon {
    width: 32px;
    height: 32px;
  }
  .tab {
    padding: 6px 10px;
    font-size: 11px;
  }
  .section-header h2 {
    font-size: 15px;
  }
  /* Extra small mobile - keep cards */
  .users-table tbody tr,
  .files-table tbody tr {
    padding: 10px;
  }
  .users-table td,
  .files-table td {
    font-size: 11px;
  }
  .users-table td::before,
  .files-table td::before {
    font-size: 10px;
    min-width: 80px;
  }
  .action-icons {
    gap: 6px;
  }
  .view-btn,
  .edit-btn,
  .download-btn-table,
  .delete-btn-table,
  .view-user-btn,
  .delete-btn {
    padding: 6px 8px;
    font-size: 16px;
  }
}.user-dashboard {
  min-height: 100vh;
  background-color: #F5F5F5;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dashboard-header {
  background: white;
  color: #333;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 22px;
  color: #333;
  font-weight: 600;
}

.dashboard-header p {
  margin: 5px 0 0 0;
  opacity: 0.7;
  color: #666;
  font-size: 14px;
}

.logout-btn {
  background-color: rgba(97, 218, 251, 0.1);
  color: #61DAFB;
  border: 2px solid #61DAFB;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.logout-btn:hover {
  background-color: #61DAFB;
  color: #1a1a2e;
}

/* Profile Section Styles */
.profile-section {
  position: relative;
}

.profile-icon {
  width: 45px;
  height: 45px;
  background-color: #61DAFB;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 18px;
  color: white;
}

.profile-icon:hover {
  background-color: #3DBCE5;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(97, 218, 251, 0.3);
}

.profile-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  z-index: 1000;
  animation: slideDropdown 0.3s ease-out;
}

@keyframes slideDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.profile-dropdown-content {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  min-width: 220px;
  overflow: hidden;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.profile-info {
  padding: 20px;
  background: #F5F5F5;
  color: #333;
  border-bottom: 1px solid #E0E0E0;
}

.profile-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.profile-role {
  margin: 5px 0 0 0;
  font-size: 13px;
  color: #666;
  text-transform: capitalize;
}

.dropdown-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 0;
}

.logout-dropdown-btn {
  width: 100%;
  padding: 15px 20px;
  background: white;
  border: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.logout-dropdown-btn:hover {
  background-color: #f8f9fa;
  color: #61DAFB;
}

.logout-dropdown-btn svg {
  transition: transform 0.2s;
}

.logout-dropdown-btn:hover svg {
  transform: translateX(3px);
}

.dashboard-content {
  padding: 20px;
  width: 100%;
  max-width: none;
  flex: 1;
}

.upload-section {
  margin-bottom: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  width: 100%;
}

.upload-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
  border-bottom: 2px solid #f0f0f0;
}

.upload-section-header:hover {
  background-color: #f8f9fa;
}

.upload-section-header h2 {
  color: #000;
  margin: 0;
  font-size: 20px;
}

.dropdown-toggle-btn {
  background: linear-gradient(135deg, #61DAFB 0%, #3DBCE5 100%);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.dropdown-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(97, 218, 251, 0.3);
}

.upload-form-container {
  background: #fff;
  border-radius: 0;
  padding: 20px;
  box-shadow: none;
  animation: slideDown 0.3s ease;
  width: 100%;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.upload-form-container .form-group {
  margin-bottom: 20px;
}

.upload-form-container .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #000;
  font-weight: 600;
  font-size: 14px;
}

.upload-form-container .form-group input,
.upload-form-container .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #000;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
  color: #000;
  background-color: #fff;
  font-family: inherit;
}

.upload-form-container .form-group input:focus,
.upload-form-container .form-group textarea:focus {
  outline: none;
  border-color: #61DAFB;
}

.upload-form-container .form-group textarea {
  resize: vertical;
}

.upload-form-container .form-group input[type=date] {
  cursor: pointer;
  padding-right: 35px;
}

.upload-form-container .form-group input[type=date]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  font-size: 20px;
  padding: 5px;
  filter: brightness(0);
  opacity: 1;
}

.upload-form-container .form-group input[type=date]:hover::-webkit-calendar-picker-indicator {
  background-color: #f5f5f5;
  border-radius: 4px;
  filter: brightness(0);
  opacity: 0.7;
}

.upload-form-container .form-group input::placeholder,
.upload-form-container .form-group textarea::placeholder {
  color: #666;
}

.upload-area-compact {
  background: #fff;
  border: 2px dashed #61DAFB;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-area-compact:hover {
  border-color: #61DAFB;
  background-color: rgba(97, 218, 251, 0.05);
}

.upload-area-compact.dragging {
  border-color: #61DAFB;
  background-color: rgba(97, 218, 251, 0.15);
  border-width: 3px;
  transform: scale(1.02);
}

.upload-label-compact {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.upload-icon-small {
  font-size: 24px;
}

.upload-text-small {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

.file-input {
  display: none;
}

.required {
  color: #dc3545;
  font-weight: bold;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.upload-btn {
  flex: 1;
  background: linear-gradient(135deg, #61DAFB 0%, #3DBCE5 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}

.upload-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(97, 218, 251, 0.4);
}

.upload-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cancel-btn {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  padding: 12px 24px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}

.cancel-btn:hover:not(:disabled) {
  background-color: #f5f5f5;
}

.cancel-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.files-section h2 {
  color: #000;
  margin-bottom: 20px;
}

/* Table Styles */
.files-table-container {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
}

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

.files-table thead {
  background: #F5F5F5;
  color: #666;
}

.files-table th {
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.files-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s;
}

.files-table tbody tr:hover {
  background-color: #f8f9fa;
}

.files-table td {
  padding: 12px;
  font-size: 14px;
  color: #333;
  vertical-align: middle;
}

.si-number-cell {
  text-align: center;
  font-weight: 600;
  color: #61DAFB;
  width: 80px;
}

.file-type-icon-cell {
  text-align: center;
  width: 80px;
}

.file-type-icon-cell svg {
  vertical-align: middle;
}

.status-cell {
  text-align: center;
  width: 140px;
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge.status-pending {
  background-color: #FFF3E0;
  color: #FF9800;
}

.status-badge.status-verified {
  background-color: #E8F5E9;
  color: #4CAF50;
}

.status-badge.status-rejected {
  background-color: #FFEBEE;
  color: #F44336;
}

.file-name-cell {
  max-width: 350px;
}

.file-name-text {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  word-break: break-word;
}

.actions-cell {
  white-space: nowrap;
}

.action-icons {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.view-btn,
.edit-btn,
.delete-btn-table {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  margin-right: 6px;
}

.view-btn {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
  transition: all 0.2s;
}

.view-btn:hover {
  color: #61DAFB;
  transform: scale(1.1);
}

.edit-btn {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
  transition: all 0.2s;
}

.edit-btn:hover {
  color: #61DAFB;
  transform: scale(1.1);
}

.delete-btn-table {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}

.delete-btn-table:hover {
  color: #dc3545;
  transform: scale(1.1);
}

/* File Modal Styles */
.file-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.file-modal {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.file-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 2px solid #e0e0e0;
  background: white;
  color: #333;
  border-radius: 12px 12px 0 0;
}

.file-modal-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.close-modal-btn {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.close-modal-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.file-modal-content {
  padding: 24px;
}

.file-preview-section {
  margin-bottom: 20px;
  text-align: center;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.modal-file-preview {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.file-icon-preview {
  text-align: center;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 20px;
}

.large-file-icon {
  font-size: 80px;
  display: block;
  margin-bottom: 10px;
}

.file-type-label {
  font-size: 18px;
  color: #666;
  font-weight: 500;
  margin: 0;
}

.file-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  gap: 15px;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row strong {
  min-width: 140px;
  color: #333;
  font-weight: 600;
}

.detail-row span {
  color: #555;
  flex: 1;
  word-break: break-word;
}

.file-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.download-btn,
.close-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.download-btn {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #61DAFB;
}

.download-btn:hover {
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.4);
}

.open-file-btn {
  padding: 10px 24px;
  border: 2px solid #61DAFB;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #61DAFB;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.open-file-btn:hover {
  background-color: #3DBCE5;
  border-color: #3DBCE5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 218, 251, 0.3);
}

.close-btn {
  background-color: #6c757d;
  color: white;
}

.close-btn:hover {
  background-color: #5a6268;
}

/* Old Grid Styles - Keep for backward compatibility */
.files-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.files-section-header h2 {
  margin: 0;
  color: #000;
}

.filter-controls {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.search-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-filter label {
  color: #000;
  font-weight: 600;
  font-size: 14px;
}

.search-filter input {
  padding: 8px 12px;
  border: 1px solid #000;
  border-radius: 5px;
  font-size: 14px;
  color: #000;
  background-color: #fff;
  min-width: 250px;
}

.search-filter input:focus {
  outline: none;
  border-color: #61DAFB;
}

.date-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.date-filter label {
  color: #000;
  font-weight: 600;
  font-size: 14px;
}

.date-filter input {
  padding: 8px 12px;
  border: 1px solid #000;
  border-radius: 5px;
  font-size: 14px;
  color: #000;
  background-color: #fff;
  cursor: pointer;
  padding-right: 30px;
}

.date-filter input[type=date]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  filter: brightness(0);
  opacity: 1;
}

.date-filter input[type=date]:hover::-webkit-calendar-picker-indicator {
  background-color: #f5f5f5;
  border-radius: 4px;
  filter: brightness(0);
  opacity: 0.7;
}

.date-filter input:focus {
  outline: none;
  border-color: #61DAFB;
}

.clear-filter-btn {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.clear-filter-btn:hover {
  background-color: #f5f5f5;
}

.no-files {
  background: #fff;
  padding: 60px;
  border-radius: 8px;
  text-align: center;
  color: #000;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.file-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.file-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.file-icon-large {
  font-size: 64px;
  margin-bottom: 15px;
}

.file-details {
  width: 100%;
  text-align: center;
}

.file-heading {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #61DAFB;
  word-break: break-word;
  font-weight: 700;
}

.file-description {
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #000;
  line-height: 1.5;
  word-break: break-word;
  background-color: #fff;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 5px;
}

.file-name {
  margin: 10px 0 10px 0;
  font-size: 14px;
  color: #000;
  word-break: break-word;
  font-weight: 600;
}

.file-size {
  color: #000;
  font-size: 14px;
  margin: 5px 0;
}

.file-date {
  color: #000;
  font-size: 12px;
  margin: 5px 0 15px 0;
}

.file-preview-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin: 15px 0;
}

.delete-file-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
  width: 100%;
}

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

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 20px;
}

.pagination-numbers {
  display: flex;
  gap: 5px;
  align-items: center;
}

.pagination-btn {
  padding: 8px 15px;
  background-color: white;
  color: #61DAFB;
  border: 2px solid #61DAFB;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  min-width: 45px;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #61DAFB;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(97, 218, 251, 0.3);
}

.pagination-btn.active {
  background-color: #61DAFB;
  color: white;
  box-shadow: 0 2px 8px rgba(97, 218, 251, 0.4);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #ddd;
  color: #999;
}

.pagination-ellipsis {
  padding: 8px 5px;
  color: #666;
  font-weight: bold;
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */
/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .dashboard-content {
    padding: 15px;
  }
  .files-table {
    font-size: 13px;
  }
  .files-table th,
  .files-table td {
    padding: 10px 8px;
  }
  .files-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .filter-controls {
    gap: 10px;
  }
  .search-filter input {
    min-width: 200px;
  }
}
/* Mobile Styles - Large (max-width: 768px) */
@media (max-width: 768px) {
  /* Header */
  .dashboard-header {
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .dashboard-header h1 {
    font-size: 22px;
  }
  .dashboard-header p {
    font-size: 13px;
  }
  .profile-icon {
    width: 45px;
    height: 45px;
  }
  /* Content */
  .dashboard-content {
    padding: 15px 10px;
  }
  /* Upload Section */
  .upload-section {
    margin-bottom: 20px;
  }
  .upload-section-header {
    padding: 15px 20px;
  }
  .upload-section-header h2 {
    font-size: 18px;
  }
  .dropdown-toggle-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .upload-form-container {
    padding: 20px 15px;
  }
  .upload-form-container .form-group label {
    font-size: 13px;
  }
  .upload-form-container .form-group input,
  .upload-form-container .form-group textarea {
    padding: 10px;
    font-size: 14px;
  }
  .upload-area-compact {
    padding: 12px;
  }
  .upload-icon-small {
    font-size: 20px;
  }
  .upload-text-small {
    font-size: 13px;
  }
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  .upload-btn,
  .cancel-btn {
    width: 100%;
    padding: 10px 20px;
  }
  /* Files Section */
  .files-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .files-section-header {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .filter-controls {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .search-filter,
  .date-filter {
    width: 100%;
    justify-content: space-between;
    padding: 8px 12px;
  }
  .search-filter label,
  .date-filter label {
    font-size: 13px;
  }
  .search-filter input,
  .date-filter input {
    min-width: auto;
    flex: 1;
    font-size: 14px;
  }
  .clear-filter-btn {
    width: 100%;
  }
  /* Table - Hide on mobile, show cards instead */
  .files-table-container {
    overflow: visible;
  }
  .files-table {
    display: block;
    border: none;
  }
  .files-table thead {
    display: none;
  }
  /* Mobile Card Layout */
  .files-table tbody {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .files-table tbody tr {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #61DAFB;
  }
  .files-table tbody tr:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  .files-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
  }
  .files-table td:last-child {
    border-bottom: none;
  }
  .files-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    min-width: 100px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .si-number-cell {
    width: auto;
    justify-content: flex-start;
  }
  .file-name-cell {
    max-width: 100%;
  }
  .file-name-text {
    text-align: right;
    flex: 1;
    font-size: 13px;
  }
  .file-type-icon-cell {
    width: auto;
    justify-content: flex-start;
  }
  .status-cell {
    width: auto;
    justify-content: flex-start;
  }
  .actions-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 0 0;
    margin-top: 8px;
    border-top: 2px solid #f0f0f0;
    align-items: center;
  }
  .actions-cell::before {
    flex-basis: 100%;
    margin-bottom: 4px;
  }
  .action-icons {
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }
  .view-btn,
  .edit-btn,
  .delete-btn-table {
    flex: 0 0 auto;
    min-width: auto;
    margin-right: 0;
    padding: 8px 10px;
    font-size: 20px;
    text-align: center;
  }
  .files-table th,
  .files-table td {
    padding: 8px 6px;
  }
  .si-number-cell {
    width: 50px;
    font-size: 12px;
  }
  .file-type-icon-cell {
    width: 50px;
  }
  .file-type-icon-cell svg {
    width: 18px;
    height: 18px;
  }
  .status-cell {
    width: auto;
  }
  .status-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
  .file-name-cell {
    max-width: 200px;
  }
  .view-btn,
  .edit-btn,
  .delete-btn-table {
    padding: 4px 8px;
    font-size: 11px;
    margin-right: 4px;
  }
  /* Files Grid */
  .files-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .file-card {
    padding: 15px;
  }
  /* Modal */
  .file-modal {
    max-width: 95%;
    margin: 10px;
    border-radius: 10px;
  }
  .file-modal-header {
    padding: 15px 20px;
  }
  .file-modal-header h2 {
    font-size: 18px;
  }
  .file-modal-content {
    padding: 20px;
  }
  .file-preview-section {
    padding: 15px;
  }
  .modal-file-preview {
    max-height: 250px;
  }
  .modal-pdf-preview {
    height: 350px;
  }
  .file-details {
    padding: 15px;
  }
  .detail-row {
    flex-direction: column;
    gap: 5px;
    padding: 8px 0;
  }
  .detail-row strong {
    min-width: auto;
    font-size: 13px;
  }
  .detail-row span {
    font-size: 13px;
  }
  .file-modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  .file-modal-actions button,
  .file-modal-actions a {
    width: 100%;
  }
  .open-pdf-btn {
    width: 100%;
    padding: 14px;
  }
  /* Pagination */
  .pagination {
    padding: 15px 10px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .pagination-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 35px;
  }
  .pagination-numbers {
    gap: 3px;
  }
}
/* Mobile Styles - Medium (max-width: 600px) */
@media (max-width: 600px) {
  .dashboard-header {
    padding: 12px 15px;
  }
  .dashboard-header h1 {
    font-size: 20px;
  }
  .dashboard-header p {
    font-size: 12px;
  }
  .profile-icon {
    width: 40px;
    height: 40px;
  }
  .dashboard-content {
    padding: 12px 8px;
  }
  .upload-section-header {
    padding: 12px 15px;
  }
  .upload-section-header h2 {
    font-size: 16px;
  }
  .upload-form-container {
    padding: 15px 12px;
  }
  .upload-area-compact {
    padding: 10px;
  }
  .files-section h2 {
    font-size: 16px;
  }
  .search-filter,
  .date-filter {
    padding: 6px 10px;
  }
  /* Keep card layout */
  .action-icons {
    gap: 6px;
  }
  .view-btn,
  .edit-btn,
  .delete-btn-table {
    padding: 8px 10px;
    font-size: 18px;
  }
  .files-grid {
    gap: 12px;
  }
  .file-card {
    padding: 12px;
  }
  .file-modal-content {
    padding: 15px;
  }
}
/* Mobile Styles - Small (max-width: 480px) */
@media (max-width: 480px) {
  .dashboard-header {
    padding: 10px 12px;
  }
  .dashboard-header h1 {
    font-size: 18px;
  }
  .dashboard-header p {
    font-size: 11px;
  }
  .profile-icon {
    width: 36px;
    height: 36px;
  }
  .logout-btn {
    padding: 8px 15px;
    font-size: 13px;
  }
  .dashboard-content {
    padding: 10px 5px;
  }
  .upload-section {
    margin-bottom: 15px;
    border-radius: 6px;
  }
  .upload-section-header {
    padding: 10px 12px;
  }
  .upload-section-header h2 {
    font-size: 15px;
  }
  .dropdown-toggle-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .upload-form-container {
    padding: 12px 10px;
  }
  .upload-form-container .form-group {
    margin-bottom: 15px;
  }
  .upload-form-container .form-group label {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .upload-form-container .form-group input,
  .upload-form-container .form-group textarea {
    padding: 8px;
    font-size: 13px;
  }
  .upload-area-compact {
    padding: 8px;
  }
  .upload-icon-small {
    font-size: 18px;
  }
  .upload-text-small {
    font-size: 12px;
  }
  .form-actions {
    margin-top: 15px;
  }
  .upload-btn,
  .cancel-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  .files-section h2 {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .search-filter,
  .date-filter {
    padding: 5px 8px;
    border-radius: 6px;
  }
  .search-filter label,
  .date-filter label {
    font-size: 12px;
  }
  .search-filter input,
  .date-filter input {
    padding: 6px 10px;
    font-size: 13px;
  }
  .clear-filter-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  /* Card adjustments for small mobile */
  .files-table tbody tr {
    padding: 12px;
  }
  .files-table td {
    padding: 6px 0;
    font-size: 12px;
  }
  .files-table td::before {
    font-size: 11px;
    min-width: 90px;
  }
  .file-name-text {
    font-size: 12px;
  }
  .status-badge {
    font-size: 10px;
    padding: 3px 6px;
  }
  .action-icons {
    gap: 6px;
  }
  .view-btn,
  .edit-btn,
  .delete-btn-table {
    padding: 7px 9px;
    font-size: 17px;
  }
  .files-grid {
    gap: 10px;
  }
  .file-card {
    padding: 10px;
  }
  .file-icon-large {
    font-size: 48px;
  }
  .file-heading {
    font-size: 16px;
  }
  .file-description {
    font-size: 13px;
    padding: 8px;
  }
  .file-name {
    font-size: 13px;
  }
  .file-size,
  .file-date {
    font-size: 12px;
  }
  .delete-file-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  .file-modal {
    max-width: 100%;
    margin: 5px;
    border-radius: 8px;
  }
  .file-modal-header {
    padding: 12px 15px;
  }
  .file-modal-header h2 {
    font-size: 16px;
  }
  .close-modal-btn {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .file-modal-content {
    padding: 12px;
  }
  .file-preview-section {
    padding: 12px;
  }
  .modal-file-preview {
    max-height: 200px;
  }
  .modal-pdf-preview {
    height: 300px;
  }
  .large-file-icon {
    font-size: 60px;
  }
  .file-type-label {
    font-size: 16px;
  }
  .file-details {
    padding: 12px;
  }
  .detail-row {
    padding: 6px 0;
  }
  .detail-row strong,
  .detail-row span {
    font-size: 12px;
  }
  .file-modal-actions button,
  .file-modal-actions a {
    padding: 8px 20px;
    font-size: 13px;
  }
  .open-pdf-btn {
    padding: 12px;
    font-size: 14px;
  }
  .pagination {
    padding: 10px 5px;
  }
  .pagination-btn {
    padding: 5px 8px;
    font-size: 11px;
    min-width: 30px;
  }
  .no-files {
    padding: 30px 15px;
    font-size: 14px;
  }
}
/* Mobile Styles - Extra Small (max-width: 375px) */
@media (max-width: 375px) {
  .dashboard-header h1 {
    font-size: 16px;
  }
  .profile-icon {
    width: 32px;
    height: 32px;
  }
  .upload-section-header h2 {
    font-size: 14px;
  }
  .files-section h2 {
    font-size: 14px;
  }
  /* Extra small mobile - keep cards */
  .files-table tbody tr {
    padding: 10px;
  }
  .files-table td {
    font-size: 11px;
  }
  .files-table td::before {
    font-size: 10px;
    min-width: 80px;
  }
  .action-icons {
    gap: 6px;
  }
  .view-btn,
  .edit-btn,
  .delete-btn-table {
    padding: 6px 8px;
    font-size: 16px;
  }
  .upload-btn,
  .cancel-btn {
    font-size: 13px;
  }
}* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
  }
}