/* Modern UI Style Sheet - style.css */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

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


/* Base Styling */
body {
  font-family: 'Inter', sans-serif;
  /* Changed background to #FFFFFF */
  background-color: #FFFFFF;
  /* Changed default text color to #0B0A4E */
  color: #0B0A4E;
  padding: 0;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
}


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

/* Header Styling */
header {
  /* New gradient colors: #56FFBD -> #0B0A4E */
  background: linear-gradient(135deg, #56FFBD, #0B0A4E);
  color: #FFFFFF;
  padding: 2.5rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #FFFFFF;
  text-align: center;
}

.header-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.95;
  max-width: 600px;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}










.loading-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  font-weight: 600;
  /* slightly muted color for loading text */
  color: #0B0A4E;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(86, 255, 189, 0.3);
  border-radius: 50%;
  border-top-color: #56FFBD;
  animation: spin 1s ease-in-out infinite;
  margin-right: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Job Card Styling with Modern Look */
.job-card {
  display: flex;
  justify-content: space-between;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background-color: #FFFFFF;
  position: relative;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(11, 10, 78, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(11, 10, 78, 0.12);
  border-color: #cbd5e1;
}

.job-card:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  /* Left bar uses #56FFBD -> #0B0A4E */
  background: linear-gradient(to bottom, #56FFBD, #0B0A4E);
  opacity: 0.2;
  transition: opacity 0.2s ease;
}

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

/* Left side: Job Content */
.job-content {
  flex: 1;
  padding-right: 1.5rem;
}

.company-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.job-content img.company-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.job-title-container h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0B0A4E;
  margin-bottom: 0.25rem;
}

.job-title-container p {
  color: #0B0A4E;
  font-size: 0.95rem;
  opacity: 0.8;
}

.job-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0;
}

.job-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0B0A4E;
  font-size: 0.9rem;
}

.job-detail-item svg {
  width: 18px;
  height: 18px;
  color: #0B0A4E;
  opacity: 0.8;
}

.job-summary {
  margin: 1rem 0;
  color: #0B0A4E;
  font-size: 0.95rem;
  line-height: 1.6;
}

