/* Recommendations Page Styles (moved from recommendations.html) */
.recommendations-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}
.recommendations-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 40px;
  text-align: center;
}
.recommendations-header h1 {
  margin: 0 0 10px 0;
}
.recommendations-header p {
  margin: 0;
  opacity: 0.9;
}
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}
.recommendation-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary-color);
  transition: all 0.3s;
}
.recommendation-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}
.match-score {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.recommendation-card h3 {
  color: #333;
  margin: 0 0 10px 0;
  font-size: 18px;
}
.location {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}
.reason {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  background: #f9f9f9;
  padding: 12px;
  border-radius: 5px;
}
.salary {
  color: #388e3c;
  font-weight: 600;
  margin-bottom: 15px;
}
.badges {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}
.badge {
  background: #f0f0f0;
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}
.btn-view-full {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-view-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.loading {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}
.empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  background: white;
  border-radius: 10px;
}
.empty h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}
.back-button {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 20px;
  background: #f0f0f0;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}
.back-button:hover {
  background: var(--primary-color);
  color: white;
}
/* Tablist box styling for dashboard tabs */
.tabs {
  background: #f8f9fc;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(102,126,234,0.07);
  padding: 24px 32px 0 32px;
  margin-bottom: 36px;
  border: 1.5px solid #e3e6f0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tabs > div[role="tablist"] {
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}
/* Add spacing between dashboard tab contents */
.tab-content {
  margin-top: 36px;
  margin-bottom: 36px;
  padding: 24px 0;
}

/* Add spacing between cards and sections inside tabs */
.tab-content > *:not(:last-child) {
  margin-bottom: 32px;
}
/* Ensure dashboard header user name is visible */
#user-name {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.15em;
  letter-spacing: 0.5px;
}
/* Tooltip and info-icon styles (moved from talent-profile.html) */
.info-icon {
  margin-left: 6px;
  cursor: pointer;
  font-size: 15px;
  color: #4299e1;
  border: none;
  background: none;
  padding: 0;
}
.tooltip {
  visibility: hidden;
  background: #333;
  color: #fff;
  text-align: left;
  border-radius: 4px;
  padding: 6px 12px;
  position: absolute;
  z-index: 10;
  font-size: 13px;
  margin-top: 4px;
  margin-left: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.info-icon:focus + .tooltip,
.info-icon:hover + .tooltip {
  visibility: visible;
}
/* Toast Notification Styles */
.toast {
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0.95;
  transform: translateY(0);
}
.toast-success {
  background: linear-gradient(90deg,#38a169,#4299e1);
}
.toast-error {
  background: linear-gradient(90deg,#e53e3e,#dd6b20);
}
.toast:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.03);
}
/* Smaller Remove button for dynamic entries */
.btn-remove {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-remove:hover {
  background: #f5c6cb;
}
/* Fancy Salary Expectations Styles */
.fancy-salary {
  margin-top: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(66,153,225,0.08);
  background: linear-gradient(90deg, #f8fafc 60%, #e3f0ff 100%);
  padding: 0 0 12px 0;
}
.salary-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  padding: 18px 24px 12px 24px;
  cursor: pointer;
  width: 100%;
  border-radius: 12px 12px 0 0;
  transition: background 0.2s;
}
.salary-toggle:hover {
  background: #e3f0ff;
}
.salary-icon {
  font-size: 28px;
  margin-right: 4px;
}
.salary-title {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
}
.salary-fancy-bg {
  background: #f8fafc;
  border-radius: 0 0 12px 12px;
  padding: 24px 24px 12px 24px;
  box-shadow: 0 1px 8px rgba(66,153,225,0.06);
}
.salary-input-group {
  display: flex;
  align-items: center;
  background: #e3f0ff;
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 1px 4px rgba(66,153,225,0.04);
}
.salary-input-icon {
  font-size: 18px;
  color: var(--primary-color);
  margin-right: 8px;
}
.salary-input-group input[type="number"] {
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  width: 100%;
  outline: none;
  padding: 8px 0;
}
.salary-hint {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 10px;
  margin-left: 2px;
}
/* Hamburger menu styles (ensure this is last for override) */
.navbar-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-left: 12px;
  z-index: 1002;
}
.hamburger-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar {
  z-index: 1003;
}
@media (max-width: 768px) {
  .navbar-hamburger {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    padding: 0;
    z-index: 1001;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav-links.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 16px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    text-align: left;
  }
  .navbar-flex {
    position: relative;
  }
}
@media (max-width: 480px) {
  .nav-links a {
    font-size: 15px;
    padding: 14px 12px;
  }
  .navbar-hamburger {
    width: 32px;
    height: 32px;
  }
  .hamburger-bar {
    width: 22px;
    height: 3px;
  }
}
/* ============================================================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   Change colors here to update the entire app theme
   ============================================================================ */
:root {
  /* Utility Classes for Margin, Padding, Color, Background, Border, Text */
  .mt-20 { margin-top: 20px !important; }
  .mb-20 { margin-bottom: 20px !important; }
  .mb-16 { margin-bottom: 16px !important; }
  .mb-24 { margin-bottom: 24px !important; }
  .pt-10 { padding-top: 10px !important; }
  .pb-10 { padding-bottom: 10px !important; }
  .p-10 { padding: 10px !important; }
  .p-12 { padding: 12px !important; }
  .p-16 { padding: 16px !important; }
  .p-20 { padding: 20px !important; }
  .p-24 { padding: 24px !important; }
  .bg-white { background: var(--bg-white) !important; }
  .bg-light { background: var(--bg-light) !important; }
  .bg-light-blue { background: var(--bg-light-blue) !important; }
  .bg-light-green { background: var(--bg-light-green) !important; }
  .bg-light-error { background: var(--bg-light-error) !important; }
  .border-radius-5 { border-radius: 5px !important; }
  .border-radius-8 { border-radius: 8px !important; }
  .border-radius-10 { border-radius: 10px !important; }
  .border-light { border: 2px solid var(--border-light) !important; }
  .border-primary { border: 2px solid var(--primary-color) !important; }
  .text-success { color: var(--success-color) !important; }
  .text-danger { color: var(--danger-color) !important; }
  .text-warning { color: var(--warning-color) !important; }
  .text-gray { color: var(--text-gray) !important; }
  .text-primary { color: var(--primary-color) !important; }
  .text-center { text-align: center !important; }
  .fw-600 { font-weight: 600 !important; }
  .fw-bold { font-weight: bold !important; }
  .w-100 { width: 100% !important; }
  .min-h-100 { min-height: 100px !important; }
  .font-inherit { font-family: inherit !important; }
  /* Primary Theme Colors */
  --primary-color: #1E3A8A;
  --secondary-color: #213642;
  
  /* Text Colors */
  --text-dark: #2d3748;
  --text-primary: #333;
  --text-medium: #555;
  --text-light: #666;
  --text-lighter: #999;
  --text-gray: #718096;
  --text-gray-dark: #4a5568;
  
  /* Background Colors */
  --bg-body: #f5f5f5;
  --bg-white: white;
  --bg-light: #f7fafc;
  --bg-light-blue: #ebf8ff;
  --bg-light-green: #e8f5e9;
  --bg-light-red: #ffebee;
  --bg-light-error: #ffe0e0;
  --bg-warning: #fef5e7;
  --bg-cv-upload: #f9f9f9;
  
  /* Status Colors */
  --success-color: #388e3c;
  --success-light: #48bb78;
  --danger-color: #d32f2f;
  --danger-light: #f56565;
  --warning-color: #f59e0b;
  --info-color: #2b6cb0;
  
  /* Border Colors */
  --border-light: #ddd;
  
  /* Shadow Colors */
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --shadow-darker: rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px var(--shadow-light);
}

.navbar-flex { display:flex; justify-content:space-between; align-items:center; gap:30px; }
.brand-area { display:flex; align-items:center; gap:25px; flex:1; }
.navbar-logo { height:24px; width:auto; display:block; }

/* Accessibility helper */
.visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important; border:0 !important; }

