body {
  font-family: "Open Sans", sans-serif;
  color: white;
  background: rgb(53, 52, 51);
  background: linear-gradient(
    150deg,
    rgba(53, 52, 51, 1) 0%,
    rgba(8, 8, 8, 1) 42%
  );
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
  width: 100%;
  max-height: 100vh;
  overflow-y: auto;
}

.container.admin-mode {
  max-width: 1600px;
}

h1 {
  font-weight: bold;
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 10px;
}

h2 {
  font-weight: bold;
  margin: 40px 0 20px;
  font-size: 1.5em;
}

h3 {
  font-weight: bold;
  margin: 20px 0 10px;
  font-size: 1.2em;
  color: #dea827;
}

h4 {
  font-weight: bold;
  margin: 15px 0 10px;
  font-size: 1.1em;
  color: #dea827;
}

.description {
  font-size: 0.9em;
  margin: 10px 0 20px;
  color: #bfbfbf;
}

.description_centered {
  text-align: center;
  font-size: 0.9em;
  margin-top: -10px;
  margin-bottom: 40px;
  color: #bfbfbf;
}

.form-section {
  background-color: rgba(53, 52, 51, 0.3);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: white;
}

label i {
  margin-right: 8px;
  color: #dea827;
  width: 16px;
  text-align: center;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: white;
  font-size: 14px;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #dea827;
  background-color: rgba(255, 255, 255, 0.15);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
  color: #bfbfbf;
}

.terms-container {
  max-height: 300px;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 20px;
  margin-top: 10px;
}

.terms-text {
  font-size: 0.85em;
  line-height: 1.5;
  color: #e0e0e0;
}

.terms-text p {
  margin-bottom: 15px;
}

.terms-text ul {
  margin: 10px 0 15px 20px;
  padding-left: 0;
}

.terms-text li {
  margin-bottom: 8px;
  list-style-type: disc;
}

.checkbox-group {
  margin: 25px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9em;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  margin-right: 12px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s;
}

.checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
  background-color: #dea827;
  border-color: #dea827;
}

.checkbox-label input[type="checkbox"]:checked + .custom-checkbox::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 2px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0 0 0;
  flex-wrap: wrap;
}

button {
  background-color: #353433;
  color: white;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.2s;
  min-width: 200px;
}

button:hover:not(:disabled) {
  background-color: #4d4d4d;
  transform: translateY(-2px);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.downloads-section {
  background-color: rgba(53, 52, 51, 0.3);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  background-color: rgba(0, 0, 0, 0.4);
  font-weight: 600;
  color: #dea827;
}

tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

tr:last-child td {
  border-bottom: none;
}

.download-link {
  color: #dea827;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: rgba(222, 168, 39, 0.1);
  border-radius: 5px;
  transition: all 0.3s;
}

.download-link:hover {
  background-color: rgba(222, 168, 39, 0.2);
  transform: translateY(-1px);
}

.hidden {
  display: none;
}

.fade-in {
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scrollbar styling for terms container */
.terms-container::-webkit-scrollbar {
  width: 8px;
}

.terms-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.terms-container::-webkit-scrollbar-thumb {
  background: #dea827;
  border-radius: 4px;
}

.terms-container::-webkit-scrollbar-thumb:hover {
  background: #c49620;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 2em;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-section,
  .downloads-section {
    padding: 20px;
  }

  table {
    font-size: 0.9em;
  }

  th,
  td {
    padding: 10px 8px;
  }

  .download-link {
    padding: 6px 10px;
    font-size: 0.9em;
  }
}

/* Success message styling */
.success-message {
  background-color: rgba(34, 139, 34, 0.2);
  border: 1px solid rgba(34, 139, 34, 0.5);
  color: #90ee90;
  padding: 15px;
  border-radius: 5px;
  margin: 20px 0;
  text-align: center;
  font-weight: 600;
}

.error-message {
  background-color: rgba(220, 20, 60, 0.2);
  border: 1px solid rgba(220, 20, 60, 0.5);
  color: #ffb6c1;
  padding: 15px;
  border-radius: 5px;
  margin: 20px 0;
  text-align: center;
  font-weight: 600;
}

/* Admin Styles */
.admin-btn {
  background-color: #dea827 !important;
  min-width: 120px !important;
}

.admin-btn:hover:not(:disabled) {
  background-color: #c49620 !important;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
}

.modal.hidden {
  display: none;
}

.modal:not(.hidden) {
  display: flex;
}

.admin-modal {
  background-color: #353433;
  border-radius: 10px;
  padding: 0;
  width: 90%;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
  margin: 0;
  color: #dea827;
  font-size: 1.3em;
}

.close-button {
  cursor: pointer;
  font-size: 1.5em;
  color: white;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.close-button:hover {
  color: #dea827;
}

.modal-body {
  padding: 25px;
}

.modal-body label i {
  margin-right: 8px;
  color: #dea827;
  width: 16px;
  text-align: center;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 25px;
}

.modal-actions button {
  min-width: 100px;
}

#cancel-admin-btn {
  background-color: #666 !important;
}

#cancel-admin-btn:hover {
  background-color: #777 !important;
}

/* Admin Dashboard Styles */
.admin-dashboard {
  background-color: rgba(53, 52, 51, 0.3);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-controls {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
  align-items: center;
}

/* Delete All buttons styling - more specific to override admin-control-btn */
.admin-control-btn.delete-all-btn {
  background-color: #dc3545 !important;
  color: white !important;
  border: 1px solid #dc3545 !important;
}

.admin-control-btn.delete-all-btn:hover {
  background-color: #c82333 !important;
  border-color: #bd2130 !important;
}

.admin-control-btn.delete-all-btn:active {
  background-color: #bd2130 !important;
  border-color: #a71e2a !important;
}

/* Create a right-aligned group for delete buttons, settings, and logout */
.admin-controls .delete-all-btn {
  margin-right: 10px;
}

/* Push the first visible delete button to the right, creating the space */
.admin-controls #delete-all-files,
.admin-controls #delete-all-workflows {
  margin-left: auto; /* This creates the empty space before delete buttons */
}

/* Delete All Confirmation Modal Styles */
#delete-all-modal {
  display: none !important;
}

