:root {
  --primary-dark: #1b1b1b;
  --primary-gold: #aa9050;
  --light-gold: #d4c091;
  --neutral-light: #f8f9fa;
  --neutral-medium: #dee2e6;
  --text-light: #ffffff;
  --font-primary: 'Poppins', sans-serif;
}

body {
  background-color: var(--primary-dark);
  padding: 20px;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
}

.job-card {
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--neutral-medium);
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  animation: fadeInUp 0.5s ease both;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(170, 144, 80, 0.3);
  border-color: var(--primary-gold);
}

.job-card:not(:last-child) {
  border-bottom: 2px solid var(--neutral-medium);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.company-logo {
  width: 70px;
  height: 70px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary-gold);
  font-weight: bold;
  transition: all 0.3s ease;
}

.spaced-logo {
  margin-right: 2rem;
  padding-right: 1rem;
}

.job-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.job-card:hover .job-title {
  color: var(--primary-gold);
}

.category-tag {
  color: #6c757d;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.job-card:hover .category-tag {
  color: var(--primary-dark);
}

.job-description {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.job-requirements h6 {
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.job-requirements ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  color: #6c757d;
  font-size: 0.9rem;
}

.job-date {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.job-badge {
  background-color: #e8e4e4;
  color: var(--primary-dark);
  font-weight: normal;
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--primary-dark);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.job-badge:hover {
  background-color: var(--primary-gold);
  color: var(--primary-dark);
}

.action-buttons {
  margin-top: 20px;
  display: none;
  opacity: 0;
  transition: all 0.5s ease;
}

.job-card:hover .action-buttons {
  display: flex;
  opacity: 1;
}

.btn-apply {
  background-color: var(--primary-gold);
  color: var(--text-light);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: bold;
  border: 1px solid var(--primary-gold);
  transition: all 0.3s ease;
}

.btn-apply:hover {
  background-color: var(--neutral-light);
  color: var(--primary-dark);
  transform: scale(1.05);
}

.heart-icon {
  cursor: pointer;
  color: var(--primary-gold);
  opacity: 0.7;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.heart-icon.active {
  opacity: 1;
  transform: scale(1.2);
  color: #da3030;
  text-shadow: 0 0 10px rgba(170, 144, 80, 0.5);
}

.tooltip-custom {
  display: none;
  position: absolute;
  background-color: var(--primary-dark);
  color: var(--primary-gold);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  z-index: 100;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  border: 1px solid var(--primary-gold);
}

.tooltip-wrapper {
  position: relative;
}

.tooltip-wrapper:hover .tooltip-custom {
  display: block;
}

.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-dark);
  color: var(--primary-gold);
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
  border: 1px solid var(--primary-gold);
  font-size: 0.85rem;
}

@media (max-width: 576px) {
  .modal-dialog {
    margin: 1rem auto;
    width: 95%;
  }

  .btn-apply {
    width: 100%;
  }
}

.modal-content {
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  border: none;
}

.modal-header {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border-bottom: 1px solid var(--primary-gold);
  padding: 1.2rem 1.5rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.modal-title {
  font-weight: bold;
  font-size: 1.25rem;
}

.modal-footer {
  background-color: #f9f9f9;
  border-top: 1px solid var(--neutral-medium);
  padding: 1rem 1.5rem;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.modal-body > .form-floating {
  margin-bottom: 1.25rem;
}

.file-upload-wrapper {
  border: 2px dashed var(--primary-gold);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.file-upload-wrapper.dragover {
  background-color: rgba(170, 144, 80, 0.05);
  border-color: var(--primary-dark);
}

.file-upload-input {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 10;
}

.file-upload-content {
  z-index: 1;
  position: relative;
}

.file-upload-icon {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.file-upload-text {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.file-upload-subtext {
  font-size: 0.85rem;
  color: #666;
}

.file-selected {
  margin-top: 10px;
  color: var(--primary-gold);
  font-size: 0.95rem;
  display: none;
}

.file-selected i {
  margin-right: 6px;
  color: var(--primary-gold);
}


.toast-custom {
  animation: fadeIn 0.3s ease, fadeOut 0.3s ease 3.7s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}