/* ===== Central Badge Color Configuration ===== */
/* All badge colors are defined here for consistent styling across the application */
/* Update these colors in one place and they will be applied everywhere */

/* CSS Custom Properties for consistent colors */
:root {
  --color-delete: #dc3545;
  --color-category: #198754;
  --color-tag: #6c757d;
  --color-coverage: #44407a;
}

/* Delete/Danger Buttons - Red #dc3545 */
.btn-delete {
  background-color: var(--color-delete) !important;
  color: white !important;
  border-color: var(--color-delete) !important;
}

.btn-delete:hover,
.btn-delete:focus,
.btn-delete:active {
  background-color: #c82333 !important;
  border-color: #bd2130 !important;
  color: white !important;
}

.btn-delete:disabled {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
}

.btn-delete.btn-outline-delete {
  color: var(--color-delete) !important;
  border-color: var(--color-delete) !important;
}

.btn-delete.btn-outline-delete:hover {
  background-color: var(--color-delete) !important;
  color: white !important;
}

/* Category Badges - Green #198754 */
.badge-category {
  background-color: var(--color-category) !important;
  color: white !important;
}

.badge-category.badge-soft {
  background-color: rgba(25, 135, 84, 0.1) !important;
  color: var(--color-category) !important;
}

/* Tag/Schlagwort Badges - Gray #6c757d */
.badge-tag {
  background-color: var(--color-tag) !important;
  color: white !important;
}

.badge-tag.badge-soft {
  background-color: rgba(108, 117, 125, 0.1) !important;
  color: var(--color-tag) !important;
}

/* Coverage Badges - Dark Blue/Purple #44407a */
.badge-coverage {
  background-color: var(--color-coverage) !important;
  color: white !important;
}

.badge-coverage.badge-soft {
  background-color: rgba(68, 64, 122, 0.1) !important;
  color: var(--color-coverage) !important;
}

/* Status badges - for reference */
.badge-status-open {
  background-color: #198754 !important; /* Green */
  color: white !important;
}

.badge-status-closed {
  background-color: #6c757d !important; /* Gray */
  color: white !important;
}

.badge-status-rejected {
  background-color: #dc3545 !important; /* Red */
  color: white !important;
}

.badge-status-accepted {
  background-color: #198754 !important; /* Green */
  color: white !important;
}

/* Info/Neutral badges for reference only */
.badge-info-neutral {
  background-color: #0d6efd !important; /* Blue */
  color: white !important;
}

/* ===== Tender List Action Buttons ===== */

/* Edit Button - Purple #33669 */
.btn-tender-edit {
  border: 1px solid var(--primary) !important;
  color: var(--primary) !important;
  background-color: white !important;
}

.btn-tender-edit:hover,
.btn-tender-edit:focus,
.btn-tender-edit:active {
  background-color: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
}

.btn-tender-edit:disabled {
  border-color: #6c757d !important;
  color: #6c757d !important;
}

/* Applicants Button - Green #198754 */
.btn-tender-applicants {
  border: 1px solid #198754 !important;
  color: #198754 !important;
  background-color: white !important;
}

.btn-tender-applicants:hover,
.btn-tender-applicants:focus,
.btn-tender-applicants:active {
  background-color: #198754 !important;
  color: white !important;
  border-color: #198754 !important;
}

.btn-tender-applicants:disabled {
  border-color: #6c757d !important;
  color: #6c757d !important;
}

/* Close Button - Gray #6c757d */
.btn-tender-close {
  border: 1px solid #6c757d !important;
  color: #6c757d !important;
  background-color: white !important;
}

.btn-tender-close:hover,
.btn-tender-close:focus,
.btn-tender-close:active {
  background-color: #6c757d !important;
  color: white !important;
  border-color: #6c757d !important;
}

.btn-tender-close:disabled {
  border-color: #6c757d !important;
  color: #6c757d !important;
}

/* ===== Applicants List Action Buttons ===== */

/* Profil Button  */
.btn-applicant-profile {
  background-color: white !important;
  color: var(--primary) !important;
  border-color: var(--primary) !important;
  border: 1px solid var(--primary) !important;
}

.btn-applicant-profile:hover,
.btn-applicant-profile:focus,
.btn-applicant-profile:active {
  background-color: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
}

.btn-applicant-profile:disabled {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: white !important;
}

/* Kontaktieren Button - Green #198754 */
.btn-applicant-contact {
  background-color: white !important;
  color: #198754 !important;
  border-color: #198754 !important;
  border: 1px solid #198754 !important;
}

.btn-applicant-contact:hover,
.btn-applicant-contact:focus,
.btn-applicant-contact:active {
  background-color: #198754 !important;
  color: white !important;
  border-color: #198754 !important;
}

.btn-applicant-contact:disabled {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: white !important;
}

/* Termin Button - Dark Blue #44407a */
.btn-applicant-meeting {
  background-color: white !important;
  color: #44407a !important;
  border-color: #44407a !important;
  border: 1px solid #44407a !important;
}

.btn-applicant-meeting:hover,
.btn-applicant-meeting:focus,
.btn-applicant-meeting:active {
  background-color: #44407a !important;
  color: white !important;
  border-color: #44407a !important;
}

.btn-applicant-meeting:disabled {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: white !important;
}

/* Status Badges for Applicants */
.badge.badge-status-interested {
  background-color: #ffc107 !important;
  color: black !important;
}

.badge.badge-status-contacted {
  background-color: #198754 !important;
  color: white !important;
}

.badge.badge-status-accepted {
  background-color: #198754 !important;
  color: white !important;
}

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