#delete-all-modal.show {
  display: flex !important;
}

.warning-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin-bottom: 20px;
}

.confirmation-sentence {
  background-color: #e9ecef;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
  margin: 10px 0;
  color: #495057;
  font-style: italic;
}

#confirmation-text {
  font-family: monospace;
  font-size: 14px;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
  border: 1px solid #dc3545;
}

.btn-danger:hover:not(:disabled) {
  background-color: #c82333;
  border-color: #bd2130;
}

.btn-danger:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.65;
}

.data-type-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 20px;
}

.data-type-selector label {
  color: #dea827;
  font-weight: 600;
  margin-bottom: 0;
}

.data-type-selector select {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: white;
  padding: 8px 12px;
  font-size: 14px;
}

.data-type-selector select:focus {
  outline: none;
  border-color: #dea827;
  background-color: rgba(255, 255, 255, 0.15);
}

.admin-control-btn {
  background-color: #dea827 !important;
  min-width: 140px !important;
  font-size: 14px !important;
  padding: 10px 20px !important;
}

.admin-control-btn:hover:not(:disabled) {
  background-color: #c49620 !important;
}

.csv-container {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 20px;
  margin-top: 20px;
  max-height: 60vh;
  overflow: auto;
}

/* Make table horizontally scrollable on smaller screens */
.csv-table-wrapper {
  overflow-x: scroll;
  overflow-y: scroll;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  max-height: 70vh;
  scrollbar-width: auto;
  scrollbar-color: #dea827 rgba(255, 255, 255, 0.1);
}

/* Force scrollbars to always be visible */
.csv-table-wrapper::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

.csv-table-wrapper::-webkit-scrollbar-corner {
  background: rgba(255, 255, 255, 0.1);
}

.csv-table-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.csv-table-wrapper::-webkit-scrollbar-thumb {
  background: #dea827;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.csv-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #f4c430;
}

/* Make document table scrollable */
.document-table-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.document-table-wrapper::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

.document-table-wrapper::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.document-table-wrapper::-webkit-scrollbar-thumb {
  background: #dea827;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.document-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #f4c430;
}

