#loading-screen {
    opacity: 1;
    transition: opacity 0.5s ease;
}
  
  #loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}
  

:root {
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
}


/* === Base Styles === */
body {
  margin: 0;
  background-image: url(../images/background.png);
  background-attachment: fixed;
  position: relative; /* Added for proper stacking context */
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  backdrop-filter: blur(10px);
  z-index: -1; 
}

/* Add this new pseudo-element for the dim effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(71, 71, 71, 0.13); /* Adjust the alpha value (0.5) for darkness level */
  z-index: -1;
}

.filter-sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    width: 250px;
    background-color: #ffffff;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    transition: left 0.3s ease-in-out;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.filter-sidebar .sidebar-footer {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    font-size: 14px;
}

.filter-sidebar .list-group-item {
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    }

.filter-sidebar .list-group-item:hover {
    background-color: #f1f1f1;
    }
.navbar-toggler {
    border: none;
    }
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.burger-btn {
    border: none;
    background: none;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease-in-out;
}
  
.burger-btn:hover {
    background-color: #999999;
    cursor: pointer;
}

/* User Navigation Container */
.d-flex.gap-2.align-items-center {
    gap: 1rem !important; /* Increased gap for better spacing */
    position: relative;
    z-index: 1000;
  }
  
  /* Post Job Button - Enhanced */
  .btn.post-job-btn {
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
  }
  
  .btn.post-job-btn:hover {
    background-color: #1b5e20;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
    color: white;
  }
  
  .btn.post-job-btn:active {
    transform: translateY(0);
  }
  
  /* User Dropdown - Modern Styling */
  .btn.user-dropdown-btn {
    border: 1px solid rgba(46, 125, 50, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: white;
    color: #333;
  }
  
  .btn.user-dropdown-btn:hover {
    background-color: #00b7ff;
    border-color: #00b7ff;
  }
  
  .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #1100ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
  }
  
  /* Dropdown Menu - Modern */
  .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 200px;
  }
  
  .dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 0.15rem 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .dropdown-item:hover {
    background-color: #f0fff4;
    color: #2e7d32;
  }
  
  .dropdown-divider {
    border-color: rgba(46, 125, 50, 0.1);
  }
  
  /* Login/Signup Buttons - Mobile */
  .d-md-none .btn {
    border-radius: 8px;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }
  
  .d-md-none .btn-outline-primary {
    color: #00b7ff;
  }
  
  .d-md-none .btn-outline-primary:hover {
    background-color: #00b7ff;
  }
  
  .d-md-none .btn-primary {
    background-color: #0011ff2c;
    border-color: #0804ff;
  }
  
  .d-md-none .btn-primary:hover {
    background-color: #00b7ff;
  }
  
  /* Login/Signup Buttons - Desktop */
  .d-none.d-md-flex .btn {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .d-none.d-md-flex .btn-outline-primary {
    border-color: #00b7ff;
    color: rgb(0, 174, 255);
  }
  
  .d-none.d-md-flex .btn-outline-primary:hover {
    background-color: #00b7ff;
    color: white;
  }
  
  .d-none.d-md-flex .btn-primary {
    background-color: #00b7ff;
    border-color:#00b7ff;
  }
  
  .d-none.d-md-flex .btn-primary:hover {
    background-color: #00d9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(46, 125, 50, 0.2);
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .d-flex.gap-2.align-items-center {
        gap: 0.75rem !important;
    }
    
    .btn.post-job-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn.user-dropdown-btn {
        padding: 0.5rem 0.75rem;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
  }
  
.job-portal-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
.job-portal-logo{
    gap: 10px;
    display: flex;
    align-items: center;
}

#logo{
    border-radius: 50px;
}


.auth-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-sidebar {
    background-color: var(--secondary);
    color: white;
    padding: 40px 30px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E") repeat;
    opacity: 0.2;
}

.auth-content {
    padding: 40px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
    border-color: var(--primary);
}

.nav-tabs {
    border-bottom: 1px solid var(--border-color);
}

.nav-tabs .nav-link {
    border: none;
    color: #64748b;
    font-weight: 500;
    padding: 12px 20px;
    margin-right: 10px;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background-color: transparent;
}

.disabled-btn {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}


.nav-tabs .nav-link:hover:not(.active) {
    border-bottom: 2px solid #cbd5e1;
}

.tab-content {
    padding-top: 30px;
}

.form-label {
    font-weight: 500;
    color: #334155;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

.auth-divider span {
    position: relative;
    background-color: white;
    padding: 0 15px;
    color: #64748b;
}



.social-btn {
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
}

.social-btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.social-btn i {
    margin-right: 10px;
    font-size: 18px;
}



.features-list {
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.features-list li i {
    margin-right: 10px;
    color: #22c55e;
}

.job-portal-logo {
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.job-portal-logo i {
    margin-right: 10px;
    color: #38bdf8;
}

.password-toggle {
    position: relative;
}

.password-toggle .toggle-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* === Responsive Grid === */
@media (max-width: 992px) {
    .job-cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .job-cards {
      grid-template-columns: 1fr;
    }
  
    .right-section {
      display: none;
    }
  
    .burger {
      display: flex;
    }
  }

  .user-type-selector {
    display: flex;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.user-type-option {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.user-type-option.active {
    background-color: blue;
    color: white;
}

.user-type-option:not(.active) {
    background-color: #f8fafc;
    color: #64748b;
}

.user-type-option:not(.active):hover {
    background-color: #f1f5f9;
}