@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Epilogue:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary-color: #ff0505;
  --secondary-color: #6c757d;
  --light-bg: #f8f9fa;
  --dark-bg: #2c3e50;
  --sidebar-bg: #34495e;
  --font-heading: 'Epilogue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

body {
  font-family: var(--font-body) !important;
  background-color: #f9fafb !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}
ul li {
  list-style-type: none;
}

ul {
  margin-bottom: 0 !important;
}

ol,
ul {
  padding-left: 0 !important;
}

a {
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
  cursor: pointer;
}

p {
  color: #6d6d6d;
  font-size: 16px;
  line-height: 29px;
  font-weight: 400;
}

img {
  max-width: 100%;
  width: 100%;
}

button:focus {
  outline: none;
}

button {
  border: none;
}

.ptb-50 {
  padding: 50px 0;
}

.pt-50 {
  padding-top: 50px;
}

.pb-50 {
  padding-bottom: 50px;
}

.mt-50 {
  margin-top: 50px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mtb-50 {
  margin: 50px 0;
}

.title {
  padding-bottom: 30px;
}

.title h2 {
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: 600;
}
.title.text-center {
  margin: auto;
}


/* ----------------Custom css ------------------- */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* Home page css */
.navbar-brand img {
  max-width: 200px;
  max-height: 60px;
}

.btn-login {
  background-color: var(--primary-color);
  border: none;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
}

.btn-employer {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.btn-employer:hover {
  background-color: var(--primary-color);
  color: white;
}

.filter-sidebar {
    background: var(--sidebar-bg);
    color: #fff;
    padding: 1rem;
    border-radius: 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    width: 350px;
    height: calc(100vh - 70px);
    position: fixed;
    left: 0;
    overflow-y: auto;
    z-index: 1020;
    transition: transform 0.3s ease;
}
.filter-right{
  margin-left: 350px;
}
.filter-sidebar .accordion-item, .filter-sidebar .accordion-item .accordion-button {
    background-color: transparent !important;
    color: #fff;
}
.filter-sidebar .accordion-item .accordion-button:focus{
  box-shadow: none;
}
.filter-sidebar .accordion-item .accordion-button:after{
  filter: invert(1);
}

.accordion-button {
  background-color: white !important;
  color: #333;
  font-weight: 500;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: white;
  color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: none;
}
.job-card-iteam{
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  background-color: white;
  transition: all 0.3s ease;
}
.job-card .job-card-iteam:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}
.job-listings .job-card-iteam .feature-iteam {
    width: calc(100% - 58px);
}
.job-title {
  color: #333;
  font-weight: 600;
  margin-bottom: 5px;
}

.company-name {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.job-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.job-meta i {
  margin-right: 5px;
}

.job-tags {
  display: flex;
  gap: 10px;
}

.tag {
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tag-fulltime {
  background-color: #d4edda;
  color: #155724;
}

.tag-date {
  background-color: #f8d7da;
  color: #721c24;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.view-toggle {
  border: 1px solid #dee2e6;
  border-radius: 4px;
  overflow: hidden;
}

.view-toggle button {
  border: none;
  background-color: white;
  color: var(--secondary-color);
  padding: 8px 12px;
}

.view-toggle button.active {
  background-color: var(--primary-color);
  color: white;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-option {
  margin-bottom: 8px;
}

.filter-option input[type="checkbox"] {
  margin-right: 8px;
}

.filter-count {
  color: var(--secondary-color);
  font-size: 0.8rem;
  margin-left: auto;
}

.age-range-slider {
  margin: 15px 0;
}

.keyword-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.keyword-tag {
  background-color: #e9ecef;
  border: none;
  border-radius: 15px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: #666;
}

.keyword-tag.active {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.grid-view .job-card {
  display: flex;
  flex-direction: column;
}

.grid-view .job-description {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar {
  width: 50px;
  height: 50px;
  background-color: #e9ecef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-right: 15px;
}

/* ==================Login Page css =================== */

.login-container {
  min-height: 100vh;
  display: flex;
}

.left-section {
  flex: 1;
  background: url('../images/download-new.png') center/cover no-repeat;
  position: relative;
  min-height: 100vh;
}

.left-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%);
}

.right-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: white;
  background-position: left top, right bottom;
  background-repeat: no-repeat;
  background-image: 
      radial-gradient(265.34% 118.59% at 13.13% 70.6%, #0000000d 0%, #ff05051a 100%),
      radial-gradient(68.19% 98.23% at 85.31% 85.31%, #0dccf21a 40%, #ffffff 100%),
      radial-gradient(1898.59% 1872.82% at 68.48% 1.39%, #ffffff 0%, rgb(255 255 255) 100%);
  position: relative;
  background-image: url(../images/login-shape1.svg), url(../images/login-shape2.svg), radial-gradient(265.34% 118.59% at 13.13% 70.6%, #0000000d 0%, #ff05051a 100%), radial-gradient(68.19% 98.23% at 85.31% 93.52%, #0dccf21a 40%, #ffffff 100%), radial-gradient(1898.59% 1872.82% at 68.48% 1.39%, #ffffff 0%, #ffffff 100%);
}

.login-form-container {
  width: 100%;
  max-width: 600px;
}

.logo-section {
  margin-bottom: 20px;
}

.logo-section img {
  max-width: 150px;
  height: auto;
}

.welcome-text {
  color: #1f2937;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.subtitle {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 20px;
}

.form-label {
  display: block;
  color: #374151;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
}

.required-asterisk {
  color: var(--primary-color);
  margin-left: 2px;
}

.form-control, .form-select {
  padding: 12px 16px !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  background-color: #f9fafb !important;
}
.form-select{
  padding-right: 36px !important;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  background-color: white;
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  padding: 4px;
}

.password-toggle:hover {
  color: #374151;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.remember-me {
  display: flex;
  align-items: center;
  color: #374151;
  font-size: 14px;
}

.remember-me input {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.forgot-password:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.submit-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.submit-btn:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.create-account {
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
}

.create-account a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.create-account a:hover {
  text-decoration: underline;
}

/* Terms and conditions styling (for register page) */
.terms-agreement {
  margin-bottom: 25px;
  font-size: 14px;
  color: #374151;
  text-align: center;
}

.terms-agreement a {
  color: var(--primary-color);
  text-decoration: none;
}

.terms-agreement a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .login-container {
      flex-direction: column;
  }
  
  .left-section {
      min-height: 200px;
      flex: none;
  }
  
  .right-section {
      padding: 20px;
  }
  
  .welcome-text {
      font-size: 24px;
  }
  
  .form-row {
      flex-direction: column;
      gap: 0;
  }
}

@media (max-width: 576px) {
  .login-form-container {
      max-width: 100%;
  }
  
  .right-section {
      padding: 15px;
  }
}

/* =========================User Dashboard ============================ */
/* Header */
.header {
  background-color: white;
  position: fixed;
  padding-top: 5px;
  padding-bottom: 5px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}
.user-dropdown {
  position: relative;
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.dropdown-menu {
  min-width: 180px;
}

.dropdown-item {
  padding: 8px 16px;
  font-size: 14px;
}

.dropdown-item i {
  width: 16px;
  margin-right: 8px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--secondary-color);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 70px;
  left: 0;
  width: 250px;
  height: calc(100vh - 70px);
  background-color: var(--sidebar-bg);
  padding: 20px 0;
  overflow-y: auto;
  z-index: 1020;
  transition: transform 0.3s ease;
}

.sidebar-section {
  margin-bottom: 25px;
}

.sidebar-title {
  color: #bdc3c7;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 20px 10px;
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu li {
  margin: 0;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #ecf0f1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.sidebar-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.sidebar-menu a.active {
  background-color: var(--primary-color);
  color: white;
}

.sidebar-menu a i {
  width: 20px;
  margin-right: 12px;
  font-size: 16px;
}

/* Main Content */
.main-content {
  margin-left: 250px;
  margin-top: 70px;
  padding: 30px;
  /* min-height: calc(100vh - 70px); */
}

.content-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

.all-jobs-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.all-jobs-link:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

/* Job Cards */
.job-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.job-cards-container .job-card {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #eee;
}
.job-card {
  transition: all 0.3s ease;
  /* position: relative; */
}

.job-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.job-type-badge {
  background-color: #e8f5e8;
  color: #2d7738;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
}

.job-avatar {
  width: 50px;
  height: 50px;
  background-color: #e9ecef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 20px;
  margin-bottom: 15px;
}

.job-company {
  color: var(--secondary-color);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.job-title {
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--secondary-color);
}

.job-meta span {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.tag { display:inline-block; padding:4px 8px; border-radius:4px; background:#eef2ff; color:#3730a3; margin-right:6px; font-size:0.85rem; }
.job-meta i {
  font-size: 11px;
}

.apply-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.apply-btn:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
      display: block;
  }

  .sidebar, .filter-sidebar {
      transform: translateX(-100%);
  }

  .sidebar.active, .filter-sidebar.active {
      transform: translateX(0);
  }

  .main-content, .filter-right {
      margin-left: 0;
  }

  .job-cards-container {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .main-content {
      padding: 20px 15px;
  }

  /* .header {
      padding: 15px;
  } */
}

/* Sidebar overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1010;
}

.sidebar-overlay.active {
  display: block;
}

/* 15-11-25 */
.job-listings .job-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.job-listings.row .job-details {
    display: block;
}


/*===========================Responsive Start==========================*/
@media (min-width: 1700px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1500px !important;
    }
}
@media only screen and (min-width: 1400px) {}

@media only screen and (max-width: 1439px) {}

@media only screen and (max-width: 1199px) {}

@media only screen and (max-width: 1024px) {}
@media only screen and (max-width: 991px) {
 
}
@media only screen and (max-width: 991px) {
 
}

@media only screen and (max-width: 767px) {

  .ptb-100 {
    padding: 60px 0;
  }

  .pt-100 {
    padding-top: 60px;
  }

  .pb-100 {
    padding-bottom: 60px;
  }

  .mt-100 {
    margin-top: 60px;
  }

  .mb-100 {
    margin-bottom: 60px;
  }

  .mtb-100 {
    margin: 60px 0;
  }
}

@media only screen and (max-width: 575px) {
  
}

@media only screen and (max-width: 425px) {}