:root {
    --primary-color: green;
    --secondary-color: #2d3e50;
    --light-gray: #f7f7f7;
}

body {
    font-family: 'Inter', sans-serif;
}

html, body {
    max-width: 100%;
}

/* Drop or Upload */

#file-input {
  width: 350px;
  max-width: 100%;
  color: #444;
  padding: 2px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(8, 8, 8, 0.288);
}

#file-input::file-selector-button {
  margin-right: 20px;
  border-color: var(--primary-color);
  background: white;
  padding: 10px 20px;
  border-radius: 10px;
  color: var(--primary-color);
  cursor: pointer;
  transition: background .2s ease-in-out;
}

#file-input::file-selector-button:hover {
  background: var(--primary-color);
  color: white;
}

.background-section {
    background-image: url('/assets/img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* opsional kalau mau efek parallax ringan */
    min-height: 400px; /* bisa diatur sesuai kebutuhan konten */
    /* color: white; supaya teks di atas background lebih jelas */
}

.active-nav {
    color: var(--primary-color) !important;
    font-weight: bold;
}
  
.navbar-custom {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050; /* lebih tinggi dari content biasa */
    position: sticky;
    top: 0;
}

#typed-text {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: bolder;
}
@media (max-width: 991.98px) {
    .typed-cursor {
      display: none !important;
    }
  }

.transition-wrapper {
  overflow: hidden;
  transition: max-height 0.7s ease, opacity 0.7s ease;
  max-height: 1000px;
  opacity: 1;
}

.transition-wrapper.hide {
  max-height: 0;
  opacity: 0;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 6px;
    padding: 8px 20px;
}

.btn-primary-custom:hover {
    background-color: yellowgreen;
    border-color: yellowgreen;
}

.btn-outline-custom {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 6px;
    padding: 8px 20px;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-section {
    /* background-color: #fff; */
    padding: 40px 0 40px;
}

.search-box {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 30px;
    background-color: white;
}

.company-logo {
    max-height: 60px;
    object-fit: contain;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* padding: 8px; */
    box-shadow: 0 0 4px rgba(0,0,0,0.05);
  }  

.category-card {
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.job-card {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.badge-custom {
    background-color: #f0f2f5;
    color: #333;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.75rem;
    margin-right: 5px;
}

.modal-body ul li {
    margin-bottom: 5px;
    line-height: 1.6;
}

.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 0;
}

.footer a {
    color: #b1b1b1;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    font-weight: 600;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.featured-companies img {
    max-width: 120px;
    max-height: 60px;
    filter: grayscale(75%);
    opacity: 0.75;
    transition: all 0.3s;
}

.featured-companies img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Signup Page Styles */
.signup-wrapper {
    min-height: 100vh;
    /* background-color: var(--light-gray); */
    /* padding: 80px 0 40px; */
}

.signup-container {
    max-width: 450px;
    width: 100%;
}

.signup-title {
    color: var(--secondary-color);
}

.signup-login-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.signup-login-link a:hover {
    text-decoration: underline;
}

/* Login Page Styles */
.login-wrapper {
    min-height: 100vh;
    /* background-color: var(--light-gray); */
    /* padding: 40px 0 40px; */
}

.login-container {
    max-width: 400px;
    width: 100%;
}

.login-title {
    color: var(--secondary-color);
}

.login-register-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-register-link a:hover {
    text-decoration: underline;
}

/* Loader styles */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--primary-color);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1.5s linear infinite;
}

/* Scroll Progress */
#scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
}

#scroll-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    transition: width 0.1s linear;
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

#backToTop:hover {
    background-color: green;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* @media (max-width: 767.98px) {
  #searchForm .input-group {
    flex-direction: column;
  }
  #searchForm input,
  #searchForm button {
    width: 100%;
    margin-top: 8px;
  }
} */

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    .job-card {
        font-size: 0.9rem;
    }
    .salary {
        font-size: 1rem;
    }
}

