/* ===========================
   GLOBAL RESET + BASICS
=========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #1a1b1f;
  color: #f0f2f5;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #6ec1e4;
}
a:hover {
  color: #98e1ff;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}


body.light-mode .hero-section {
  background: linear-gradient(135deg, #ffffff, #f3f4f6);
}

body.light-mode .hero-section h1 {
  color: #3b82f6;
}
body.light-mode .hero-section p {
  color: #4b5563;
}

body.light-mode .feature-card,
body.light-mode .form-container,
body.light-mode .profile-container,
body.light-mode .job-card {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

body.light-mode input,
body.light-mode select,
body.light-mode textarea {
  background: #f3f4f6;
  color: #1a1b1f;
}

body.light-mode .alert-success {
  background: #3b82f6;
  color: #ffffff;
}

body.light-mode .resume-link {
  color: #3b82f6;
}
.alert-success {
  background: #6ec1e4;
  color: #1a1b1f;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}












/* ===========================
   ENHANCED HERO SECTION
=========================== */
.hero-section {
  text-align: center;
  padding: 80px 20px;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #0a192f 0%, #1a2a40 50%, #2a3c5a 100%);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease;
  padding-bottom: 30px;
}

/* Animated background particles effect */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(110, 193, 228, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 126, 95, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(110, 193, 228, 0.05) 0%, transparent 50%);
  animation: floatingBg 20s ease-in-out infinite;
  pointer-events: none;
}

.hero-section h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #6ec1e4;
  text-shadow: 0 4px 20px rgba(110, 193, 228, 0.3);
  animation: slideInWithGlow 1.2s ease;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.hero-section p {
  font-size: 1.25rem;
  color: #e2e8f0;
  max-width: 650px;
  margin: 20px auto;
  animation: slideInDelayed 1.4s ease;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.95;
  position: relative;
  z-index: 2;
}

/* Enhanced responsive breakpoints */
@media (max-width: 1024px) {
  .hero-section {
    padding: 70px 20px;
  }
  .hero-section h1 {
    font-size: 2.4rem;
  }
  .hero-section p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 15px;
    min-height: 35vh;
  }
  .hero-section h1 {
    font-size: 3.0rem;
    line-height: 1.3;
  }
  .hero-section p {
    font-size: 1.15rem;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 50px 15px;
  }
  .hero-section h1 {
    font-size: 1.6rem;
  }
  .hero-section p {
    font-size: 1.05rem;
  }
}

/* ===========================
   ENHANCED BUTTONS
=========================== */
.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  border: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #6ec1e4, #56b3d9);
  color: #1a1b1f;
  box-shadow: 0 6px 25px rgba(110, 193, 228, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(110, 193, 228, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid #6ec1e4;
  color: #6ec1e4;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(110, 193, 228, 0.2);
}

.btn-outline:hover {
  background: rgba(110, 193, 228, 0.1);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(110, 193, 228, 0.3);
}

@media (max-width: 768px) {
  .btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 12px auto;
    padding: 16px 28px;
  }
  
  .btn-share {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 12px auto;
    padding: 16px 28px;
  }
}



.last-updated {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 10px;
  font-style: italic;
}

.no-jobs {
  text-align: center;
  color: #999;
  font-size: 1.1rem;
  margin-top: 20px;
}



/* ===========================
   🔧 ENHANCED JOBS SECTION
=========================== */
.jobs-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.job-card {
  background: linear-gradient(135deg, 
    rgba(110, 193, 228, 0.08) 0%, 
    rgba(255, 255, 255, 0.03) 50%, 
    rgba(110, 193, 228, 0.05) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 193, 228, 0.15);
  border-radius: 12px;
  padding: 24px;
  margin: 0 10px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(110, 193, 228, 0.1) 0%, 
    transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.job-card:hover::before {
  opacity: 1;
}

.job-card h3 {
  color: #6ec1e4;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(110, 193, 228, 0.2);
  transition: all 0.3s ease;
}

.job-card p {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 10px;
}

.job-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(110, 193, 228, 0.2);
  border-color: rgba(110, 193, 228, 0.3);
}

.job-card:hover h3 {
  color: #56b3d9;
  transform: translateX(3px);
}

.job-actions {
  margin-top: 15px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-tip {
  margin-top: 15px;
  font-size: 0.95rem;
  color: #94a3b8;
  text-align: center;
  font-style: italic;
}

.btn-apply,
.btn-save,
.btn-load-more {
  background: linear-gradient(135deg, #6ec1e4 0%, #4b8be1 100%);
  color: white;
  padding: 10px 18px;
  margin: 5px 5px 0 0;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(110, 193, 228, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-apply::before,
.btn-save::before,
.btn-load-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-apply:hover::before,
.btn-save:hover::before,
.btn-load-more:hover::before {
  left: 100%;
}

.btn-apply:hover,
.btn-save:hover,
.btn-load-more:hover {
  background: linear-gradient(135deg, #4b8be1 0%, #6ec1e4 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 193, 228, 0.4);
}

/* ===========================
   ENHANCED JOBS WRAPPER + PANEL
=========================== */
.section-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #6ec1e4;
  text-shadow: 0 2px 15px rgba(110, 193, 228, 0.3);
}

.jobs-wrapper {
  display: flex;
  gap: 25px;
  padding: 30px;
  max-width: 1400px;
  margin: 0 auto;

}

/* LEFT COLUMN: Enhanced Job List */
.job-list-column {
  flex: 1.2;
  
}

.job-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-height: 80vh;
  overflow-y: auto;
  padding-right: 15px;
  
  /* Firefox scrollbar with gradient simulation */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 126, 95, 0.8) transparent; /* Orange color from gradient */
}

/* Webkit scrollbar (Chrome, Safari, Edge) with full gradient */
.job-list::-webkit-scrollbar {
  width: 8px;
}

.job-list::-webkit-scrollbar-track {
  background: transparent;
}

.job-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gradient-orange), var(--gradient-blue));
  border-radius: 4px;
}

.job-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gradient-blue), var(--gradient-orange));
}



/* RIGHT COLUMN: Enhanced Job Detail Panel */
.job-detail-column {
  flex: 1.2;
  background: linear-gradient(135deg, 
    rgba(30, 41, 59, 0.4) 0%, 
    rgba(15, 23, 42, 0.3) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 193, 228, 0.1);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.job-detail-panel h4 {
  margin-bottom: 15px;
  color: #6ec1e4;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(110, 193, 228, 0.2);
}

.job-detail-panel p {
  margin-bottom: 12px;
  color: #e2e8f0;
  line-height: 1.6;
  font-size: 1.05rem;
}

.job-details-inline {
  background: linear-gradient(135deg, 
    rgba(110, 193, 228, 0.08) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(5px);
  padding: 20px;
  margin: 15px 0;
  border-radius: 12px;
  border: 1px solid rgba(110, 193, 228, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced Active Job Card Styling */
.job-card.active {
  border: 2px solid #6ec1e4;
  box-shadow: 
    0 0 25px rgba(110, 193, 228, 0.6),
    0 15px 35px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px) scale(1.02);
}

.job-card.active h3 {
  color: #56b3d9;
}

/* Enhanced Light Mode Styling */
body.light-mode .job-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(248, 250, 252, 0.8) 50%, 
    rgba(255, 255, 255, 0.9) 100%);
  border-color: rgba(203, 213, 225, 0.3);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .job-card::before {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.08) 0%, 
    transparent 50%);
}

body.light-mode .job-card:hover {
  box-shadow: 
    0 20px 35px rgba(0, 0, 0, 0.12),
    0 0 25px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.2);
}

body.light-mode .job-card h3 {
  color: #1e40af;
  text-shadow: 0 2px 6px rgba(30, 64, 175, 0.1);
}

body.light-mode .job-card:hover h3 {
  color: #1d4ed8;
}

body.light-mode .job-card p {
  color: #64748b;
}

body.light-mode .section-heading {
  color: #1e40af;
  text-shadow: 0 2px 10px rgba(30, 64, 175, 0.2);
}

body.light-mode .search-tip {
  color: #64748b;
}