/* Responsive tweak: slightly larger logo on wider screens */
@media (min-width: 992px) {
  .navbar-logo { height: 28px; }
}

/* Responsive Navbar */

/* Responsive for major page containers */
@media (max-width: 768px) {
  .profile-setup-container {
    padding: 16px 4px;
    flex-direction: column;
    align-items: stretch;
  }
  .profile-setup-card {
    padding: 16px;
    max-width: 100vw;
  }
  .profile-container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .profile-header {
    padding: 24px 8px;
    font-size: 18px;
  }
  .profile-header h1 {
    font-size: 22px;
  }
  .profile-header p {
    font-size: 13px;
  }
  .profile-section {
    padding: 12px;
    max-width: 100vw;
  }
  .jobs-container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .jobs-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .dashboard-container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .dashboard-header {
    padding: 18px 8px;
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .profile-setup-card {
    padding: 8px;
  }
  .profile-header {
    padding: 12px 2px;
  }
  .profile-header h1 {
    font-size: 16px;
  }
  .profile-header p {
    font-size: 11px;
  }
  .profile-section {
    padding: 6px;
  }
  .jobs-container {
    padding: 0 2px;
  }
  .dashboard-container {
    padding: 0 2px;
  }
  .dashboard-header {
    padding: 8px 2px;
    font-size: 14px;
  }
}

/* Nav search */
.nav-search { display:flex; align-items:center; gap:6px; background: rgba(255,255,255,0.12); padding:4px 10px; border-radius:28px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.nav-search input { background:transparent; border:none; outline:none; color:#fff; width:185px; font-size:13px; font-weight:500; }
.nav-search input::placeholder { color:rgba(255,255,255,0.75); }
.nav-search input.focused { color:#fff; }
.nav-search .search-btn { background:#fff; color:var(--primary-color); border:none; padding:6px 14px; border-radius:20px; cursor:pointer; font-weight:600; font-size:13px; display:inline-flex; align-items:center; gap:4px; box-shadow:0 3px 10px var(--shadow-medium); transition:all .25s; }
.nav-search .search-btn:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,0.25); }
.nav-search .search-btn:active { transform:translateY(0); }

/* Responsive: further reduce on very small screens */
@media (max-width: 600px) {
  .brand-area { gap: 14px; }
  .nav-search input { width: 145px; font-size: 12px; }
  .nav-search .search-btn { padding:5px 12px; font-size:12px; }
}

.navbar h1 {
  font-size: 24px;
  margin-bottom: 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Enhanced navigation links - Modern & Attractive */
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Default link hover effect */
.nav-links a:not(.btn-primary):hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  opacity: 1;
}

.nav-links a:not(.btn-primary):active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.25);
}

/* Special styling for Login link */
.nav-links a#login-link {
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links a#login-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* User dashboard link styling */
.nav-links a#user-dashboard-link {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-links a#user-dashboard-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Logout link */
.nav-links a#logout-link {
  opacity: 0.9;
  cursor: pointer;
  pointer-events: auto;
  z-index: 1;
}

