/* Dashboard page styles extracted from Dashboard.tsx */

.dashboard {
  background-color: #f9fafb; /* bg-gray-50 */
  min-height: 100vh;
  width: 100%;
  margin-left: 0; /* Remove any left margin */
  padding-left: 0; /* Remove any left padding */
}

.main-content {
  /* No direct styles, but you can add layout if needed */
  padding-left: 0; /* Remove any left padding */
  margin-left: 0; /* Remove any left margin */
}

.container {
  max-width: 100%;
  padding-left: 0; /* Remove any left padding */
}

.dashboard-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .dashboard-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.5rem;
  }
}

.dashboard-title {
  font-size: 2rem;
  font-weight: bold;
  color: #111827; /* text-gray-900 */
}

@media (min-width: 640px) {
  .dashboard-title {
    font-size: 1.875rem;
  }
}

.dashboard-subtitle {
  color: #6b7280; /* text-gray-500 */
  margin-top: 0.25rem;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .dashboard-actions {
    margin-top: 0;
  }
}

.dashboard-search-bar {
  margin-bottom: 1rem;
}

.dashboard-search-input {
  position: relative;
  max-width: 28rem;
}

.dashboard-search-input input {
  padding-left: 2.5rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 0.375rem;
  outline: none;
}

.dashboard-search-input input:focus {
  border-color: #009ce5;
  box-shadow: 0 0 0 3px rgba(0, 156, 229, 0.3);
}

.dashboard-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9ca3af; /* text-gray-400 */
}

/* Dashboard disabled state */
.dashboard-disabled-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(0.5px);
  z-index: 10;
  pointer-events: none;
  border-radius: 0.5rem;
}

/* Add disabled style for buttons */
button:disabled,
.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.dashboard-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  cursor: pointer;
}

.dashboard-search-clear:hover {
  color: #4b5563; /* text-gray-600 */
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.sm\:px-6 {
  /* Only for reference, handled by .container above */
}

.lg\:px-8 {
  /* Only for reference, handled by .container above */
}

.dashboard-new-submission-btn {
  background-color: #009ce5;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.dashboard-new-submission-btn:hover {
  background-color: #0082be;
}

.modern-table-loading-overlay {
  background: rgba(236, 236, 236, 0.39);
  /* Matches previous inline style */
}

.modern-table-spinner {
  background: transparent;
  /* Matches previous inline style */
}