body.light-mode .job-detail-column {
  background: linear-gradient(135deg, 
    rgba(248, 250, 252, 0.9) 0%, 
    rgba(241, 245, 249, 0.8) 100%);
  border-color: rgba(203, 213, 225, 0.3);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .job-detail-panel h4 {
  color: #1e40af;
  text-shadow: 0 2px 6px rgba(30, 64, 175, 0.1);
}

body.light-mode .job-detail-panel p {
  color: #475569;
}

body.light-mode .job-details-inline {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.8) 0%, 
    rgba(248, 250, 252, 0.7) 100%);
  border-color: rgba(203, 213, 225, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .placeholder-message {
  background: rgba(248, 250, 252, 0.9);
  color: #64748b;
}

body.light-mode .job-card.active {
  border-color: #3b82f6;
  box-shadow: 
    0 0 25px rgba(59, 130, 246, 0.4),
    0 15px 35px rgba(0, 0, 0, 0.1);
}

body.light-mode .btn-apply,
body.light-mode .btn-save,
body.light-mode .btn-load-more {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

body.light-mode .btn-apply:hover,
body.light-mode .btn-save:hover,
body.light-mode .btn-load-more:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}



.no-more-jobs {
  text-align: center;
  font-size: 1.05rem;
  margin-top: 25px;
  color: #94a3b8;
  font-style: italic;
}

body.light-mode .no-more-jobs {
  color: #64748b;
}

/* ===========================
   ENHANCED RESPONSIVE DESIGN
=========================== */
@media (max-width: 1024px) {
  .jobs-wrapper {
    padding: 25px 20px;
    gap: 20px;
  }
  
  .section-heading {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .jobs-wrapper {
    flex-direction: column;
    padding: 20px 15px;
  }

  .job-list-column,
  .job-detail-column {
    width: 100%;
  }

  .job-list {
    grid-template-columns: 1fr;
    max-height: none;
    height: auto;
    overflow: visible;
    padding: 15px 0;
    gap: 15px;
  }

  .job-detail-panel {
    display: block;
    width: 100%;
    margin-top: 25px;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .job-detail-column {
    display: none;
  }
  
  .section-heading {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  
  .job-card {
    margin: 0;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .jobs-wrapper {
    padding: 15px 10px;
  }
  
  .job-card {
    padding: 18px;
  }
  
  .job-card h3 {
    font-size: 1.2rem;
  }
  
  .job-actions {
    gap: 8px;
  }
  
  .btn-apply,
  .btn-save,
  .btn-load-more {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

/* Enhanced Job Meta Styling */
.job-meta span { 
  color: #e2e8f0; 
  font-weight: 400;
}

.job-meta b { 
  color: #6ec1e4; 
  font-weight: 600;
}

body.light-mode .job-meta span {
  color: #475569;
}

body.light-mode .job-meta b {
  color: #1e40af;
}

.description-content { 
  line-height: 1.6; 
  color: #cbd5e1; 
  font-size: 1.05rem;
}

body.light-mode .description-content {
  color: #64748b;
}

.apply-btn-wrapper a {
  background: linear-gradient(135deg, #6ec1e4 0%, #4b8be1 100%);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(110, 193, 228, 0.4);
  position: relative;
  overflow: hidden;
}

.apply-btn-wrapper a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.apply-btn-wrapper a:hover::before {
  left: 100%;
}

.apply-btn-wrapper a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(110, 193, 228, 0.5);
}

body.light-mode .apply-btn-wrapper a {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

body.light-mode .apply-btn-wrapper a:hover {
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}












.btn-save-job,
.btn-view-details {
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-save-job {
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  color: white;
}

.btn-save-job:hover {
  background: linear-gradient(90deg, #feb47b, #ff7e5f);
}

.btn-view-details {
  background: linear-gradient(90deg, #6ec1e4, #4b8be1);
  color: white;
}

.btn-view-details:hover {
  background: linear-gradient(90deg, #4b8be1, #6ec1e4);
}



.hidden {
  display: none;
}


/* By default, show */
.desktop-only {
  display: block;
}

/* On mobile, hide */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}



/* ===========================
   📋 ENHANCED PLACEHOLDER MESSAGE SECTION
=========================== */
.placeholder-message {
  background: linear-gradient(135deg, 
    rgba(110, 193, 228, 0.08) 0%, 
    rgba(255, 255, 255, 0.03) 50%, 
    rgba(110, 193, 228, 0.05) 100%);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(110, 193, 228, 0.15);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(110, 193, 228, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
  position: relative;
  height: 80vh;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
}

/* Animated background particles */
.placeholder-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(110, 193, 228, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 126, 95, 0.04) 0%, transparent 50%);
  animation: floatingBg 20s ease-in-out infinite;
  pointer-events: none;
}

.placeholder-message h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #6ec1e4;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(110, 193, 228, 0.2);
  position: relative;
  z-index: 2;
}

.stats-box {
  background: linear-gradient(135deg, 
    rgba(110, 193, 228, 0.1) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(110, 193, 228, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  margin: 15px 0;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.stats-box:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.25),
    0 0 15px rgba(110, 193, 228, 0.15);
  border-color: rgba(110, 193, 228, 0.25);
}

.stats-box p {
  margin: 10px 0;
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.6;
}

.testimonial-carousel {
  margin-top: 25px;
  height: 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.02) 0%, 
    rgba(110, 193, 228, 0.05) 100%);
  border-radius: 10px;
  padding: 15px 20px;
  border: 1px solid rgba(110, 193, 228, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 10px;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.testimonial-card p {
  font-style: italic;
  color: #cbd5e1;
  font-size: 1.05rem;
  margin: 0;
  text-align: center;
}

.hero-icons {
  font-size: 3.2rem;
  margin: 25px 0;
  color: #ff7e5f;
  text-shadow: 0 4px 20px rgba(255, 126, 95, 0.4);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  animation: iconFloat 3s ease-in-out infinite;
  margin-bottom: 3px;
}

.hero-icons:hover {
  transform: scale(1.1) rotateY(10deg);
  color: #ff6b47;
}

hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(110, 193, 228, 0.3) 20%, 
    rgba(110, 193, 228, 0.6) 50%, 
    rgba(110, 193, 228, 0.3) 80%, 
    transparent 100%);
  margin: 25px 0;
  border-radius: 2px;
  position: relative;
  z-index: 2;
}

.fancy-bg {
  background: linear-gradient(135deg, 
    rgba(110, 193, 228, 0.12) 0%, 
    rgba(75, 139, 225, 0.08) 50%, 
    rgba(110, 193, 228, 0.12) 100%);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(110, 193, 228, 0.2);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.fancy-bg:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(110, 193, 228, 0.15);
}





/* Enhanced Brand Highlight */
.brand-highlight {
  color: #6ec1e4;
  font-weight: 700;
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 50%, #ff6b47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(255, 126, 95, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.brand-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  transition: width 0.3s ease;
}

.brand-highlight:hover::after {
  width: 100%;
}

/* Enhanced Light Mode Support */
body.light-mode .placeholder-message {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.9) 50%, 
    rgba(255, 255, 255, 0.95) 100%);
  border-color: rgba(203, 213, 225, 0.3);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.08),
    0 0 25px rgba(59, 130, 246, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .placeholder-message::before {
  background: 
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(239, 68, 68, 0.03) 0%, transparent 50%);
}

body.light-mode .placeholder-message h3 {
  color: #1e40af;
  text-shadow: 0 2px 10px rgba(30, 64, 175, 0.2);
}

body.light-mode .stats-box {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.8) 0%, 
    rgba(248, 250, 252, 0.7) 100%);
  border-color: rgba(203, 213, 225, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

body.light-mode .stats-box:hover {
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

body.light-mode .stats-box p {
  color: #475569;
}

body.light-mode .testimonial-carousel {
  background: linear-gradient(135deg, 
    rgba(248, 250, 252, 0.8) 0%, 
    rgba(241, 245, 249, 0.9) 100%);
  border-color: rgba(203, 213, 225, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .testimonial-card p {
  color: #64748b;
}

body.light-mode .hero-icons {
  color: #dc2626;
  text-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

body.light-mode .hero-icons:hover {
  color: #b91c1c;
}

body.light-mode hr {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.2) 20%, 
    rgba(59, 130, 246, 0.4) 50%, 
    rgba(59, 130, 246, 0.2) 80%, 
    transparent 100%);
}

body.light-mode .fancy-bg {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.08) 0%, 
    rgba(37, 99, 235, 0.05) 50%, 
    rgba(59, 130, 246, 0.08) 100%);
  border-color: rgba(203, 213, 225, 0.3);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .fancy-bg:hover {
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 0 15px rgba(59, 130, 246, 0.1);
}





/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .placeholder-message {
    padding: 30px 20px;
    height: auto;
    min-height: 70vh;
  }
  
  .placeholder-message h3 {
    font-size: 1.8rem;
  }
  
  .stats-box {
    padding: 20px;
    margin: 15px 0;
  }
  
  .stats-box p {
    font-size: 1.05rem;
  }
  
  .hero-icons {
    font-size: 2.8rem;
    margin: 20px 0;
  }
  
  .testimonial-carousel {
    height: 90px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .placeholder-message {
    padding: 25px 15px;
    border-radius: 12px;
  }
  
  .placeholder-message h3 {
    font-size: 1.6rem;
  }
  
  .stats-box {
    padding: 18px;
  }
  
  .stats-box p {
    font-size: 1rem;
  }
  
  .hero-icons {
    font-size: 2.5rem;
  }
  
  .fancy-bg {
    padding: 15px;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.highlight-orange {
  background: linear-gradient(90deg, #ff7e5f, #feb47b); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  font-size: 2.0rem;
}



.section-heading {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: #6ec1e4;
  font-weight: 600;
  text-align: center
  
}

@media (max-width: 768px) {
  .section-heading {
    text-align: center;
    padding-left: 0;
  }
}





/* Job Details Panel & Modal Styling */
#jobDetailContent,
#jobModalContent {
  padding: 2rem;
  color: white;
  background: linear-gradient(135deg, rgba(110, 193, 228, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 10px;
  max-width: 900px;
  margin: auto;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  animation: fadeSlideIn 0.5s ease forwards;
 
}



/* Text and Description Styling */
#jobDetailContent p,
#jobModalContent p {
  font-size: 1.1rem;
  margin: 0.6rem 0;
}

.description-block {
  margin-top: 1.5rem;
}

.description-text {
  background: #f3f4f6; /* Dark background for description */
  padding: 1rem;
  border-radius: 8px;
  color: #2a2a2a;
  white-space: pre-wrap;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.4);
  font-size: 1.1rem;
 
}

/* Sticky Apply Button (Mobile Only) */
.sticky-apply-btn {
  display: none;
}

/* Light Mode Styles */
body.light-mode #jobDetailContent,
body.light-mode #jobModalContent {
  background: #fff; /* Light background for light mode */
  color: #333; /* Dark text for light mode */
}

body.light-mode .description-text {
  background: #f3f4f6; /* Light background for description in light mode */
  color: #333; /* Dark text for description */
}

body.light-mode .sticky-apply-btn {
  background: #f3f4f6; /* Light background for sticky button */
  color: #333; /* Dark text for sticky button */
}

/* ===============================
   Light Mode - Fix all text colors
================================= */
body.light-mode .job-detail-panel,
body.light-mode .placeholder-message,
body.light-mode .placeholder-message p,
body.light-mode .stats-box p,
body.light-mode .testimonial-card,
body.light-mode .hero-icons,
body.light-mode .placeholder-message .testimonial-card.active,
body.light-mode .placeholder-message .testimonial-carousel {
  color: #1a1b1f; /* base text color in light mode */
}

/* Adjust testimonial box background in light mode */
body.light-mode .testimonial-card {
  background-color: #f3f4f6;
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
}

/* Optional: adjust the faded intro text */
body.light-mode .placeholder-message > p:first-of-type {
  color: #555;
}

/* Ensure hr is visible */
body.light-mode .job-detail-panel hr {
  border-color: #ccc;
}

/* Emphasis colors like orange iWork text can stay */
body.light-mode .placeholder-message span {
  color: #ff7e5f;
}

/* Mobile View */
@media (max-width: 768px) {
  #jobDetailContent,
  #jobModalContent {
    padding: 1rem;
    font-size: 1.1rem;
    max-width: 95%;
    border-radius: 8px;
  }

  #jobDetailContent h4,
  #jobModalContent h4 {
    font-size: 1.4rem;
  }

  .description-text {
    font-size: 1.1rem;
    padding: 0.8rem;
    max-height: 200px;
  }

  .sticky-apply-btn {
    position: sticky;
    bottom: 0;
    background: #1e1e1e;
    padding: 1rem;
    text-align: center;
    z-index: 100;
    display: block;
  }
}

/* Modal Animation */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   🎭 ENHANCED JOB MODAL
=========================== */

/* Modal Container (Full Screen) */
.job-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  overflow-y: auto;
  padding: 1.5rem;
  animation: modalBackdropFadeIn 0.4s ease forwards;
  transition: all 0.3s ease;
}

.job-modal.hidden {
  display: none;
  animation: modalBackdropFadeOut 0.3s ease forwards;
}

/* Overlay stays behind modal content */
.job-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 1000;
  background: 
    radial-gradient(circle at 30% 40%, rgba(110, 193, 228, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 126, 95, 0.03) 0%, transparent 50%);
  animation: overlayFloat 20s ease-in-out infinite;
}

/* Enhanced Content Box */
.job-modal-content {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(10, 25, 47, 0.98) 0%, 
    rgba(15, 23, 42, 0.95) 50%, 
    rgba(10, 25, 47, 0.98) 100%);
  backdrop-filter: blur(20px);
  color: #fff;
  padding: 2.5rem;
  max-width: 850px;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(110, 193, 228, 0.2);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(110, 193, 228, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: modalSlideFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  z-index: 1001;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform-origin: center;
}

/* Custom Scrollbar for Modal Content */
.job-modal-content::-webkit-scrollbar {
  width: 8px;
}

.job-modal-content::-webkit-scrollbar-track {
  background: linear-gradient(180deg, var(--gradient-orange), var(--gradient-blue));
  border-radius: 4px;
}

.job-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gradient-orange), var(--gradient-blue));
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(110, 193, 228, 0.3);
}

.job-modal-content::-webkit-scrollbar-thumb:hover {
 background: linear-gradient(180deg, var(--gradient-orange), var(--gradient-blue));
}

/* Enhanced Close Button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1002;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 12px 15px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 6px 20px rgba(239, 68, 68, 0.4),
    0 0 15px rgba(239, 68, 68, 0.2);
  margin: 0;
  position: relative;
  overflow: hidden;
}

.modal-close::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.modal-close:hover::before {
  left: 100%;
}

.modal-close:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(239, 68, 68, 0.5),
    0 0 20px rgba(239, 68, 68, 0.3);
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.modal-close:active {
  transform: translateY(0) scale(0.95);
}

/* Enhanced Apply Button */
.job-modal .btn.btn-primary {
  background: linear-gradient(135deg, #6ec1e4 0%, #4b8be1 50%, #3b82f6 100%);
  color: #ffffff;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 8px 25px rgba(110, 193, 228, 0.4),
    0 0 20px rgba(110, 193, 228, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-modal .btn.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.job-modal .btn.btn-primary:hover::before {
  left: 100%;
}

.job-modal .btn.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 35px rgba(110, 193, 228, 0.5),
    0 0 30px rgba(110, 193, 228, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #4b8be1 0%, #3b82f6 50%, #2563eb 100%);
}

.job-modal .btn.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

/* Enhanced Light Mode Support */
body.light-mode .job-modal {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}

body.light-mode .job-modal-overlay {
  background: 
    radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
}

body.light-mode .job-modal-content {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98) 0%, 
    rgba(248, 250, 252, 0.95) 50%, 
    rgba(255, 255, 255, 0.98) 100%);
  color: #1e293b;
  border-color: rgba(203, 213, 225, 0.3);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 0 40px rgba(59, 130, 246, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}


/* Enhanced Mobile Responsive */
@media (max-width: 768px) {
  .job-modal {
    padding: 1rem;
  }
  
  .job-modal-content {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    max-height: 95vh;
  }
  
  .modal-close {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .job-modal .btn.btn-primary {
    position: sticky;
    bottom: 15px;
    width: 100%;
    margin-top: 1.5rem;
    padding: 18px 24px;
    font-size: 1.05rem;
    border-radius: 12px;
    z-index: 10;
  }
}

@media (max-width: 480px) {
  .job-modal {
    padding: 0.5rem;
  }
  
  .job-modal-content {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }
  
  .modal-close {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .job-modal .btn.btn-primary {
    padding: 16px 20px;
    font-size: 1rem;
  }
}

/* Enhanced Animations */
@keyframes modalBackdropFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(15px);
  }
}

@keyframes modalBackdropFadeOut {
  from {
    opacity: 1;
    backdrop-filter: blur(15px);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
}

@keyframes modalSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes overlayFloat {
  0%, 100% { 
    transform: translateY(0) scale(1); 
  }
  50% { 
    transform: translateY(-10px) scale(1.02); 
  }
}

/* Focus states for accessibility */
.modal-close:focus-visible {
  outline: 3px solid rgba(239, 68, 68, 0.5);
  outline-offset: 2px;
}

.job-modal .btn.btn-primary:focus-visible {
  outline: 3px solid rgba(110, 193, 228, 0.5);
  outline-offset: 2px;
}

body.light-mode .modal-close:focus-visible {
  outline-color: rgba(239, 68, 68, 0.5);
}

body.light-mode .job-modal .btn.btn-primary:focus-visible {
  outline-color: rgba(59, 130, 246, 0.5);
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .job-modal,
  .job-modal-content,
  .modal-close,
  .job-modal .btn.btn-primary,
  .job-modal-overlay {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  
  .modal-close:hover,
  .job-modal .btn.btn-primary:hover {
    transform: none;
  }
}




/* ===========================
   🔄 ENHANCED LOAD MORE BUTTON (SPECIFIC TARGETING)
=========================== */
.load-more-wrapper {
  text-align: center;
  margin-top: 20px;
  position: relative;
}

/* Enhanced Load More Button - ONLY targets .btn-load-more-special */
.btn-load-more-special {
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 50%, #ff6b47 100%);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 
    0 8px 25px rgba(255, 126, 95, 0.4),
    0 0 20px rgba(255, 126, 95, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* Shimmer effect - ONLY for .btn-load-more-special */
.btn-load-more-special::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.4) 50%, 
    transparent 100%);
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

/* Animated background glow - ONLY for .btn-load-more-special */
.btn-load-more-special::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    #ff7e5f, #feb47b, #ff6b47, #ff7e5f);
  background-size: 300% 300%;
  border-radius: 50px;
  z-index: -1;
  animation: loadMoreGradientShift 3s ease infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover effects - ONLY for .btn-load-more-special */
.btn-load-more-special:hover {
  background: linear-gradient(135deg, #feb47b 0%, #ff7e5f 50%, #ff8c69 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 12px 35px rgba(255, 126, 95, 0.6),
    0 0 30px rgba(255, 126, 95, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-load-more-special:hover::before {
  left: 100%;
}

.btn-load-more-special:hover::after {
  opacity: 1;
}

/* Active/Click effect - ONLY for .btn-load-more-special */
.btn-load-more-special:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 6px 20px rgba(255, 126, 95, 0.5),
    0 0 15px rgba(255, 126, 95, 0.3);
}

/* Loading state - ONLY for .btn-load-more-special */
.btn-load-more-special.loading {
  pointer-events: none;
  opacity: 0.8;
  transform: translateY(-2px);
  animation: loadMorePulse 2s ease-in-out infinite;
}

.btn-load-more-special.loading::before {
  display: none;
}

.btn-load-more-special.loading .btn-text {
  opacity: 0.7;
}

/* Loading spinner - ONLY for .btn-load-more-special */
.btn-load-more-special.loading .loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: loadMoreSpin 1s linear infinite;
  margin-right: 8px;
}

/* Focus state for accessibility - ONLY for .btn-load-more-special */
.btn-load-more-special:focus-visible {
  outline: 3px solid rgba(255, 126, 95, 0.5);
  outline-offset: 2px;
}

/* Text content styling - ONLY for .btn-load-more-special */
.btn-load-more-special .btn-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Icon styling - ONLY for .btn-load-more-special */
.btn-load-more-special i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-load-more-special:hover i {
  transform: rotate(180deg);
}

/* Optional: restore if accidentally hidden - ONLY for .btn-load-more-special */
.btn-load-more-special:empty {
  display: none;
}

/* Enhanced Light Mode Support - ONLY for .btn-load-more-special */
body.light-mode .btn-load-more-special {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #dc2626 100%);
  box-shadow: 
    0 8px 25px rgba(239, 68, 68, 0.3),
    0 0 20px rgba(239, 68, 68, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.light-mode .btn-load-more-special::after {
  background: linear-gradient(45deg, 
    #ef4444, #f97316, #dc2626, #ef4444);
}

body.light-mode .btn-load-more-special:hover {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 50%, #f87171 100%);
  box-shadow: 
    0 12px 35px rgba(239, 68, 68, 0.4),
    0 0 30px rgba(239, 68, 68, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

body.light-mode .btn-load-more-special:focus-visible {
  outline-color: rgba(239, 68, 68, 0.5);
}

/* Enhanced Responsive Design - ONLY for .btn-load-more-special */
@media (max-width: 768px) {
  .load-more-wrapper {
    margin-top: 25px;
  }

  .btn-load-more-special {
    padding: 12px 28px;
    font-size: 1rem;
    width: auto;
    min-width: 160px;
  }
}

@media (max-width: 480px) {
  .btn-load-more-special {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
  }
}

/* Enhanced Animations - UNIQUE NAMES to avoid conflicts */
@keyframes loadMoreGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes loadMorePulse {
  0%, 100% { 
    transform: translateY(-2px) scale(1); 
    opacity: 0.8; 
  }
  50% { 
    transform: translateY(-3px) scale(1.02); 
    opacity: 0.9; 
  }
}

/* Interaction ripple effect - ONLY for .btn-load-more-special */
.btn-load-more-special .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: loadMoreRippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes loadMoreRippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Magnetic hover effect - ONLY for .load-more-wrapper */
@media (hover: hover) {
  .load-more-wrapper:hover .btn-load-more-special {
    transform: translateY(-2px);
  }
}

/* Reduced motion preferences - ONLY for .btn-load-more-special */
@media (prefers-reduced-motion: reduce) {
  .btn-load-more-special,
  .btn-load-more-special::before,
  .btn-load-more-special::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  
  .btn-load-more-special:hover {
    transform: none;
  }
}





/* ===========================
   🦶 ENHANCED FOOTER SECTION
=========================== */
.footer {
  text-align: center;
  padding: 40px 20px 30px;
  font-size: 1rem;
  color: #6ec1e4;
  background: linear-gradient(135deg, 
    rgba(10, 25, 47, 0.4) 0%, 
    rgba(15, 23, 42, 0.3) 50%, 
    rgba(10, 25, 47, 0.4) 100%);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(110, 193, 228, 0.2);
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

/* Animated background particles */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(110, 193, 228, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 126, 95, 0.03) 0%, transparent 50%);
  animation: footerFloatingBg 20s ease-in-out infinite;
  pointer-events: none;
}

/* Footer text styling */
.footer p,
.footer span,
.footer div {
  position: relative;
  z-index: 2;
  line-height: 1.6;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(110, 193, 228, 0.2);
  transition: all 0.3s ease;
}

.footer p:last-child,
.footer span:last-child,
.footer div:last-child {
  margin-bottom: 0;
}

/* Footer links styling */
.footer a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 2px 0;
  margin-top: 8px;
  display: inline-block;
  opacity: 0.8;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #94a3b8, #cbd5e1);
  transition: width 0.3s ease;
}

.footer a:hover {
  color: #cbd5e1;
  text-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
  transform: translateY(-1px);
  opacity: 1;
}

.footer a:hover::after {
  width: 100%;
}

/* Footer social icons (if present) */
.footer i {
  color: #6ec1e4;
  font-size: 1.2rem;
  margin: 0 8px;
  transition: all 0.3s ease;
  text-shadow: 0 2px 8px rgba(110, 193, 228, 0.3);
}

.footer i:hover {
  color: #56b3d9;
  transform: translateY(-2px) scale(1.1);
  text-shadow: 0 4px 15px rgba(110, 193, 228, 0.5);
}

/* Copyright text enhancement */
.footer .copyright {
  font-style: italic;
  opacity: 0.9;
  margin-top: 15px;
  font-size: 0.95rem;
}

/* Footer divider line */
.footer .footer-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #6ec1e4 50%, 
    transparent 100%);
  margin: 20px auto;
  border-radius: 2px;
}

/* Enhanced Light Mode Support */
body.light-mode .footer {
  color: #1e40af;
  background: linear-gradient(135deg, 
    rgba(248, 250, 252, 0.9) 0%, 
    rgba(241, 245, 249, 0.8) 50%, 
    rgba(248, 250, 252, 0.9) 100%);
  border-top-color: rgba(59, 130, 246, 0.2);
}

body.light-mode .footer::before {
  background: 
    radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
}

body.light-mode .footer p,
body.light-mode .footer span,
body.light-mode .footer div {
  text-shadow: 0 2px 6px rgba(30, 64, 175, 0.1);
}

body.light-mode .footer a {
  color: #64748b;
}

body.light-mode .footer a::after {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

body.light-mode .footer a:hover {
  color: #475569;
  text-shadow: 0 2px 8px rgba(100, 116, 139, 0.2);
}

body.light-mode .footer i {
  color: #3b82f6;
  text-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

body.light-mode .footer i:hover {
  color: #2563eb;
  text-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

body.light-mode .footer .footer-divider {
  background: linear-gradient(90deg, 
    transparent 0%, 
    #3b82f6 50%, 
    transparent 100%);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: 30px 15px 25px;
    font-size: 0.95rem;
    margin-top: 40px;
  }
  
  .footer i {
    font-size: 1.1rem;
    margin: 0 6px;
  }
  
  .footer .copyright {
    font-size: 0.9rem;
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 25px 10px 20px;
    font-size: 0.9rem;
    margin-top: 30px;
  }
  
  .footer i {
    font-size: 1rem;
    margin: 0 5px;
  }
  
  .footer .footer-divider {
    width: 40px;
    margin: 15px auto;
  }
  
  .footer .copyright {
    font-size: 0.85rem;
    margin-top: 10px;
  }
}

/* Enhanced Animations */
@keyframes footerFloatingBg {
  0%, 100% { 
    transform: translateY(0) scale(1); 
  }
  50% { 
    transform: translateY(-5px) scale(1.01); 
  }
}

/* Footer entrance animation */
.footer {
  animation: footerFadeInUp 0.8s ease;
}

@keyframes footerFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effect for entire footer */
.footer:hover {
  border-top-color: rgba(110, 193, 228, 0.3);
}

body.light-mode .footer:hover {
  border-top-color: rgba(59, 130, 246, 0.3);
}

/* Focus states for accessibility */
.footer a:focus-visible {
  outline: 2px solid #94a3b8;
  outline-offset: 2px;
  border-radius: 4px;
}

body.light-mode .footer a:focus-visible {
  outline-color: #64748b;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .footer,
  .footer *,
  .footer::before {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  
  .footer a:hover,
  .footer i:hover {
    transform: none;
  }
}


/* Save Job Toast */
#toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.toast {
  background-color: #0a192f;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}


/* User Prifle */
.profile-hero-section {
  background: linear-gradient(145deg, #0a192f, #1a2a40);
  color: #fff;
  padding: 80px 20px 50px;
  text-align: center;
}



/* === Saved & Applied Sections === */
.saved-section,
.applied-section {
  overflow: visible;
  padding: 30px 20px;
  margin-top: 30px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
  border-radius: 12px;
  color: #f0f2f5;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.saved-section h3,
.applied-section h3 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 1.4rem;
}

/* === Job Card Style === */
.saved-section .job-card,
.applied-section .job-card {
  background: linear-gradient(135deg, rgba(110, 193, 228, 0.08), rgba(255, 255, 255, 0.03));
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  color: #f0f2f5;
}

.saved-section .job-card h3,
.applied-section .job-card h3 {
  font-size: 1.1rem;
  color: #6ec1e4;
  margin-bottom: 6px;
}


.job-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.job-card.revealed {
  opacity: 1;
  transform: translateY(0);
  animation: fadeSlideIn 0.8s ease forwards;
}

.saved-section .job-card p,
.applied-section .job-card p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: #ccc;
}

/* Button Styling */
.saved-section .btn,
.applied-section .btn {
  margin-right: 10px;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
}

.saved-section .btn-outline,
.applied-section .btn-outline {
  background-color: transparent;
  border: 2px solid #6ec1e4;
  color: #6ec1e4;
}

.saved-section .btn-outline:hover,
.applied-section .btn-outline:hover {
  background-color: #6ec1e4;
  color: #0a192f;
}

.saved-section .btn-danger,
.applied-section .btn-danger {
  background-color: #ff6b81;
  border: none;
  color: #fff;
}

.saved-section .btn-danger:hover,
.applied-section .btn-danger:hover {
  background-color: #ff4757;
}

/* === Profile Form === */
.profile-form-section {
  padding: 40px 20px;
  overflow: visible;
}

.wide-form-card {
  background: var(--card-bg, #202328);
  color: var(--text-color, #f0f2f5);
  max-width: 700px;
  margin: auto;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
}

.styled-form .form-group {
  margin-bottom: 20px;
}

.styled-form label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.styled-form input,
.styled-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #2a2d33;
  color: #f0f2f5;
}

.styled-form input[type="file"] {
  padding: 10px 0;
  background: none;
}

.profile-btn-primary {
  background: linear-gradient(to right, #1e90ff, #00bcd4);
  border: none;
  padding: 12px;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  transition: 0.3s ease;
   margin-bottom: 12px;
}

.profile-btn-primary:hover {
  transform: scale(1.02);
  background: linear-gradient(to right, #00bcd4, #1e90ff);
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px; /* ✅ Automatically adds space between buttons */
}

.full-width {
  width: 100%;
}

.resume-link {
  color: #6ec1e4;
}

.resume-link:hover {
  text-decoration: underline;
}

.job-list {
  list-style: none;
  padding-left: 0;
}

.job-list li {
  padding: 6px 0;
}

/* ===== Responsive Breakpoints ===== */

@media (max-width: 1024px) {
  .wide-form-card {
    max-width: 85%;
    padding: 25px;
  }

  .profile-hero-section {
    padding: 60px 20px 40px;
  }

  
  .profile-hero-section h1 {
    font-size: 1.8rem;
  }

  
  .profile-hero-section p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .wide-form-card {
    padding: 20px;
    max-width: 90%;
  }

  .styled-form input,
  .styled-form select {
    padding: 10px;
    font-size: 1rem;
  }

  .profile-btn-primary {
    width: 100%;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .job-list li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
    .wide-form-card {
    padding: 18px;
  }

  .styled-form label {
    font-size: 0.95rem;
  }

  .styled-form input,
  .styled-form select {
    padding: 10px;
    font-size: 0.95rem;
  }

  .profile-btn-primary {
    font-size: 0.95rem;
  }
}













/* Reset and forgot password form */
.auth-page {
  background: var(--bg-dark, #0a192f);
  color: var(--text-light, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}

.form-container {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.form-container input,
.form-container select {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.form-container button.btn-primary {
  background-color: #0077ff;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  padding: 8px;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 8px;
  margin-bottom: 1rem;
  border-radius: 5px;
}





/* Force mobile styles for testing 
@media (max-width: 768px) {
  .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    width: 280px !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    z-index: 1000 !important;
    background: var(--bg-dark) !important;
  }
  
  .dashboard-sidebar.open {
    transform: translateX(0) !important;
  }
  
  .dashboard-main {
    margin-left: 0 !important;
  }
  
  .sidebar-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 999 !important;
    display: none !important;
  }
  
  .sidebar-overlay.active {
    display: block !important;
  }
  
  .sidebar-toggle {
    display: block !important;
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 1001 !important;
  }
}  */




/* === CSS Variables for Dark/Light Mode === */
:root {
  /* Dark Mode (Default) */
  --bg-dark: #0a192f;
  --bg-light: #1e2a38;
  --bg-card: #2d3748;
  --text-light: #f0f2f5;
  --text-dark: #2d3748;
  --accent: #4b8be1;
  --accent-hover: #3a7bd5;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border: rgba(255, 255, 255, 0.1);
}

/* Light Mode Variables */
[data-theme="light"] {
  --bg-dark: #ffffff;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-light: #1a202c;
  --text-dark: #1a202c;
  --accent: #4b8be1;
  --accent-hover: #3a7bd5;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border: rgba(0, 0, 0, 0.1);
}

/* === Dashboard Layout === */
.dashboard-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.dashboard-sidebar {
  width: 260px;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 20px;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
  border-right: 1px solid var(--border);
}

.dashboard-sidebar h2 {
  margin-bottom: 4px;
  color: var(--text-light);
}

.sidebar-nav {
  list-style: none;
  padding: 0;
}

.sidebar-nav li {
  margin: 14px 0;
}

.sidebar-nav a {
  color: var(--text-light);
  text-decoration: none;
  display: block;
  padding: 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.sidebar-nav a:hover {
  background-color: var(--accent);
  color: white;
}

.dashboard-main {
  flex: 1;
  margin-left: 260px;
  padding: 30px;
  background: var(--bg-light);
  color: var(--text-dark);
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 80px;
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  z-index: 1001;
  transition: background-color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--accent-hover);
}

/* Mobile sidebar toggle - moved to right */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: #4b8be1;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.2s ease;
  box-shadow: var(--shadow);
}

.sidebar-toggle:hover {
  background: #3a7bd5;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

/* Form Elements */
.dashboard-main input,
.dashboard-main textarea,
.dashboard-main select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background-color: var(--bg-card);
  color: var(--text-dark);
  border: 1px solid var(--border);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.dashboard-main input:focus,
.dashboard-main textarea:focus,
.dashboard-main select:focus {
  border-color: var(--accent);
  outline: none;
}

.dashboard-main label {
  display: block;
  margin: 0.8rem 0 0.3rem;
  font-weight: 500;
  color: var(--text-dark);
}


/* === Cards, Lists === */
.analytics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.analytics-cards .card {
  background: var(--bg-card);
  color: var(--text-dark);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border);
}

.analytics-cards .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.job-list {
  list-style: none;
  padding: 0;
}

.job-list li {
  background: var(--bg-card);
  color: var(--text-light); 
  padding: 15px;
  margin: 10px 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
  border: 1px solid var(--border);
}

.job-list li:hover {
  transform: translateY(-1px);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-weight: bold;
  flex-wrap: wrap;
  gap: 10px;
}

.job-header a {
  color: var(--accent);
  text-decoration: none;
}

.job-header a:hover {
  text-decoration: underline;
}

.job-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.875rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--accent);
  color: white;
}

.btn-sm:hover {
  background: var(--accent-hover);
}

.btn-sm.danger {
  background: #e53e3e;
  color: #fff;
}

.btn-sm.danger:hover {
  background: #c53030;
}

/* === Logo & Tagline === */
.company-logo {
  max-width: 100%;
  max-height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
}

.logo-placeholder {
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: white;
  font-size: 2rem;
}

.company-tagline {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--accent);
  text-align: center;
}



/* Sections */
.dashboard-main section {
  margin-bottom: 40px;
  background: var(--bg-card);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.dashboard-main h3 {
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* Edit Job Page */
.edit-job-container {
  max-width: 720px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: var(--bg-card);
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: var(--text-dark);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.edit-job-container h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-dark);
}

.edit-job-container label {
  display: block;
  margin: 0.8rem 0 0.3rem;
  font-weight: 500;
  color: var(--text-dark);
}

.edit-job-container input,
.edit-job-container textarea,
.edit-job-container select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background-color: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.edit-job-container input:focus,
.edit-job-container textarea:focus,
.edit-job-container select:focus {
  border-color: var(--accent);
  outline: none;
}

.edit-job-container .btn {
  margin-top: 2rem;
  padding: 12px 25px;
  font-weight: bold;
  font-size: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  width: 100%;
  transition: background 0.3s ease;
}

.edit-job-container .btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ==========================
   Responsive Breakpoints
========================== */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
  .dashboard-main {
    padding: 40px;
  }
  
  .analytics-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  
  .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .dashboard-main {
    padding: 35px;
  }
  
  .analytics-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
  }
  
  .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
  }
}

/* Tablet Large (768px to 991px) */
@media (max-width: 991px) and (min-width: 769px) {
  .dashboard-container {
    flex-direction: column;
  }
  
  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 300px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .dashboard-sidebar.open {
    transform: translateX(0);
  }
  
  .dashboard-main {
    margin-left: 0;
    padding: 25px;
    width: 100%;
  }
  
  .sidebar-toggle {
    display: block;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1002;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }
  
  .sidebar-toggle:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
  }
  
  .theme-toggle {
    top: 20px;
    right: 20px;
    z-index: 1002;
  }
  
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    transition: opacity 0.3s ease;
  }
  
  .sidebar-overlay.active {
    display: block;
    opacity: 1;
  }
  
  .analytics-cards {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }
  
  .analytics-cards .card {
    padding: 18px;
  }
  
  .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
  }
  
  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .job-actions {
    margin-top: 12px;
    flex-wrap: wrap;
  }
  
  .edit-job-container {
    margin: 2rem 2rem;
    padding: 2rem;
  }
  
  .edit-job-container h2 {
    font-size: 1.6rem;
  }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .dashboard-container {
    flex-direction: column;
  }
  
  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 20px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  .dashboard-sidebar.open {
    transform: translateX(0);
  }
  
  .dashboard-main {
    margin-left: 0;
    padding: 20px;
    padding-top: 70px; /* Space for toggle button */
    width: 100%;
  }
  
  .sidebar-toggle {
    display: block;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1002;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent);
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
  }
  
  .sidebar-toggle:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
  }
  
  .theme-toggle {
    top: 15px;
    right: 15px;
    z-index: 1002;
    padding: 10px;
    font-size: 1rem;
  }
  
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: none;
    transition: opacity 0.3s ease;
  }
  
  .sidebar-overlay.active {
    display: block;
    opacity: 1;
  }
  
  .analytics-cards {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  
  .analytics-cards .card {
    padding: 15px;
    text-align: center;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .job-header span {
    font-size: 0.9rem;
  }
  
  .job-actions {
    margin-top: 15px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .dashboard-main section {
    padding: 20px;
    margin-bottom: 25px;
  }
  
  .dashboard-main h3 {
    font-size: 1.3rem;
  }
  
  /* Edit Job Container - Tablet */
  .edit-job-container {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .edit-job-container h2 {
    font-size: 1.5rem;
  }

  .edit-job-container .btn {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}

/* Mobile Large (481px to 600px) */
@media (max-width: 600px) and (min-width: 481px) {
  .dashboard-main {
    padding: 18px;
    padding-top: 65px;
  }
  
  .sidebar-toggle {
    top: 12px;
    left: 12px;
    padding: 9px;
    font-size: 1rem;
  }
  
  .theme-toggle {
    top: 12px;
    right: 12px;
    padding: 9px;
    font-size: 0.95rem;
  }
  
  .analytics-cards {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
  
  .analytics-cards .card {
    padding: 12px;
  }
  
  .dashboard-main section {
    padding: 18px;
    margin-bottom: 20px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .dashboard-main {
    padding: 15px;
    padding-top: 60px;
  }
  
  .sidebar-toggle {
    top: 10px;
    left: 10px;
    z-index: 1002;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent);
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
  }
  
  .sidebar-toggle:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
  }
  
  .theme-toggle {
    top: 10px;
    right: 10px;
    z-index: 1002;
    padding: 8px;
    font-size: 0.9rem;
  }
  
  .dashboard-sidebar {
    width: 260px;
    padding: 15px;
  }
  
  .analytics-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .analytics-cards .card {
    padding: 12px;
    min-width: unset;
  }
  
  .job-list li {
    padding: 12px;
    margin: 8px 0;
  }
  
  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .job-header span {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  
  .job-actions {
    margin-top: 12px;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  
  .btn-sm {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .company-logo,
  .logo-placeholder {
    width: 80px;
    height: 80px;
  }
  
  .logo-placeholder {
    font-size: 1.5rem;
  }
  
  .dashboard-main section {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
  }
  
  .dashboard-main h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .form-grid {
    gap: 10px;
  }
  
  .dashboard-main input,
  .dashboard-main textarea,
  .dashboard-main select {
    padding: 10px;
    font-size: 1rem;
  }
  
  /* Edit Job Container - Mobile */
  .edit-job-container {
    padding: 1rem;
    margin: 1.5rem 0.5rem;
  }

  .edit-job-container h2 {
    font-size: 1.3rem;
  }

  .edit-job-container input,
  .edit-job-container textarea,
  .edit-job-container select {
    font-size: 0.95rem;
    padding: 10px;
  }

  .edit-job-container .btn {
    font-size: 0.9rem;
    padding: 12px 16px;
  }
}

/* Extra small screens (360px and below) */
@media (max-width: 360px) {
  .dashboard-main {
    padding: 10px;
    padding-top: 55px;
  }
  
  .sidebar-toggle {
    top: 8px;
    left: 8px;
    padding: 6px;
    font-size: 0.9rem;
  }
  
  .theme-toggle {
    top: 8px;
    right: 8px;
    padding: 6px;
    font-size: 0.8rem;
  }
  
  .dashboard-sidebar {
    width: 240px;
    padding: 12px;
  }
  
  .analytics-cards .card {
    padding: 10px;
  }
  
  .job-list li {
    padding: 10px;
  }
  
  .job-header span {
    font-size: 0.8rem;
  }
  
  .dashboard-main section {
    padding: 12px;
    margin-bottom: 15px;
  }
  
  .dashboard-main h3 {
    font-size: 1.1rem;
  }
  
  .btn-sm {
    padding: 8px;
    font-size: 0.85rem;
  }
  
  .company-logo,
  .logo-placeholder {
    width: 70px;
    height: 70px;
  }
  
  .logo-placeholder {
    font-size: 1.2rem;
  }
  
  .edit-job-container {
    margin: 1rem 0.25rem;
    padding: 0.75rem;
  }
  
  .edit-job-container h2 {
    font-size: 1.1rem;
  }
  
  .edit-job-container input,
  .edit-job-container textarea,
  .edit-job-container select {
    font-size: 0.9rem;
    padding: 8px;
  }
  
  .edit-job-container .btn {
    font-size: 0.85rem;
    padding: 10px 12px;
  }
}

/* Ultra small screens (320px and below) */
@media (max-width: 320px) {
  .dashboard-main {
    padding: 8px;
    padding-top: 50px;
  }
  
  .sidebar-toggle {
    top: 6px;
    left: 6px;
    padding: 5px;
    font-size: 0.85rem;
  }
  
  .theme-toggle {
    top: 6px;
    right: 6px;
    padding: 5px;
    font-size: 0.75rem;
  }
  
  .dashboard-sidebar {
    width: 220px;
    padding: 10px;
  }
  
  .analytics-cards .card {
    padding: 8px;
  }
  
  .job-list li {
    padding: 8px;
  }
  
  .dashboard-main section {
    padding: 10px;
    margin-bottom: 12px;
  }
  
  .dashboard-main h3 {
    font-size: 1rem;
  }
  
  .edit-job-container {
    margin: 0.5rem 0.1rem;
    padding: 0.5rem;
  }
}

/* === FIX: Text Readability Only === */
.job-list li p {
  color: var(--text-light); 
  opacity: 0.8;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-weight: bold;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-light); /* Job title should be light */
}

.job-header span {
  color: var(--text-light); /* Job meta info (location, type, date) */
  opacity: 0.7;
  font-weight: normal;
}

.job-header a {
  color: var(--accent); /* Job title links stay blue */
  text-decoration: none;
}

.job-header a:hover {
  text-decoration: underline;
}




/* ================================
   Dashboard Navbar Conflict Fix
================================ */

/* SOLUTION 1: Hide main navbar on dashboard pages */
.dashboard-body .navbar,
.dashboard-page .navbar {
  display: none !important;
}

/* Remove top padding from dashboard since navbar is hidden */
.dashboard-body,
.dashboard-page {
  padding-top: 0 !important;
}

/* Ensure dashboard container takes full height */
.dashboard-body .dashboard-container,
.dashboard-page .dashboard-container {
  min-height: 100vh;
  margin-top: 0;
}

/* ================================
   Alternative Solution: Adjust Z-Index
================================ */

/* If you want to keep both navbars, use this instead: */
/*
.dashboard-container .sidebar-toggle {
  z-index: 9999 !important;
  top: 70px !important;
}

.dashboard-container .theme-toggle {
  z-index: 9999 !important;
  top: 70px !important;
}

.dashboard-container .dashboard-main {
  padding-top: 120px !important;
}
*/

/* ================================
   Dashboard-Specific Navigation
================================ */

/* Add logout to dashboard sidebar since main nav is hidden */
.dashboard-container .sidebar-nav {
  position: relative;
}

/* Style the logout link in sidebar */
.dashboard-container .sidebar-nav a[href*="logout"] {
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid rgba(255, 82, 82, 0.3);
  margin-top: 20px;
}

.dashboard-container .sidebar-nav a[href*="logout"]:hover {
  background: rgba(255, 82, 82, 0.2);
  color: #ff5252;
}

/* Add a "back to website" link in dashboard sidebar */
.dashboard-container .sidebar-nav::before {
  content: '';
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

/* You can add this to your HTML in the sidebar-nav */
.back-to-site {
  background: rgba(110, 193, 228, 0.1);
  border: 1px solid rgba(110, 193, 228, 0.3);
  text-align: center;
  margin-bottom: 10px;
}

.back-to-site:hover {
  background: rgba(110, 193, 228, 0.2);
}

/* ================================
   Mobile Dashboard Toggle Positioning
================================ */

@media (max-width: 768px) {
  /* Ensure dashboard toggle doesn't conflict with main navbar */
  .dashboard-container .sidebar-toggle {
    top: 15px !important;
    left: 15px !important;
    z-index: 1002 !important;
    background: rgba(75, 139, 225, 0.9) !important;
    backdrop-filter: blur(10px) !important;
  }
  
  .dashboard-container .theme-toggle {
    top: 15px !important;
    right: 15px !important;
    z-index: 1002 !important;
  }
  
  /* Remove top padding since main navbar is hidden */
  .dashboard-container .dashboard-main {
    padding-top: 70px !important;
  }
}

/* ================================
   Clean Dashboard Layout
================================ */

/* Ensure smooth transition when hiding main navbar */
.dashboard-body {
  transition: all 0.3s ease;
}

/* Fix any layout shifts */
.dashboard-body .dashboard-container {
  position: relative;
  top: 0;
}

/* Ensure sidebar overlay covers entire screen */
.dashboard-container .sidebar-overlay.active {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999 !important;
}


/* ================================
   INPUT TEXT COLOR VISIBILITY FIX
================================ */

/* Dark mode (default) - light text on dark background */
.dashboard-main input,
.dashboard-main textarea,
.dashboard-main select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background-color: var(--bg-card);
  color: var(--text-light); /* Light text for dark mode */
  border: 1px solid var(--border);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.dashboard-main input:focus,
.dashboard-main textarea:focus,
.dashboard-main select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Light mode - dark text on light background */
[data-theme="light"] .dashboard-main input,
[data-theme="light"] .dashboard-main textarea,
[data-theme="light"] .dashboard-main select {
  color: var(--text-dark); /* Dark text for light mode */
}

/* Edit job container inputs */
.edit-job-container input,
.edit-job-container textarea,
.edit-job-container select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background-color: var(--bg-light);
  color: var(--text-light); /* Light text for dark mode */
  border: 1px solid var(--border);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.edit-job-container input:focus,
.edit-job-container textarea:focus,
.edit-job-container select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Light mode edit container inputs */
[data-theme="light"] .edit-job-container input,
[data-theme="light"] .edit-job-container textarea,
[data-theme="light"] .edit-job-container select {
  color: var(--text-dark); /* Dark text for light mode */
}

/* ================================
   DASHBOARD SIDEBAR MARGIN TOP FIX
================================ */

.dashboard-sidebar {
  width: 260px;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 20px;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
  border-right: 1px solid var(--border);
  margin-top: 80px; /* Add margin to avoid overlap with main navbar */
  height: calc(100vh - 80px); /* Adjust height accordingly */
}

/* ================================
   MOBILE RESPONSIVE ADJUSTMENTS
================================ */

@media (max-width: 768px) {
  .dashboard-sidebar {
    margin-top: 0; /* Remove margin on mobile since main navbar is hidden */
    height: 100vh; /* Full height on mobile */
  }
}



/* ================================
   INPUT TEXT COLOR VISIBILITY FIX
================================ */

/* Dark mode (default) - light text on dark background */
.dashboard-main input,
.dashboard-main textarea,
.dashboard-main select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background-color: var(--bg-card);
  color: var(--text-light); /* Light text for dark mode */
  border: 1px solid var(--border);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.dashboard-main input:focus,
.dashboard-main textarea:focus,
.dashboard-main select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Light mode - dark text on light background */
[data-theme="light"] .dashboard-main input,
[data-theme="light"] .dashboard-main textarea,
[data-theme="light"] .dashboard-main select {
  color: var(--text-dark); /* Dark text for light mode */
}

/* Edit job container inputs */
.edit-job-container input,
.edit-job-container textarea,
.edit-job-container select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background-color: var(--bg-light);
  color: var(--text-light); /* Light text for dark mode */
  border: 1px solid var(--border);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.edit-job-container input:focus,
.edit-job-container textarea:focus,
.edit-job-container select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Light mode edit container inputs */
[data-theme="light"] .edit-job-container input,
[data-theme="light"] .edit-job-container textarea,
[data-theme="light"] .edit-job-container select {
  color: var(--text-dark); /* Dark text for light mode */
}

/* ================================
   DASHBOARD SIDEBAR MARGIN TOP FIX
================================ */

.dashboard-sidebar {
  width: 220px;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 20px;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
  border-right: 1px solid var(--border);
  margin-top: 80px; /* Add margin to avoid overlap with main navbar */
  height: calc(100vh - 80px); /* Adjust height accordingly */
}

/* ================================
   MOBILE RESPONSIVE ADJUSTMENTS
================================ */

@media (max-width: 768px) {
  .dashboard-sidebar {
    margin-top: 0; /* Remove margin on mobile since main navbar is hidden */
    height: 100vh; /* Full height on mobile */
    padding-top: 70px; /* Add extra padding at top for mobile to push content down */
  }
  
  /* Push company logo section down on mobile */
  .dashboard-sidebar h2:first-of-type,
  .dashboard-sidebar .company-logo,
  .dashboard-sidebar .logo-placeholder {
    margin-top: 20px; /* Additional space for logo area */
  }
  
  /* Ensure logo container has proper spacing */
  .dashboard-sidebar > *:first-child {
    margin-top: 15px;
  }
}
/* ===================================
   POLISHED SHARE BUTTON STYLING
=================================== */

/* Job Actions Container - Improved Layout */
.job-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Share Button - Refined Design */
.btn-share {
    background: linear-gradient(135deg, #6ec1e4, #4b8be1);
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 90px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(75, 139, 225, 0.3);
    border: 2px solid transparent;
}

.btn-share:hover {
    background: linear-gradient(135deg, #4b8be1, #6ec1e4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 139, 225, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-share:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(75, 139, 225, 0.3);
}

.btn-share i {
    font-size: 0.9rem;
}

/* Share Modal - Enhanced Design */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal.active {
    display: flex;
    opacity: 1;
}

.share-modal-content {
    background: linear-gradient(145deg, #1e2a38, #2d3748);
    color: #f0f2f5;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(110, 193, 228, 0.2);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.share-modal.active .share-modal-content {
    transform: scale(1);
}

.share-modal h3 {
    margin-bottom: 1.5rem;
    color: #6ec1e4;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

/* URL Input Container */
.share-url-container {
    margin: 1.5rem 0;
    position: relative;
    background: #0a192f;
    border-radius: 10px;
    padding: 4px;
    border: 1px solid rgba(110, 193, 228, 0.3);
}

.share-url-input {
    width: 100%;
    padding: 12px 80px 12px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #f0f2f5;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    outline: none;
    box-sizing: border-box;
}

.share-url-input::selection {
    background: rgba(110, 193, 228, 0.3);
}

.copy-url-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #6ec1e4, #4b8be1);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.copy-url-btn:hover {
    background: linear-gradient(135deg, #4b8be1, #6ec1e4);
    transform: translateY(-50%) scale(1.05);
}

/* Share Options Grid */
.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 12px;
    margin: 2rem 0 1rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.share-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-option:hover::before {
    opacity: 1;
}

.share-option:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Platform-specific colors */
.share-option.twitter { background: linear-gradient(135deg, #1da1f2, #1991db); }
.share-option.linkedin { background: linear-gradient(135deg, #0077b5, #006ba1); }
.share-option.facebook { background: linear-gradient(135deg, #1877f2, #166fe5); }
.share-option.whatsapp { background: linear-gradient(135deg, #25d366, #20bd5a); }
.share-option.telegram { background: linear-gradient(135deg, #0088cc, #007bb5); }
.share-option.email { background: linear-gradient(135deg, #ea4335, #d33b2c); }
.share-option.copy { background: linear-gradient(135deg, #6ec1e4, #4b8be1); }

.share-option i {
    font-size: 1.6rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.share-option span {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(240, 242, 245, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #f0f2f5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(240, 242, 245, 0.2);
    transform: scale(1.1);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #6ec1e4, #4b8be1);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(75, 139, 225, 0.4);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast::before {
    content: '✓';
    margin-right: 8px;
    font-weight: bold;
}

/* Light Mode Styles */
body.light-mode .share-modal {
    background: rgba(255, 255, 255, 0.9);
}

body.light-mode .share-modal-content {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    color: #1a202c;
    border: 1px solid rgba(75, 139, 225, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body.light-mode .share-modal h3 {
    color: #4b8be1;
}

body.light-mode .share-url-container {
    background: #f8fafc;
    border-color: rgba(75, 139, 225, 0.3);
}

body.light-mode .share-url-input {
    color: #1a202c;
}

body.light-mode .modal-close {
    background: rgba(26, 32, 44, 0.1);
    color: #1a202c;
}

body.light-mode .modal-close:hover {
    background: rgba(26, 32, 44, 0.2);
}

/* ===================================
   RESPONSIVE DESIGN
=================================== */

/* Desktop Large (1200px+) */
@media (min-width: 1200px) {
    .job-actions {
        gap: 15px;
        margin-top: 25px;
    }
    
    .btn-share {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .share-modal-content {
        max-width: 450px;
        padding: 3rem;
    }
    
    .share-options {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 769px) {
    .job-actions {
        gap: 12px;
        margin-top: 20px;
    }
    
    .btn-share {
        padding: 10px 16px;
        min-width: 90px;
    }
    
    .share-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* Mobile Large (481px - 768px) */
@media (max-width: 768px) {
    .job-actions {
        gap: 10px;
        margin-top: 15px;
        justify-content: center;
    }
    
    .btn-share {
        padding: 10px 14px;
        font-size: 0.8rem;
        min-width: 80px;
    }
    
    .share-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 12px;
    }
    
    .share-modal h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .share-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin: 1.5rem 0;
    }
    
    .share-option {
        padding: 14px 10px;
    }
    
    .share-option i {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    
    .share-option span {
        font-size: 0.75rem;
    }
    
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        padding: 14px 20px;
        text-align: center;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .job-actions {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .btn-share {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        margin-top: 8px;
    }
    
    .share-modal-content {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .share-option {
        padding: 12px 8px;
    }
    
    .share-option i {
        font-size: 1.3rem;
    }
    
    .copy-url-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

/* ===================================
   ANIMATIONS
=================================== */

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: scale(1);
    }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.share-modal.active {
    animation: fadeIn 0.3s ease;
}

.share-modal-content {
    animation: slideUp 0.3s ease;
}

.btn-share:focus {
    animation: pulse 0.6s ease;
}

/* ===================================
   INTEGRATION WITH EXISTING BUTTONS
=================================== */

/* Ensure consistent styling with your existing buttons ISSUE BUTTON FIX */
.job-actions .btn,
.job-actions .btn-outline,
.job-actions .btn-primary {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 20px;
    font-size: 1.0rem;
}

/* Home page job cards specific adjustments */
.job-preview-card .job-actions {
    margin-top: 18px;
    padding-top: 8px;
    border-top: 1px solid rgba(110, 193, 228, 0.1);
}

.job-preview-card .btn-share {
    flex-shrink: 0;
}

/* Search page job cards specific adjustments */
.job-card .job-actions {
    margin-top: 20px;
    padding-top: 0px;
    border-top: 1px solid rgba(110, 193, 228, 0.1);
}

/* Ensure proper spacing between action buttons */
.job-actions > * {
    flex-shrink: 0;
}

.job-actions .btn-outline.highlight-orange,
.job-actions .btn-apply,
.job-actions .btn-save {
    margin-right: 0;
}






/* Toast should not block the page when shown */
#toast {
  position: fixed;
  left: 50%;
  bottom: 16px;                 /* float above footer, not full screen */
  transform: translateX(-50%);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;          /* 🔑 taps pass through */
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

/* Visible state */
#toast.show,
#toast.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* If you use a ::before backdrop/glow, don't let it catch taps */
#toast::before {
  pointer-events: none !important;   /* 🔑 */
  position: absolute;                /* scoped to the toast box, not full screen */
  inset: 0;
  content: '';
}

/* If your toast has an inner clickable card/button, only that gets events */
#toast .toast-card,
#toast button {
  pointer-events: auto;
}




/* Resume Builder Navigation Styles */

/* Main Resume Builder Link (Common Section) */
.resume-builder-nav {
  margin: 8px 0;
}

.resume-builder-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ff7e5f 0%, #6ec1e4 100%);
  color: white !important;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
}

.resume-builder-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 126, 95, 0.4);
  color: white !important;
}

.resume-builder-link:active {
  transform: translateY(-1px);
}

/* Shimmer effect on hover */
.resume-builder-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.resume-builder-link:hover::before {
  left: 100%;
}

.resume-builder-link i {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* New Badge */
.nav-badge {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Resume CTA for Guests */
.resume-builder-cta {
  margin: 8px 0;
}

.resume-cta-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 126, 95, 0.1);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, #ff7e5f, #6ec1e4) 1;
  color: #ff7e5f !important;
  padding: 16px 20px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resume-cta-link:hover {
  background: rgba(255, 126, 95, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 126, 95, 0.2);
  color: #ff7e5f !important;
}

.resume-cta-link span {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-cta-link small {
  color: #6ec1e4;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

.resume-cta-link i {
  color: #ff7e5f;
  font-size: 1rem;
}

/* Section Titles Enhancement */
.nav-section-title {
  color: #ff7e5f !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  padding: 12px 20px 8px 20px !important;
  margin-top: 16px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(255, 126, 95, 0.2);
}

/* Nav Divider Enhancement */
.nav-divider {
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 126, 95, 0.3), transparent) !important;
  margin: 16px 0 !important;
  border: none !important;
}

/* Resume Tools Section for Logged-in Users */
.nav-links a[href="/my-resumes"] {
  color: #6ec1e4 !important;
  padding: 10px 20px;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 2px 0;
}

.nav-links a[href="/my-resumes"]:hover,
.nav-links a[href*="resume-builder"]:hover {
  background: rgba(110, 193, 228, 0.1);
  transform: translateX(8px);
  color: #4b8be1 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .resume-builder-link {
    padding: 10px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
  }
  
  .resume-builder-link span:not(.nav-badge) {
    display: none; /* Hide text on very small screens */
  }
  
  .nav-badge {
    display: none; /* Hide badge on mobile to save space */
  }
  
  .resume-cta-link {
    padding: 12px 16px;
    border-radius: 12px;
  }
  
  .resume-cta-link span {
    font-size: 0.85rem;
  }
  
  .resume-cta-link small {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .resume-builder-link {
    padding: 8px 12px;
    justify-content: center;
    border-radius: 16px;
  }
  
  .resume-builder-link i {
    font-size: 1.2rem;
  }
}

/* Animation for new badge */
@keyframes pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.nav-badge {
  animation: pulse-badge 2s infinite;
}

/* Focus states for accessibility */
.resume-builder-link:focus,
.resume-cta-link:focus {
  outline: 3px solid rgba(255, 126, 95, 0.5);
  outline-offset: 2px;
}

/* Dark mode support (if you implement it later) */
@media (prefers-color-scheme: dark) {
  .resume-cta-link {
    background: rgba(255, 126, 95, 0.15);
    border-color: rgba(255, 126, 95, 0.4);
  }
  
  .nav-section-title {
    border-bottom-color: rgba(255, 126, 95, 0.4) !important;
  }
}





/* ===========================
   COMPLETE GOHIRELY NAVBAR CSS - REWRITTEN WITH FIXED ALIGNMENT
============================= */

:root{
  /* Primary Colors */
  --primary-dark:#0f172a;
  --primary-darker:#020617;
  --primary-light:#1e293b;

  /* Gradient Colors */
  --gradient-orange:#ff7e5f;
  --gradient-warm:#feb47b;
  --gradient-blue:#6ec1e4;
  --gradient-electric:#06b6d4;

  /* Accent Colors */
  --accent-orange:#ff6b35;
  --accent-blue:#06b6d4;
  --accent-purple:#8b5cf6;
  --accent-green:#10b981;
  --accent-red:#ef4444;

  /* Text Colors */
  --text-light:#f8fafc;
  --text-gray:#94a3b8;
  --text-dark:#1e293b;

  /* Glass & Effects */
  --glass-bg:rgba(255,255,255,.05);
  --glass-border:rgba(255,255,255,.1);
  --glass-shadow:0 8px 32px rgba(0,0,0,.3);

  /* Transitions */
  --transition-fast:.2s ease;
  --transition-normal:.3s ease;
  --transition-slow:.5s ease;
  --transition-ultra-soft:.8s cubic-bezier(.25,.46,.45,.94);
  --transition-gentle:1s cubic-bezier(.23,1,.32,1);
}

*{margin:0;padding:0;box-sizing:border-box}

body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  background:linear-gradient(135deg,var(--primary-darker) 0%,var(--primary-dark) 50%,var(--primary-light) 100%);
  color:var(--text-light);
  min-height:100vh;overflow-x:hidden;
  display:flex;flex-direction:column;
}

/* ===========================
   MAIN NAVBAR CONTAINER
============================= */
.navbar{
  position:sticky;top:0;left:0;width:100%;height:95px;
  background:rgba(15,23,42,.95);backdrop-filter:blur(20px);
  border-bottom:0;box-shadow:0 6px 18px rgba(0,0,0,.25);
  z-index:9999;transition:all var(--transition-normal);
  padding:0 2rem;
  display:flex;align-items:center;justify-content:space-between;
  opacity:1;visibility:visible;
}
.navbar-left{display:flex;align-items:center}
.navbar-right{display:none}

/* ===========================
   LOGO
============================= */
.logo{font-size:1.7rem;font-weight:700;position:relative;transition:all var(--transition-normal)}
.logo a{
  background:linear-gradient(135deg,var(--gradient-orange) 0%,var(--gradient-warm) 50%,var(--gradient-blue) 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  text-decoration:none;display:block;
}
.logo:hover{transform:scale(1.05);filter:brightness(1.2)}
.logo::after{
  content:'';position:absolute;bottom:-5px;left:0;width:100%;height:2px;
  background:linear-gradient(90deg,var(--gradient-orange),var(--gradient-blue));
  transform:scaleX(0);transition:transform var(--transition-normal)
}
.logo:hover::after{transform:scaleX(1)}

/* ===========================
   DESKTOP NAV LINKS
============================= */
.nav-links{display:flex;align-items:center;gap:1rem;list-style:none}
.nav-item{position:relative}

.nav-link{
  color:var(--text-light);text-decoration:none;font-weight:500;
  padding:.75rem 1.25rem;border-radius:50px;transition:all var(--transition-normal);
  position:relative;overflow:hidden;display:flex;align-items:center;gap:.5rem;
}
.nav-link::before{
  content:'';position:absolute;inset:0;left:-100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);
  transition:left var(--transition-slow)
}
.nav-link:hover::before{left:100%}
.nav-link:hover{background:var(--glass-bg);color:var(--gradient-blue);transform:translateY(-2px)}
.nav-link.active{background:linear-gradient(135deg,var(--gradient-orange),var(--gradient-blue));color:#fff}

/* ===========================
   DROPDOWN (desktop defaults)
============================= */
.dropdown{position:relative}
.dropdown-toggle{
  display:flex;align-items:center;gap:.5rem;cursor:pointer;
  color:var(--text-light);text-decoration:none;font-weight:500;
  padding:.75rem 1.25rem;border-radius:50px;transition:all var(--transition-normal);
  background:none;border:none;
}
.dropdown-toggle:hover{background:var(--glass-bg);color:var(--gradient-blue);transform:translateY(-2px)}
.dropdown-toggle .dropdown-arrow{transition:transform var(--transition-normal);font-size:.8rem}
.dropdown.active .dropdown-arrow{transform:rotate(180deg)}

.dropdown-menu{
  position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(-10px) scale(.95);
  background:rgba(30,41,59,.95);backdrop-filter:blur(20px);
  border:1px solid var(--glass-border);border-radius:16px;
  padding:1rem 0;min-width:200px;opacity:0;visibility:hidden;
  transition:all var(--transition-ultra-soft);box-shadow:var(--glass-shadow);z-index:10000;
}
.dropdown.active .dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0) scale(1)}

.dropdown-item{
  display:block;padding:.75rem 1.5rem;color:var(--text-light);text-decoration:none;
  transition:all var(--transition-normal);position:relative;overflow:hidden;
}
.dropdown-item::before{
  content:'';position:absolute;left:0;top:0;width:3px;height:100%;
  background:linear-gradient(180deg,var(--gradient-orange),var(--gradient-blue));
  transform:scaleY(0);transition:transform var(--transition-fast)
}
.dropdown-item:hover::before{transform:scaleY(1)}
.dropdown-item:hover{background:var(--glass-bg);color:var(--gradient-blue);padding-left:2rem}

/* ===========================
   MOBILE NAVIGATION
============================= */
.hamburger{
  display:none;background:none;border:none;color:var(--text-light);
  font-size:1.5rem;cursor:pointer;padding:.75rem;border-radius:8px;transition:all var(--transition-normal)
}
.hamburger:hover{background:var(--glass-bg);transform:scale(1.1)}

@media (max-width:768px){
  .navbar{padding:0 1rem;height:95px}
  .navbar-right{display:block}
  .hamburger{display:block}

  /* Mobile Navigation Container */
  .nav-links{
    position:fixed;top:0;right:-100%;width:300px;height:90vh;
    background:rgba(15,23,42,.98);backdrop-filter:blur(30px);
    padding:3.5rem 0 2rem;border-left:1px solid var(--glass-border);
    box-shadow:-10px 0 30px rgba(0,0,0,.3);
    transition:all var(--transition-ultra-soft);
    z-index:10001;overflow-y:auto;display:flex;flex-direction:column;gap:0;
    border-left: 2px solid var(--accent-orange);
  }
  .nav-links.active{right:0}

  /* Mobile Menu Items Animation */
  .nav-links li{list-style:none;width:100%;opacity:0;transform:translateX(30px);transition:all var(--transition-ultra-soft)}
  .nav-links.active li{opacity:1;transform:translateX(0)}
  .nav-links.active li:nth-child(1){transition-delay:.1s}
  .nav-links.active li:nth-child(2){transition-delay:.15s}
  .nav-links.active li:nth-child(3){transition-delay:.2s}
  .nav-links.active li:nth-child(4){transition-delay:.25s}
  .nav-links.active li:nth-child(5){transition-delay:.3s}
  .nav-links.active li:nth-child(6){transition-delay:.35s}
  .nav-links.active li:nth-child(7){transition-delay:.4s}
  .nav-links.active li:nth-child(8){transition-delay:.45s}

  /* FIXED: Mobile Links - Consistent Alignment */
  .nav-links a,
  .nav-links .dropdown-toggle{
    display:block;width:100%;
    padding:.6rem 1.25rem;
    color:var(--text-light);text-decoration:none;font-weight:500;font-size:.95rem;
    border-left:3px solid transparent;border-radius:0;
    transition:background-color .2s,color .2s,border-color .2s;
  }
  .nav-links a:hover,
  .nav-links .dropdown-toggle:hover{
    background:rgba(255,255,255,.08);border-left-color:var(--gradient-blue);color:var(--gradient-blue)
  }

  /* Close Button */
  .close-btn{
    position:absolute;top:1rem;right:1rem;width:40px;height:40px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.3);
    color:var(--accent-red);font-size:1.3rem;cursor:pointer;transition:all var(--transition-ultra-soft)
  }
  .close-btn:hover{background:rgba(239,68,68,.2);color:#dc2626;transform:rotate(90deg) scale(1.1);box-shadow:0 4px 15px rgba(239,68,68,.3)}

  /* Mobile Navigation Overlay */
  .nav-overlay{
    position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:10000;
    transition:opacity var(--transition-ultra-soft);backdrop-filter:blur(2px)
  }
  .nav-overlay.hidden{opacity:0;pointer-events:none}
  .nav-overlay.active{opacity:1}
  .hamburger.active i{transform:rotate(90deg)}
  .hamburger:hover{background:rgba(255,255,255,.1);color:var(--gradient-blue)}

  /* FIXED: Mobile Dropdown Menu - Perfect Alignment */
  .nav-links .dropdown-menu{
    position:static !important;
    left:auto !important;right:auto !important;top:auto !important;transform:none !important;
    width:100% !important;margin:0 !important;min-width:0 !important;
    
    background:rgba(20,30,50,.95);
    border:1px solid rgba(255,255,255,.1);border-radius:12px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 4px 15px rgba(0,0,0,.3);
    padding:0.25rem 0;
    
    max-height:0;overflow:hidden;opacity:0;visibility:hidden;
    transition:max-height .4s cubic-bezier(.4,0,.2,1),opacity .2s ease,visibility .2s ease;
    z-index:auto;
  }
  .nav-links .dropdown.active .dropdown-menu{
    max-height:320px;opacity:1;visibility:visible;
  }

  /* FIXED: Mobile Dropdown Items - Same Alignment as Nav Links */
  .nav-links .dropdown-item{
    display:flex;align-items:center;width:100%;
    padding:.6rem 1.25rem !important;
    margin:0;border:0;border-radius:0;background:transparent;
    color:#f8fafc;text-decoration:none;font-size:.95rem;font-weight:500;
    border-left:3px solid transparent;
    transition:background-color .2s,color .2s,border-color .2s;
  }
  .nav-links .dropdown-item:hover,
  .nav-links .dropdown-item:focus{
    background:rgba(255,255,255,.08);color:#06b6d4;border-left-color:var(--gradient-blue);
  }

  /* Dropdown Toggle Specific Styling */
  .nav-links .dropdown-toggle{
    display:flex;align-items:center;justify-content:space-between;
    text-align:left;background:transparent;border:none;cursor:pointer;
  }

  /* Dropdown Arrow */
  .dropdown-arrow{font-size:1rem;color:#94a3b8;margin-left:auto;transition:transform .3s cubic-bezier(.4,0,.2,1)}
  .dropdown.active .dropdown-arrow{transform:rotate(180deg);color:#06b6d4}

  /* Icons in Dropdown Items */
  .nav-links .dropdown-item i{width:16px;margin-right:.75rem;text-align:center;color:#94a3b8}
  .nav-links .dropdown-item:hover i{color:#06b6d4}
  
  /* Icons in Regular Nav Items */
  .nav-links a i,
  .nav-links .dropdown-toggle i{margin-right:.75rem;width:16px;text-align:center}
}

/* Mobile Section Labels */
.nav-divider{height:1px;background:rgba(255,255,255,.1);margin:.5rem 0;list-style:none}
.nav-section-title{
  color:var(--accent-orange);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;
  margin:.75rem 0 .25rem;padding:0 1.25rem;list-style:none
}
.logout-link{color:var(--accent-red)!important}
.logout-link:hover{color:#dc2626!important;background:rgba(239,68,68,.1)!important;border-left-color:var(--accent-red)!important}

/* Desktop-only cleanup */
@media (min-width:769px){
  .hamburger,.close-btn,.nav-overlay{display:none}
  .nav-divider,.nav-section-title{display:none}
}

/* Focus states */
.nav-link:focus,.dropdown-toggle:focus,.hamburger:focus{
  outline:2px solid var(--accent-blue);outline-offset:2px
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* Enhanced scrollbar for mobile menu */
.nav-links::-webkit-scrollbar {
  width: 4px;
}

.nav-links::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.nav-links::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gradient-orange), var(--gradient-blue));
  border-radius: 2px;
}

.nav-links::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gradient-blue), var(--gradient-orange));
}