/*************************************************
 * Bundle Name Modal Styles
 *
 * Modal that appears when user selects multiple
 * Excel files for upload.
 *************************************************/

/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.hidden {
  display: none;
}

/* Modal content box */
.modal-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #0b2d4f;
}

/* File count text */
.bundle-file-count {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #6b7280;
}

/* File list */
.bundle-file-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}

.bundle-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
}

.bundle-file-item:last-child {
  border-bottom: none;
}

.bundle-file-icon {
  font-size: 16px;
}

.bundle-file-name {
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bundle name input */
#bundle-name-input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

#bundle-name-input:focus {
  outline: none;
  border-color: #0b2d4f;
}

/* Modal buttons */
.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.modal-buttons button {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-buttons .btn-secondary {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #374151;
}

.modal-buttons .btn-secondary:hover {
  background: #e5e7eb;
}

.modal-buttons .btn-primary {
  background: #0b2d4f;
  border: 1px solid #0b2d4f;
  color: #ffffff;
}

.modal-buttons .btn-primary:hover {
  background: #0a2540;
}