/* Navigation Control */
.table-nav-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-label {
  color: #dea827;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

/* Gameboy-style navigation controller */
.gameboy-nav {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn.nav-up {
  position: absolute;
  top: 0;
  left: calc(50% - 20px); /* Center without transform */
}

.nav-btn.nav-down {
  position: absolute;
  bottom: 0;
  left: calc(50% - 20px); /* Center without transform */
}

.nav-btn.nav-left {
  position: absolute;
  left: 0;
  top: calc(50% - 20px); /* Center without transform */
}

.nav-btn.nav-right {
  position: absolute;
  right: 0;
  top: calc(50% - 20px); /* Center without transform */
}

.nav-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 50% !important;
  background: #dea827 !important;
  border: none !important;
  color: white !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  padding: 0 !important;
  margin: 0;
  box-sizing: border-box !important;
}

.nav-btn:hover {
  background: #f4c430 !important;
}

.nav-btn:active {
  background: #c4941f !important;
}

/* Mobile responsive navigation */
@media (max-width: 768px) {
  .admin-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .admin-controls .logout-btn {
    margin-left: 0;
    align-self: center;
    order: -1; /* Move logout button above navigation */
  }

  .table-nav-container {
    order: 1; /* Move navigation below logout */
    align-self: center;
  }

  .gameboy-nav {
    width: 140px;
    height: 140px;
  }

  .nav-btn {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    font-size: 20px;
  }

  .nav-btn.nav-up {
    left: calc(50% - 24px); /* Mobile: center 48px button */
  }

  .nav-btn.nav-down {
    left: calc(50% - 24px); /* Mobile: center 48px button */
  }

  .nav-btn.nav-left {
    top: calc(50% - 24px); /* Mobile: center 48px button */
  }

  .nav-btn.nav-right {
    top: calc(50% - 24px); /* Mobile: center 48px button */
  }
}

.enhanced-table {
  min-width: 1600px;
  table-layout: auto;
  width: max-content;
}

.enhanced-table td {
  padding: 10px 15px;
  white-space: nowrap;
  min-width: fit-content;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.enhanced-table td:nth-child(1) {
  /* Created */
  min-width: 150px;
}

.enhanced-table td:nth-child(2) {
  /* Document */
  min-width: 250px;
  max-width: 350px;
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.3;
}

.enhanced-table td:nth-child(3) {
  /* Recipient */
  min-width: 200px;
}

.enhanced-table td:nth-child(4) {
  /* Sender */
  min-width: 180px;
}

.enhanced-table td:nth-child(5) {
  /* Status */
  min-width: 120px;
}

.enhanced-table td:nth-child(6) {
  /* First Name */
  min-width: 120px;
}

.enhanced-table td:nth-child(7) {
  /* Last Name */
  min-width: 120px;
}

.enhanced-table td:nth-child(8) {
  /* Affiliate */
  min-width: 150px;
}

.enhanced-table td:nth-child(9) {
  /* Terms & Contact */
  min-width: 120px;
}

.enhanced-table td:nth-child(10) {
  /* Expires In */
  min-width: 140px;
}

.enhanced-table td:nth-child(11) {
  /* Token Expiry */
  min-width: 180px;
}

.enhanced-table td:nth-child(12) {
  /* Actions */
  min-width: 120px;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #bfbfbf;
  font-size: 1.1em;
}

.loading i {
  margin-right: 10px;
}

.csv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
}

.csv-table th,
.csv-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  word-wrap: break-word;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Override truncation for action button cells */
.csv-table td.action-buttons {
  overflow: visible !important;
  text-overflow: initial !important;
  max-width: none !important;
}

/* Action buttons should never be truncated */
.action-buttons {
  white-space: nowrap;
  min-width: 350px;
  width: 350px;
}

.action-buttons {
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 1px !important;
  min-width: 380px !important;
}

.action-buttons .action-btn {
  overflow: visible !important;
  text-overflow: initial !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Specific column width controls - only for text columns, not action buttons */
.csv-table th:nth-child(1):not(.action-buttons),
.csv-table td:nth-child(1):not(.action-buttons) {
  max-width: 150px; /* Display Name */
}

.csv-table th:nth-child(2):not(.action-buttons),
.csv-table td:nth-child(2):not(.action-buttons) {
  max-width: 120px; /* File Name */
  font-family: monospace;
  font-size: 0.85em;
}

.csv-table th:nth-child(3):not(.action-buttons),
.csv-table td:nth-child(3):not(.action-buttons) {
  max-width: 200px; /* Description */
}

.csv-table th:nth-child(4):not(.action-buttons),
.csv-table td:nth-child(4):not(.action-buttons) {
  max-width: 80px; /* Version */
}

.csv-table th:nth-child(5):not(.action-buttons),
.csv-table td:nth-child(5):not(.action-buttons) {
  max-width: 80px; /* File Size */
}

.csv-table th {
  background-color: rgba(0, 0, 0, 0.4);
  font-weight: 600;
  color: #dea827;
  position: sticky;
  top: 0;
  z-index: 10;
}

.csv-table tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.csv-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Responsive adjustments for admin */
@media (max-width: 768px) {
  .admin-controls {
    flex-direction: column;
  }

  .admin-control-btn {
    width: 100%;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions button {
    width: 100%;
  }

  .csv-table {
    font-size: 0.8em;
  }

  .csv-table th,
  .csv-table td {
    padding: 6px 8px;
    max-width: 120px;
  }
}

/* Document management styles */
.document-only {
  display: none;
}

.document-only:not(.hidden) {
  display: inline-block;
}

/* Ensure action buttons are properly displayed */
.action-buttons {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: initial !important;
}

.action-btn {
  background-color: #dea827 !important;
  color: white !important;
  border: none !important;
  padding: 4px 8px !important;
  margin: 1px !important;
  cursor: pointer !important;
  font-size: 11px !important;
  border-radius: 3px !important;
  transition: background-color 0.3s !important;
  min-width: auto !important;
  height: 26px !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

.action-btn i {
  margin-right: 4px !important;
}

.action-btn:hover:not(:disabled) {
  background-color: #c49620 !important;
}

.delete-modal .modal-body {
  text-align: center;
}

.delete-info {
  background-color: rgba(220, 20, 60, 0.1);
  border: 1px solid rgba(220, 20, 60, 0.3);
  padding: 15px;
  border-radius: 5px;
  margin: 15px 0;
}

.warning-text {
  color: #ffb6c1;
  font-weight: 600;
  margin: 15px 0;
}

.overwrite-info {
  background-color: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  padding: 15px;
  border-radius: 5px;
  margin: 15px 0;
  text-align: center;
}

.form-hint {
  color: #bfbfbf;
  font-size: 0.8em;
  margin-top: 5px;
  display: block;
}

input[type="file"] {
  width: 100%;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: white;
  font-size: 14px;
  box-sizing: border-box;
}

input[type="file"]:focus {
  outline: none;
  border-color: #dea827;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Generate One-time Link Modal Styles */
.document-info {
  background-color: rgba(222, 168, 39, 0.1);
  border: 1px solid rgba(222, 168, 39, 0.3);
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.file-badge-icon {
  font-size: 32px;
  color: #dea827;
  flex-shrink: 0;
}

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

.document-info h4 {
  margin: 0 0 5px 0;
  color: #dea827;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.3;
}

.document-info p {
  margin: 0;
  color: #bfbfbf;
  font-size: 0.9em;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.link-options {
  margin-bottom: 20px;
}

.option-section {
  margin-bottom: 15px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.option-section:hover {
  border-color: rgba(222, 168, 39, 0.4);
  background-color: rgba(222, 168, 39, 0.08);
}

.option-label-enhanced {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  padding: 18px;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.option-label-enhanced:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Hide the default radio button */
.option-label-enhanced input[type="radio"] {
  display: none;
}

/* Custom radio button styling (yellow like in reference) */
.custom-radio {
  width: 18px;
  height: 18px;
  background-color: #353433;
  border: 2px solid #353433;
  border-radius: 50%;
  margin-right: 15px;
  margin-top: 2px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* When radio is checked - yellow background */
.option-label-enhanced input[type="radio"]:checked + .custom-radio {
  background-color: #dea827;
  border-color: #dea827;
}

/* White dot inside when checked */
.option-label-enhanced input[type="radio"]:checked + .custom-radio::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
}

/* Content area */
.option-content {
  flex: 1;
}

.option-content strong {
  color: #dea827;
  display: block;
  margin-bottom: 8px;
  font-size: 1.05em;
  font-weight: 600;
}

.option-description {
  color: #bfbfbf;
  font-size: 0.9em;
  font-weight: normal;
  line-height: 1.4;
  margin: 0;
}

/* Selected state styling */
.option-label-enhanced input[type="radio"]:checked ~ .option-content strong {
  color: #dea827;
}

.option-label-enhanced
  input[type="radio"]:checked
  ~ .option-content
  .option-description {
  color: #d0d0d0;
}

/* Highlight the entire section when selected */
.option-section:has(input[type="radio"]:checked) {
  border-color: #dea827;
  background-color: rgba(222, 168, 39, 0.12);
  box-shadow: 0 0 0 1px rgba(222, 168, 39, 0.3);
}

/* Fallback for browsers that don't support :has() */
.option-section.selected {
  border-color: #dea827;
  background-color: rgba(222, 168, 39, 0.12);
  box-shadow: 0 0 0 1px rgba(222, 168, 39, 0.3);
}

.manual-only,
.email-only {
  transition: all 0.3s ease;
}

/* Toggle Tab Navigation Styles */
.option-tabs {
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.option-tab,
.visibility-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: 6px;
  color: #bfbfbf;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 0;
  white-space: nowrap;
}

.option-tab:hover:not(.active),
.visibility-tab:hover:not(.active) {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.option-tab.active,
.visibility-tab.active {
  background-color: #dea827;
  color: #1a1a1a;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(222, 168, 39, 0.3);
}

.option-tab.active:hover,
.visibility-tab.active:hover {
  background-color: #f0c14b;
  color: #1a1a1a;
  box-shadow: 0 2px 12px rgba(222, 168, 39, 0.4);
}

.option-tab i,
.visibility-tab i {
  font-size: 14px;
}

.option-tab span,
.visibility-tab span {
  white-space: nowrap;
}

/* Mobile responsive option tabs */
@media (max-width: 768px) {
  .option-tabs {
    flex-direction: column;
    gap: 4px;
  }

  .option-tab,
  .visibility-tab {
    flex: none;
    padding: 10px 12px;
    font-size: 13px;
  }

  .option-tab i,
  .visibility-tab i {
    font-size: 14px;
  }

  .option-tab span,
  .visibility-tab span {
    font-size: 13px;
  }
}

/* Tab Content Styles */
.tab-content {
  margin-bottom: 20px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.option-description {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  background-color: rgba(222, 168, 39, 0.08);
  border: 1px solid rgba(222, 168, 39, 0.2);
  border-radius: 6px;
  margin-bottom: 20px;
}

.option-description i {
  color: #dea827;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.option-description p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}

.email-only textarea {
  width: 100%;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: white;
  font-size: 14px;
  box-sizing: border-box;
  resize: vertical;
  font-family: "Open Sans", sans-serif;
}

.email-only textarea:focus {
  outline: none;
  border-color: #dea827;
  background-color: rgba(255, 255, 255, 0.15);
}

.email-only textarea::placeholder {
  color: #bfbfbf;
}

/* Generated content modal styles */
.generated-content .form-group {
  position: relative;
}

.generated-content label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copy-btn {
  background-color: #dea827 !important;
  color: white !important;
  border: none !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  min-width: auto !important;
  transition: background-color 0.3s !important;
}

.copy-btn:hover {
  background-color: #c49620 !important;
}

.copy-btn i {
  margin-right: 4px;
}

.generated-content textarea {
  width: 100%;
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: white;
  font-size: 14px;
  box-sizing: border-box;
  resize: vertical;
  font-family: "Open Sans", sans-serif;
}

.generated-content textarea:focus {
  outline: none;
  border-color: #dea827;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Generate One-time Link button styling */
.generate-link-btn {
  background-color: #2980b9 !important;
}

.generate-link-btn:hover:not(:disabled) {
  background-color: #3498db !important;
}

/* Enhanced table styles */
.enhanced-table-container {
  margin: 20px 0;
}

.table-controls-external {
  display: flex;
  gap: 15px;
  margin: 15px 0;
  align-items: center;
  flex-wrap: wrap;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.table-search,
.table-filter {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: white;
  padding: 8px 12px;
  font-size: 14px;
}

.table-search {
  min-width: 200px;
  flex: 1;
}

.table-search::placeholder {
  color: #bfbfbf;
}

.table-search:focus,
.table-filter:focus {
  outline: none;
  border-color: #dea827;
  background-color: rgba(255, 255, 255, 0.15);
}

.enhanced-table th {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.enhanced-table th:hover {
  background-color: rgba(222, 168, 39, 0.1);
}

.enhanced-table th {
  white-space: nowrap;
  padding: 12px 15px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.5px;
  min-width: fit-content;
  width: auto;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.enhanced-table th i {
  margin-left: 5px;
  opacity: 0.6;
  font-size: 0.8em;
}

.enhanced-table th:hover i:not(.fa-sort-disabled) {
  opacity: 1;
}

.enhanced-table th i.fa-sort-disabled {
  opacity: 0.3;
  cursor: default;
}

.enhanced-table th:has(i.fa-sort-disabled) {
  cursor: default;
}

.enhanced-table th:has(i.fa-sort-disabled):hover {
  background-color: transparent;
}

.countdown {
  font-size: 0.8em;
  color: #ffa500;
}

.time-remaining {
  font-weight: bold;
}

.copy-link-btn {
  background-color: #17a2b8 !important;
  padding: 4px 8px !important;
  margin: 2px !important;
}

.copy-link-btn:hover {
  background-color: #138496 !important;
}

.delete-row-btn {
  background-color: #dc3545 !important;
  padding: 4px 8px !important;
  margin: 2px !important;
}

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

/* Visibility badges */
.public-badge,
.private-badge,
.hidden-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 500;
}

.public-badge {
  background-color: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
  border: 1px solid rgba(23, 162, 184, 0.3);
}

.private-badge {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.3);
}

.hidden-badge {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

/* File Replace Section */
.file-replace-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.file-info i {
  color: #dea827;
}

.clear-btn {
  background: none;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-left: auto;
}

.clear-btn:hover {
  background-color: rgba(255, 107, 107, 0.1);
}

.secondary-btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Custom File Upload Styling */
.custom-file-upload {
  position: relative;
  width: 100%;
}

.file-upload-btn {
  width: 100%;
  min-height: 120px;
  background: linear-gradient(
    135deg,
    rgba(222, 168, 39, 0.1),
    rgba(222, 168, 39, 0.05)
  );
  border: 2px dashed rgba(222, 168, 39, 0.4);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  color: #dea827;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.file-upload-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(222, 168, 39, 0.2),
    rgba(222, 168, 39, 0.1)
  );
  border-color: rgba(222, 168, 39, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(222, 168, 39, 0.2);
}

.file-upload-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(222, 168, 39, 0.15);
}

.file-upload-btn i {
  font-size: 32px;
  margin-bottom: 4px;
  opacity: 0.8;
}

.upload-text {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.upload-subtext {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* File Info Display */
.file-info-display {
  margin-top: 12px;
  padding: 0;
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1),
    rgba(40, 167, 69, 0.05)
  );
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.file-preview:hover {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.15),
    rgba(40, 167, 69, 0.08)
  );
  border-color: rgba(40, 167, 69, 0.4);
}

.file-icon {
  font-size: 24px;
  color: #28a745;
  flex-shrink: 0;
}

.file-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.file-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.file-remove-btn {
  background: none;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.file-remove-btn:hover {
  background-color: rgba(255, 107, 107, 0.1);
  color: #ff5252;
  transform: scale(1.1);
}

.file-remove-btn:active {
  transform: scale(0.95);
}

/* Drag and Drop States */
.file-upload-btn.drag-over {
  border-color: rgba(222, 168, 39, 0.8);
  background: linear-gradient(
    135deg,
    rgba(222, 168, 39, 0.25),
    rgba(222, 168, 39, 0.15)
  );
  transform: scale(1.02);
}

.file-upload-btn.file-selected {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1),
    rgba(40, 167, 69, 0.05)
  );
  border-color: rgba(40, 167, 69, 0.4);
  color: #28a745;
}

.file-upload-btn.file-selected:hover {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.2),
    rgba(40, 167, 69, 0.1)
  );
  border-color: rgba(40, 167, 69, 0.6);
}

.text-muted {
  color: #6c757d;
  font-style: italic;
}

/* Public landing page styles */
.public-section {
  margin-bottom: 30px;
}

.public-documents-container {
  margin: 20px 0;
  min-height: 200px;
}

.public-documents-table {
  margin-top: 20px;
}

.public-documents-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.public-documents-table th,
.public-documents-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.public-documents-table th {
  background-color: rgba(0, 0, 0, 0.4);
  font-weight: 600;
  color: #dea827;
}

.public-documents-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.public-download-btn {
  background-color: #dea827;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.public-download-btn:hover {
  background-color: #c49620;
}

.admin-access-section {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-access-btn {
  background-color: rgba(0, 0, 0, 0.4);
  color: #bfbfbf;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.admin-access-btn:hover {
  background-color: rgba(0, 0, 0, 0.6);
  color: #dea827;
  border-color: #dea827;
}

.no-public-documents {
  text-align: center;
  color: #bfbfbf;
  padding: 40px 20px;
  font-style: italic;
}

/* Public download form styles */
.document-info-section {
  margin: 20px 0 30px 0;
}

.document-info-card {
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.document-info-card .file-icon {
  font-size: 48px;
  color: #dea827;
  margin-right: 20px;
}

.document-details h2 {
  margin: 0 0 8px 0;
  color: #dea827;
  font-size: 1.5em;
}

.document-description {
  color: #bfbfbf;
  margin: 5px 0;
  font-size: 0.95em;
}

.document-version {
  color: #888;
  margin: 5px 0 0 0;
  font-size: 0.9em;
  font-style: italic;
}

.public-download-form {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-container {
  max-height: 300px;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 20px;
  margin-top: 10px;
}

.terms-text {
  font-size: 0.85em;
  line-height: 1.5;
  color: #e0e0e0;
}

.terms-text p {
  margin-bottom: 15px;
}

.terms-text h3 {
  color: #dea827;
  margin-bottom: 20px;
}

.terms-text h4 {
  color: #dea827;
  margin: 20px 0 10px 0;
}

.terms-text ul {
  margin: 10px 0 15px 20px;
  padding-left: 0;
}

.terms-text li {
  margin-bottom: 8px;
  list-style-type: disc;
}

.checkbox-group {
  margin: 25px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9em;
  line-height: 1.4;
  color: #bfbfbf;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  margin-right: 12px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s;
}

.checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
  background-color: #dea827;
  border-color: #dea827;
}

.checkbox-label input[type="checkbox"]:checked + .custom-checkbox::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 2px;
}

.success-message {
  color: #28a745 !important;
  font-weight: 500;
}

.download-ready-card {
  display: flex;
  align-items: center;
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.download-ready-card .file-icon {
  font-size: 36px;
  color: #28a745;
  margin-right: 15px;
}

.download-details h4 {
  margin: 0 0 5px 0;
  color: #28a745;
}

.download-details p {
  margin: 0;
  color: #bfbfbf;
  font-size: 0.9em;
}

.primary-btn {
  background-color: #dea827;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
}

.primary-btn:hover {
  background-color: #c49620;
  text-decoration: none;
  color: white;
}

.secondary-btn {
  background-color: transparent;
  color: #bfbfbf;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  margin-left: 15px;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #dea827;
  color: #dea827;
  text-decoration: none;
}

.download-btn {
  background-color: #28a745 !important;
}

.download-btn:hover {
  background-color: #218838 !important;
}

/* Weekly Report Settings Styles */
.settings-btn {
  background-color: #6c757d !important;
}

.settings-btn:hover {
  background-color: #545b62 !important;
}

.form-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s;
}

.form-textarea:focus {
  outline: none;
  border-color: #dea827;
  background-color: rgba(255, 255, 255, 0.08);
}

.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-help-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.form-help-text i {
  margin-top: 2px;
  flex-shrink: 0;
}

.info-box {
  background-color: rgba(222, 168, 39, 0.1);
  border: 1px solid rgba(222, 168, 39, 0.3);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-box i {
  color: #dea827;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-content strong {
  color: #dea827;
  display: block;
  margin-bottom: 8px;
}

.info-content p {
  margin: 0 0 8px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.4;
}

.info-content {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.4;
}

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

.checkbox-text {
  font-weight: 500;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

#email-addresses-group {
  opacity: 0.5;
  transition: opacity 0.3s;
}

#email-addresses-group.enabled {
  opacity: 1;
}

/* Additional Actions Styles */
.section-label {
  font-weight: 600;
  color: #dea827;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 16px;
}

.action-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.action-button-group {
  text-align: center;
}

.btn-action {
  width: 100%;
  background-color: #17a2b8;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  margin-bottom: 8px;
}

.btn-action:hover {
  background-color: #138496;
  transform: translateY(-1px);
}

.btn-action:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.action-help-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.3;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #dea827;
  background-color: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: #dea827;
  background-color: rgba(255, 255, 255, 0.08);
}

.form-select option {
  background-color: #2d3748;
  color: #ffffff;
}

/* Enhanced Checkbox Hover Effects */
.custom-checkbox:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.08);
}

.checkbox-label input[type="checkbox"]:checked + .custom-checkbox:hover {
  background-color: #c49620;
  border-color: #c49620;
}

@media (max-width: 768px) {
  .action-buttons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
