/* Keep only unique styles for document library page here. */

/* Badge and Status Styles from supportDocs.html */
/* Document type badges */
.doc-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 16px;
  font-size: 10px !important;
  font-weight: 500;
  margin-right: 8px;
}

.doc-type-policy {
  background-color: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: #0891b2;
}

.doc-type-procedure {
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #0284c7;
}

.doc-type-form {
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #4f46e5;
}

.doc-type-report {
  background-color: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: #ef4444;
}

.doc-type-record {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #16a34a;
}

.doc-type-manual {
  background-color: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: #ea580c;
}

.doc-type-plan {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #d97706;
}

.doc-type-other {
  background-color: rgba(161, 161, 170, 0.1);
  border: 1px solid rgba(161, 161, 170, 0.2);
  color: #71717a;
}

/* Status indicators */
.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.status-current {
  background-color: #38a169;
}

.status-expired {
  background-color: #e53e3e;
}

.status-draft {
  background-color: #f6961d;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 16px;
  font-size: 10px !important;
  font-weight: 500;
}

.status-badge-active {
  background-color: rgba(56, 161, 105, 0.1);
  border: 1px solid rgba(56, 161, 105, 0.2);
  color: #38a169;
}

.status-badge-decommissioned {
  background-color: rgba(229, 62, 62, 0.1);
  border: 1px solid rgba(229, 62, 62, 0.2);
  color: #e53e3e;
}

.status-badge-inactive {
  background-color: rgba(246, 150, 29, 0.1);
  border: 1px solid rgba(246, 150, 29, 0.2);
  color: #f6961d;
}
.mobile-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.mobile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.mobile-card-id {
  font-weight: 600;
  color: #374151;
}

.mobile-card-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mobile-card-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.mobile-card-frameworks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.header-row {
  width: 100%;
}

@media (max-width: 767px) {
  .filters-row {
    gap: 0.5rem;
  }
  .filter-pills {
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .mobile-filter-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
  }

  .header-row {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }
  .header-row .flex-wrap {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  .search-bar {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .filters-row {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .filter-pills {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
}


/* Modal styles */
.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

/* Toast notification styles */
.toast {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 1rem;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-description {
  font-size: 0.875rem;
  color: #6b7280;
}