.view-job-link {
  display: inline-flex;
  align-items: center;
  /* Use #0B0A4E or #56FFBD as link color; let's pick #0B0A4E for main text, highlight on hover */
  color: #0B0A4E;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}

.view-job-link:hover {
  color: #56FFBD;
  text-decoration: underline;
}

.view-job-link svg {
  width: 16px;
  height: 16px;
  margin-left: 0.25rem;
}

/* Tech Stack Badges */
.tech-stack {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-stack .skill {
  background-color: #e8fff5;
  color: #0B0A4E;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tech-stack .skill:hover {
  background-color: #c9ffe9;
  transform: translateY(-2px);
}

/* Right side: Job Meta Information */
.job-meta {
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  margin-left: 1rem;
  padding-left: 1.5rem;
  border-left: 1px solid #e2e8f0;
}

.job-info {
  text-align: right;
  margin-bottom: 1rem;
}

/* Make "Posted X hours ago" bold */
.job-info .posted-time {
  color: #0B0A4E;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 700; /* Bold */
}

.job-info .employment-type {
  display: inline-block;
  background-color: #f0f9ff;
  color: #0B0A4E;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Styled Checkbox Container */
.job-checkbox-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
}

.job-checkbox-container .job-checkbox {
  width: 22px;
  height: 22px;
  accent-color: #56FFBD;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 0;
  color: #0B0A4E;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.empty-state h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #0B0A4E;
}

.empty-state p {
  max-width: 400px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* Pagination Styling */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.pagination button {
  cursor: pointer;
  background-color: #FFFFFF;
  color: #0B0A4E;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid #56FFBD;
  background: #FFFFFF;
  transition: background 0.3s, color 0.3s;

}

.pagination button svg {
  width: 16px;
  height: 16px;
}

.pagination button:hover {
  background-color: #f7faff;
  border-color: #ccd6dd;
  color: #0B0A4E;
}

.pagination button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination .page-info {
  display: flex;
  align-items: center;
  color: #0B0A4E;
  font-size: 0.95rem;
  font-weight: 500;
}


.pagination button:hover:not(.disabled) {
  background: #56FFBD;
  color: #FFFFFF;
}

.pagination .page-info {
  color: #0B0A4E;
}


/* Footer */
footer {
  margin-top: 3rem;
  padding: 2rem 0;
  background-color: #f1f5f9;
  text-align: center;
  color: #0B0A4E;
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 0.5rem;
}

footer a {
  color: #56FFBD;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
  .job-card {
    flex-direction: column;
  }
  
  .job-meta {
    width: 100%;
    margin-top: 1.5rem;
    margin-left: 0;
    padding-left: 0;
    padding-top: 1.5rem;
    border-left: none;
    border-top: 1px solid #e2e8f0;
    flex-direction: row;
    align-items: center;
  }
  
  .job-info {
    text-align: left;
    margin-bottom: 0;
  }
  
  .job-checkbox-container {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .header-subtitle {
    font-size: 1rem;
  }
  
  .filter-panel {
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
  }
  
  .filter-group {
    width: 100%;
  }
  
  .job-controls {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  #downloadBtn {
    width: 100%;
    justify-content: center;
  }
  
  .job-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .job-info {
    margin-bottom: 1rem;
  }
  
  .job-checkbox-container {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .job-details {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
}

/* Additional modern styles to complement the main CSS */

/* Icons */
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.icon-large {
  width: 48px;
  height: 48px;
}

/* Company Logo Placeholder */
.company-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  /* You could use #56FFBD -> #0B0A4E as well */
  background: linear-gradient(135deg, #56FFBD, #0B0A4E);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Employment Type Badge */
.employment-type {
  background-color: #e8fff5;
  color: #0B0A4E;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Checkbox Styling */
.checkbox-label {
  font-size: 0.9rem;
  margin-left: 0.5rem;
  color: #0B0A4E;
}

/* Selected Count Badge */
.selected-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ef4444;
  color: #FFFFFF;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Notification System */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification {
  padding: 12px 20px;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #0B0A4E;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 300px;
}

.notification.show {
  transform: translateX(0);
}

.notification.info {
  border-left: 4px solid #56FFBD;
}

.notification.success {
  border-left: 4px solid #56FFBD; /* or a different color if needed */
}

.notification.error {
  border-left: 4px solid #ef4444;
}

/* Loading Animation */
@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.loading-indicator {
  animation: pulse 1.5s infinite;
}

/* Job Card Hover Effects */
.job-card:hover .view-job-link {
  text-decoration: underline;
}

.job-card:hover .tech-stack .skill {
  transform: translateY(-2px);
}

/* Improved Focus States */
button:focus,
input:focus,
select:focus {
  outline: none;
  /* Outline with the new accent color */
  box-shadow: 0 0 0 3px rgba(86, 255, 189, 0.3);
}

/* No Results State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: #0B0A4E;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
}

.empty-state svg {
  color: #cbd5e1;
  margin-bottom: 1rem;
}

/* Disabled Button State */
button.disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

button.disabled:hover {
  background: linear-gradient(135deg, #56FFBD, #0B0A4E);
  transform: none;
  box-shadow: none;
}

/* Selected Job Card Styling */
.job-checkbox:checked + .checkbox-label {
  color: #56FFBD;
  font-weight: 600;
}

.job-checkbox:checked ~ .job-card {
  border-color: #56FFBD;
}



/* Active Filter Pills */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  /* color scheme for active filters */
  background-color: #e8fff5;
  color: #0B0A4E;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid #b2ffe3;
}

.filter-pill .close-icon {
  margin-left: 6px;
  cursor: pointer;
  width: 16px;
  height: 16px;
}






/* —————————————————————
   NAVIGATION BAR 
   ————————————————————— */
.site-header {
    margin-bottom: 0px;
    background: #FFFFFF;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
  }

  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
  }

  .site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color:#0B0A4E;
    text-decoration: none;
    display: flex;
    align-items: center;
  
  }
  
  .site-logo img {
    height: 70px;        /* Set to whatever height fits your layout */
    width: auto;         /* Keeps aspect ratio */
    display: block;      /* Prevents extra space below the image */
  }
  

  .site-nav {
    display: flex;
    align-items: center;
  }

  .nav-links {
    display: flex;
    list-style: none;
    margin-right: 2rem;
  }

  .nav-links li {
    margin-left: 1.5rem;
  }

  .nav-links a {
    color: 
#0B0A4E;
    text-decoration: none;
    font-weight: 500;
  }

  .nav-actions {
    display: flex;
    gap: 1rem;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
  }

  .btn-login {
    background: transparent;
    color: 
#0B0A4E;
    border: 1px solid 
#0B0A4E;
  }

  .btn-signup {
    background: 
#56FFBD;
    color: 
#0B0A4E;
    border: none;
  }
  
  /* Other navigation styles remain the same */
  
  /* —————————————————————
     HERO SECTION
     ————————————————————— */
  .hero {
    /* background-color: #0B0A4E; */
    background: linear-gradient(135deg, #56FFBD, #0B0A4E);
    padding: 3.5rem 0 2rem; /* Adjusted padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0px;
    justify-content: space-between;
    min-height: 500px; /* Set minimum height for better appearance */
  }
  
  .hero-content {
    max-width: 800px; /* Slightly narrower for better readability */
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .hero-title {
    color: #FFFFFF;
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    white-space: nowrap;
  }
  
  .hero-subtitle {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin: 0 auto;
    max-width: 700px;
    opacity: 0.9;
  }
  
  /* User Testimonials */
  .testimonials {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem; /* Reduced from 7rem */
    color: #FFFFFF;
    margin-bottom: auto;
    padding-bottom: 2rem;
  }
  
  .user-avatars {
    display: flex;
    margin-bottom: 1rem;
  }
  
  .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    margin: 0 -8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .user-avatar:first-child {
    margin-left: 0;
  }
  
  .rating {
    color: #56FFBD;
    font-size: 1.5rem;
    margin: auto;
    letter-spacing: 0.1rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
  }




  /* Flash Messages */
.flash-container {
  max-width: 960px;
  margin: 1rem auto;
  padding: 0 1rem;
}
.alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}
.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}
.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}