.nav-links a#logout-link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

/* Enhanced Sign Up button in navbar - Modern & Attractive */
.nav-links a.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nav-links a.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.nav-links a.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  opacity: 1;
}

.nav-links a.btn-primary:hover::before {
  left: 0;
}

.nav-links a.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Buttons */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Jobs Section */

/* Jobs Section (Unified with jobs-list) */
.jobs-section {
  padding: 60px 20px;
}

.jobs-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
  color: var(--text-primary);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

/* Job Card (Unified with jobs-list) */
.job-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  cursor: pointer;
  border-left: 4px solid var(--primary-color);
}

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

.job-card h3 {
  color: var(--primary-color);
  margin: 0 0 10px 0;
  font-size: 18px;
}

.job-card .company {
  color: #999;
  font-size: 14px;
  margin-bottom: 10px;
}

.job-card .location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.job-card .salary {
  color: #388e3c;
  font-weight: 600;
  margin-bottom: 15px;
}

.job-card .description {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.job-card .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.badge {
  display: inline-block;
  background: #f0f0f0;
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.badge.type {
  background: var(--bg-light-green);
  color: #2e7d32;
}

.btn-view {
  width: 100%;
  padding: 16px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  min-width: 44px;
  min-height: 44px;
}

.btn-view:hover {
  background: var(--secondary-color);
}

.job-card .badge {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 8px;
}

/* Footer */
footer {
  background: var(--text-primary);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* ============================================================================
   CV UPLOAD STYLING
   ============================================================================ */

.cv-upload-container {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-cv-upload);
  border: 2px dashed var(--primary-color);
  border-radius: 8px;
  margin-bottom: 15px;
}
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .jobs-section {
    padding: 30px 8px;
  }
  .job-card {
    padding: 15px;
  }
  .profile-info-card,
  .profile-form,
  .settings-card {
    padding: 15px;
    max-width: 100vw;
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .dashboard-header {
    padding: 18px 8px;
  }
  .tabs {
    gap: 6px;
    font-size: 13px;
    flex-wrap: wrap;
  }
  .tab-btn {
    font-size: 13px;
    padding: 10px 2px;
  }
  .btn {
    padding: 10px 16px;
    font-size: 15px;
  }
  .btn-save,
  .btn-outline {
    width: 100%;
    margin-bottom: 8px;
  }
  .form-group input,
  .form-group textarea {
    font-size: 13px;
    padding: 10px;
  }
  .cv-management-hint {
    font-size: 12px;
  }
  .company-form-group {
    margin-bottom: 12px;
  }
  .company-input,
  .company-submit-btn {
    padding: 10px;
    font-size: 13px;
  }

.btn-upload {
  padding: 10px 20px;
  .container {
    padding: 0 4px;
  }
  .dashboard-header h2 {
    font-size: 18px;
  }
  .dashboard-header p {
    font-size: 12px;
  }
  .job-card h3 {
    font-size: 16px;
  }
  .job-card p,
  .job-card .location {
    font-size: 12px;
  }
  .profile-info-card,
  .profile-form,
  .settings-card {
    padding: 8px;
  }
  .btn {
    padding: 8px 10px;
    font-size: 13px;
  }
  .tab-btn {
    font-size: 12px;
    padding: 8px 1px;
  }
  .form-group input,
  .form-group textarea {
    font-size: 12px;
    padding: 8px;
  }
  .cv-management-hint {
    font-size: 11px;
  }
  .company-label {
    font-size: 11px;
  }
  .company-input,
  .company-submit-btn {
    font-size: 12px;
    padding: 8px;
  }
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s;
}

.btn-upload:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-upload:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cv-file-name {
  color: var(--text-light);
  font-size: 14px;
  flex: 1;
  word-break: break-word;
}

.current-cv {
  padding: 15px;
  background: var(--bg-light-green);
  border-left: 4px solid var(--success-color);
  border-radius: 5px;
  margin-bottom: 15px;
}

.cv-label {
  margin: 0 0 10px 0;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.cv-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  transition: all 0.3s;
  margin-right: 10px;
}

.cv-link:hover {
  background: var(--primary-color);
  color: white;
}

.btn-delete-cv {
  padding: 8px 12px;
  background: var(--bg-light-red);
  color: var(--danger-color);
  border: 2px solid var(--danger-color);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-delete-cv:hover {
  background: var(--danger-color);
  color: white;
}

.upload-progress {
  padding: 15px;
  background: var(--bg-light-blue);
  border-radius: 5px;
  margin-bottom: 15px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  animation: progress 2s infinite;
}

@keyframes progress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

#upload-status {
  margin: 0;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
}

.cv-error {
  color: var(--danger-color);
  padding: 10px;
  background: var(--bg-light-error);
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 14px;
}

/* File input styling */
input[type="file"] {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .cv-upload-container {
    flex-wrap: wrap;
  }
  
  .cv-link,
  .btn-delete-cv {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .navbar .container {
    flex-direction: column;
    gap: 15px;
  }
}

/* Utility classes for talent dashboard */
.profile-link-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
}

.profile-link-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.skills-help-text {
  display: block;
  color: var(--text-light);
  margin-top: 4px;
  font-size: 12px;
}

.hidden {
  display: none;
}

.recommendations-link {
  width: 200px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.applications-note {
  margin-top: 20px;
  color: var(--text-lighter);
}

.applications-loading {
  text-align: center;
  padding: 40px;
  color: var(--text-lighter);
}

.applications-error {
  padding: 20px;
  background: #f8d7da;
  color: #721c24;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Employer dashboard specific styles */
.dashboard-subtitle {
  margin: 10px 0 0 0;
  opacity: 0.9;
}

.company-profile-container {
  background: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
}

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

.company-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.company-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  font-size: 14px;
}

.company-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.company-submit-btn:hover {
  background: #5568d3;
}

/* Clear button variant */
.filter-btn-clear {
  background: var(--text-lighter);
}

.filter-btn-clear:hover {
  background: #888;
}

/* Small label for form fields */
.label-small {
  font-size: 12px;
}

/* Tooltip styles */
.info-icon {
    margin-left: 6px;
    cursor: pointer;
    font-size: 15px;
    color: #4299e1;
    border: none;
    background: none;
    padding: 0;
}
.tooltip {
    visibility: hidden;
    background: #333;
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 6px 12px;
    position: absolute;
    z-index: 10;
    font-size: 13px;
    margin-top: 4px;
    margin-left: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.info-icon:focus + .tooltip,
.info-icon:hover + .tooltip {
    visibility: visible;
}
