body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.header {
  background-color: white;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
}

.navigation {
  background-color: #013d85;
  padding: 1rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

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

#app {
  min-height: 100vh;
}

#content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logout-button {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.logout-button:hover {
  background-color: #c82333;
}

.customer-info {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.customer-info p {
  margin: 0.25rem 0;
}

.login-message {
  text-align: center;
  padding: 2rem;
}

.login-message code {
  background-color: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-family: monospace;
}

.login-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2,
h3 {
  color: #013d85;
  margin-top: 0;
  margin-bottom: 1rem;
}

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

label {
  display: block;
  margin-bottom: 5px;
  color: #666;
}

input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.static-field {
  padding: 8px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  font-family: monospace;
}

button {
  background-color: #013d85;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #012d62;
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

button.secondary {
  background-color: #6c757d;
}

button.secondary:hover {
  background-color: #5a6268;
}

.table-section {
  overflow-x: auto;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #013d85;
  color: white;
  font-weight: 600;
}

tr:hover {
  background-color: #f5f5f5;
}

.customers-table {
  margin-top: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.customers-table th {
  background-color: #013d85;
  color: white;
}

.customers-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.action-button {
  padding: 6px 12px;
  margin: 0 4px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.action-button.approved {
  background-color: #28a745;
  color: white;
}

.action-button.revert {
  background-color: #dc3545;
  color: white;
}

.processed-date {
  display: block;
  font-size: 0.8em;
  color: #666;
  margin-top: 4px;
}

.text-muted {
  color: #6c757d;
  font-size: 0.875em;
}

/* Nuevos estilos para el portal del cliente */
.customer-info {
  background: #013d85;
  color: white;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-badge.pending {
  background-color: #ffc107;
  color: #000;
}

.status-badge.approved {
  background-color: #28a745;
  color: white;
}

.status-badge.rejected {
  background-color: #dc3545;
  color: white;
}

.view-image {
  color: #013d85;
  text-decoration: none;
  font-weight: 500;
}

.view-image:hover {
  text-decoration: underline;
}

/* Estilos para el modal de rechazo */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal h3 {
  margin-top: 0;
  color: #013d85;
  margin-bottom: 1.5rem;
}

.modal textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
  font-family: inherit;
}

.char-count {
  display: block;
  text-align: right;
  color: #666;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.reject-confirm {
  background-color: #dc3545;
}

.reject-confirm:hover {
  background-color: #c82333;
}

.reject-cancel {
  background-color: #6c757d;
}

.reject-cancel:hover {
  background-color: #5a6268;
}

/* Estilos para botones de acción */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.action-button.approve {
  background-color: #28a745;
}

.action-button.approve:hover {
  background-color: #218838;
}

.action-button.reject {
  background-color: #dc3545;
}

.action-button.reject:hover {
  background-color: #c82333;
}

.action-button.rejected {
  background-color: #dc3545;
  opacity: 0.8;
}

.rejection-info {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  color: #721c24;
}

/* New styles for login message and button */
.login-message {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 400px;
}

.login-message p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.login-button {
  display: inline-block;
  background-color: #013d85;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.login-button:hover {
  background-color: #012d62;
  text-decoration: none;
  color: white;
}

.customer-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.customer-details strong {
  margin-right: 0.25rem;
}

.watts-info {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

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

.logout-button {
  background-color: #dc3545;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.logout-button:hover {
  background-color: #c82333;
}

.login-form {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form .form-group {
  margin-bottom: 1rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #666;
}

.login-form input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.login-form button {
  width: 100%;
  padding: 0.75rem;
  background-color: #013d85;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.login-form button:hover {
  background-color: #012d62;
}

/* Upload section styles */
.upload-section {
  background: #f8faff; /* Sutil color de fondo azulado */
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.upload-section h3 {
  text-align: center;
  color: #013d85;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.upload-section h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #013d85;
}

.upload-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(1, 61, 133, 0.1);
}

.drag-drop-zone {
  border: 2px dashed #013d85;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.drag-drop-zone svg {
  color: #013d85;
  margin-bottom: 0.5rem;
}

.drag-drop-zone p {
  margin: 0;
  color: #666;
}

.drag-drop-zone.dragover {
  background: #e9ecef;
  border-color: #012d62;
}

.file-info {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.5rem;
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 4px;
}

.file-info p {
  margin: 0.25rem 0;
}

.selected-file {
  background: #e9ecef;
  padding: 0.75rem;
  border-radius: 4px;
  margin-top: 0.75rem;
  display: none;
  color: #013d85;
  font-weight: 500;
}

.selected-file.visible {
  display: block;
}

.submit-button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  background-color: #013d85;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background-color: #012d62;
}

input[type="number"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

input[type="number"]:focus {
  border-color: #013d85;
  outline: none;
  box-shadow: 0 0 0 2px rgba(1, 61, 133, 0.1);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #444;
  font-weight: 500;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* Estilos de paginación */
.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
}

.pagination-button {
  background-color: #013d85;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.pagination-button:hover:not(:disabled) {
  background-color: #012d62;
}

.pagination-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.page-info {
  color: #666;
  font-size: 0.9rem;
  min-width: 120px;
  text-align: center;
}

/* Ajustar el margen inferior de la tabla cuando hay paginación */
.customers-table + .pagination-controls {
  margin-bottom: 2rem;
}

/* Estilos para el botón de refresco */
.refresh-button {
  background-color: #013d85;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
  display: block;
  margin: 1rem 0;
}

.refresh-button:hover {
  background-color: #012d62;
}

.refresh-button:active {
  transform: translateY(1px);
}

/* Filter buttons styles */
.filter-buttons {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.filter-buttons .btn-group {
  margin-left: auto;
}

.filter-buttons .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.filter-buttons .btn-primary {
  background-color: #013d85;
  border-color: #013d85;
}

.filter-buttons .btn-primary:hover {
  background-color: #012d62;
  border-color: #012d62;
}

.filter-buttons .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.filter-buttons .btn-secondary:hover {
  background-color: #5a6268;
  border-color: #5a6268;
}

/* Gift Card Section Styles */
.gift-card-section {
  background: #f0f8ff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.gift-card-section h3 {
  text-align: center;
  color: #013d85;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.gift-card-section h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #013d85;
}

.conversion-info {
  background: white;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #013d85;
}

.conversion-info p {
  margin: 0.5rem 0;
  color: #333;
}

.conversion-preview {
  background: #e9f5e9;
  padding: 0.75rem;
  border-radius: 4px;
  margin-top: 0.5rem;
  border-left: 3px solid #28a745;
}

.conversion-preview p {
  margin: 0;
  color: #155724;
  font-weight: 500;
}

.gift-card-section form {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(1, 61, 133, 0.1);
}

.gift-card-section input[type="number"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.gift-card-section input[type="number"]:focus {
  border-color: #013d85;
  outline: none;
  box-shadow: 0 0 0 2px rgba(1, 61, 133, 0.1);
}

.gift-card-section small {
  color: #666;
  font-size: 0.875rem;
  display: block;
  margin-top: 0.25rem;
}

.gift-card-section button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.gift-card-section button:hover:not(:disabled) {
  background-color: #218838;
}

.gift-card-section button:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

/* Gift Card History Styles */
.gift-card-history {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.gift-card-history h3 {
  text-align: center;
  color: #013d85;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.gift-card-history h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #013d85;
}

.gift-card-item {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid #28a745;
}

.gift-card-item:last-child {
  margin-bottom: 0;
}

.gift-card-info p {
  margin: 0.5rem 0;
  color: #333;
}

.gift-card-info p:first-child {
  margin-top: 0;
}

.gift-card-info p:last-child {
  margin-bottom: 0;
}

/* Gift Card Modal Styles */
.gift-card-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gift-card-modal.show {
  opacity: 1;
}

.gift-card-modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80%;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.gift-card-modal.show .gift-card-modal-content {
  transform: scale(1);
}

.gift-card-success-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #28a745;
}

.gift-card-success-header h2 {
  color: #28a745;
  margin: 0;
  font-size: 1.5rem;
}

.gift-card-code-container {
  background: #f8f9fa;
  border: 2px solid #28a745;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.gift-card-code-container label {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.gift-card-code {
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  font-weight: bold;
  color: #013d85;
  background: white;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.copy-button {
  background: #013d85;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.copy-button:hover {
  background: #012d62;
}

.gift-card-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
}

.info-item .label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.info-item .value {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}

.gift-card-instructions {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.gift-card-instructions p {
  margin: 0;
  color: #856404;
  font-size: 0.9rem;
}

.gift-card-actions {
  text-align: center;
}

.close-modal-button {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.close-modal-button:hover {
  background: #5a6268;
}

/* Admin Controls Styles */
.admin-controls {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e9ecef;
}

.control-group {
  margin-bottom: 1rem;
}

.control-group:last-child {
  margin-bottom: 0;
}

.switch-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

/* Switch styles */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #013d85;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Notice styles para canje deshabilitado */
.disabled-notice,
.error-notice {
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
}

.disabled-notice {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
}

.error-notice {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.disabled-notice p,
.error-notice p {
  margin: 0.5rem 0;
}

.disabled-notice p:first-child,
.error-notice p:first-child {
  font-weight: bold;
  font-size: 1.1em;
}

.control-description {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
  font-style: italic;
}

/* Admin Notifications */
.admin-notification {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  border-radius: 4px;
  font-weight: 500;
}

.admin-notification.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.admin-notification.warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.admin-notification.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.admin-notification button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  padding: 0;
  margin-left: 1rem;
}

.admin-notification button:hover {
  opacity: 1;
}

/* Upload Disabled Section */
.upload-disabled-section {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 2rem;
}

.gift-card-disabled-section {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 2rem;
}

.gift-card-disabled-section .info-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.gift-card-disabled-section .info-message p:first-child {
  display: flex;
  align-items: center;
  margin: 0;
  color: #721c24;
  font-weight: 500;
}

.gift-card-disabled-section .info-message p:last-child {
  margin: 0;
  color: #721c24;
  font-size: 14px;
}

.upload-disabled-section h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.info-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: white;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid #ffc107;
  text-align: left;
}

.info-message svg {
  flex-shrink: 0;
  color: #856404;
  margin-top: 2px;
}

.info-message p {
  margin: 0;
  color: #856404;
  line-height: 1.5;
}

.info-message p:first-child {
  font-weight: 500;
}

/* Responsive adjustments for admin controls */
@media (max-width: 768px) {
  .switch-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .admin-notification {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .admin-notification button {
    align-self: flex-end;
    margin-left: 0;
  }
}

/* Archivos seleccionados múltiples */
.selected-files {
  display: none;
  margin-top: 15px;
  padding: 15px;
  background-color: #e8f4fd;
  border-radius: 8px;
  border: 1px solid #c3e6cb;
}

.selected-files.visible {
  display: block;
}

.files-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dee2e6;
  font-weight: 500;
  color: #013d85;
}

.clear-all {
  background: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.clear-all:hover {
  background: #c82333;
}

.file-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 12px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  transition: box-shadow 0.2s;
  gap: 15px;
}

.file-preview:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

.file-name {
  font-weight: 500;
  color: #495057;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.file-amount {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.file-amount label {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
  margin: 0;
}

.amount-input {
  padding: 6px 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.amount-input:focus {
  outline: none;
  border-color: #013d85;
  box-shadow: 0 0 0 2px rgba(1, 61, 133, 0.1);
}

.remove-file {
  background: #dc3545;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}

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

/* Mejoras responsivas para múltiples archivos */
@media (max-width: 768px) {
  .file-preview {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .files-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .file-info {
    order: 1;
    margin-bottom: 8px;
  }

  .file-name {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .file-amount {
    order: 2;
    min-width: 100%;
    align-items: stretch;
    min-width: auto;
    width: 100%;
  }

  .amount-input {
    width: 100%;
    padding: 8px 10px;
    font-size: 16px; /* Evita zoom en iOS */
  }

  .remove-file {
    order: 3;
    align-self: flex-end;
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .file-preview {
    position: relative;
    padding-right: 40px;
  }

  .amount-help {
    text-align: left;
    margin-top: 4px;
  }
}

.drag-drop-zone {
  padding: 20px;
}

.drag-drop-zone p {
  font-size: 14px;
}

/* Estilos para el indicador de progreso de SSE */
.progress-container {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #013d85, #0056b3);
  border-radius: 4px;
  animation: progress-animate 2s ease-in-out infinite;
}

.progress-message {
  text-align: center;
  color: #495057;
  font-weight: 500;
  font-size: 1rem;
}

@keyframes progress-animate {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 0%; }
}

/* Confirmation modal */
.confirm-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.confirm-modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 2rem 1.5rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  text-align: center;
}

.confirm-modal-icon {
  margin-bottom: 0.75rem;
}

.confirm-modal-title {
  color: #013d85;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.confirm-modal-list {
  text-align: left;
  color: #333;
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0 0 1rem 0;
  padding-left: 1.3rem;
}

.confirm-modal-list li {
  margin-bottom: 0.4rem;
}

.confirm-modal-question {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.confirm-modal-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.confirm-modal-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.confirm-modal-btn--cancel {
  background: #e9ecef;
  color: #495057;
}

.confirm-modal-btn--cancel:hover {
  background: #dee2e6;
}

.confirm-modal-btn--accept {
  background: #013d85;
  color: #fff;
}

.confirm-modal-btn--accept:hover {
  background: #0056b3;
}
