.browse-job {
  width: fit-content;
  padding: 15px 25px;
}

#career-hero {
  background-color: #fbf8f1;
  min-height: calc(100vh - 64px);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.h-100 {
  height: 100%;
}
.hero-red {
  color: #d1000a;
  text-transform: uppercase;
  font-weight: bolder;
  font-size: large;
}


#benefits {
  background-color: #FAFAFA;
}

.benefits-box {
  border-bottom: 1px dashed #5c5c5c;
  margin-bottom: 2rem;
}

.job-title {
  color: #d1000a;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.job-title-date{
  color: #5c5c5c;
  font-size: small;
  font-weight: 400;
  padding-bottom: 1rem;
}

#jd-create-date-text{
  
}

.job-location,
.job-salary {
  margin-bottom: 0.5rem;
}

.job-shortdesc {
  margin-bottom: 0px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-circle {
  width: 40px; /* hoặc 2.5rem */
  height: 40px;
  border-radius: 50%; /* tạo hình tròn */
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d1000a;
  color: #fbf8f1;
}
.icon-circle:hover {
  background-color: #d1000a;
  color: #fbf8f1;
}

.job-box {
  border: 1px solid #d9d9d9;
  padding: 2.25rem;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
}

.job-box:hover {
  background-color: #fff9f9;
  transition: all 0.3s ease-in-out;
}

.job-card {
  color: #333;
}

.job-tag {
  background-color: #ffeeee;
  color: #cf6363;
  border-radius: 3px;
  cursor: pointer;
}

.search-box {
  height: 50px;
}

.red-btn:hover {
  background-color: #b90009;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.skeleton {
  background: #eee;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: 150px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #f5f5f5 50%,
    transparent 100%
  );
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.skeleton-title {
  height: 20px;
  width: 60%;
  margin-bottom: 10px;
}

.skeleton-line {
  height: 14px;
  width: 90%;
  margin-bottom: 8px;
}

.skeleton-badge {
  display: inline-block;
  height: 20px;
  width: 50px;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* DETAIL PAGE */

#job-title {
  background-color: #fbf8f1;
}

#job-info .job-info-title {
  font-size: 1.3rem;
  color: #d1000a;
  font-weight: 700;
}

#job-info .job-info-text {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-left: 1.25rem;
}

#applyModal label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.loading {
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  position: fixed;
  z-index: 9999;
  top: 0;
  width: 100%;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo animation */
.pasona-full-logo {
  /*width: 200px;*/
  height: auto;
  animation: subtlePulseAndFadeIn 1.5s ease-in-out forwards;
}

@keyframes subtlePulseAndFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.rgb-progress-bar {
  width: 0; /* Bắt đầu với width = 0 */
  height: 4px;
  margin-top: 20px;
  border-radius: 2px;
  opacity: 0;

  /* Gradient cho hiệu ứng màu chạy */
  background-image: linear-gradient(
    to left,
    #d92d36 0%,
    #b90009 25%,
    #d92d36 50%,
    #b90009 75%,
    #d92d36 100%
  );
  background-size: 200% 100%; /* QUAN TRỌNG: Đổi thành 200% */

  animation-name: progressBarAppear, rgbLedFlow;
  animation-duration: .5s, 1.5s;
  animation-delay: 1s, 1.5s;
  animation-timing-function: ease-out, linear;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
}

@keyframes progressBarAppear {
  to {
    width: 150px;
    opacity: 1;
  }
}

@keyframes rgbLedFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@media screen and (max-width: 768px) {
  .job-title{
    flex-direction: column;
  }
}
