/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: #4a6cf7;
}

button {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
}

button:hover {
  opacity: 0.9;
}

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

.hidden {
  display: none;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo h1 {
  color: #4a6cf7;
  font-size: 24px;
  margin-bottom: 5px;
}

.logo p {
  font-size: 12px;
  color: #666;
}

.search-bar {
  flex: 1;
  max-width: 500px;
  display: flex;
  margin: 0 20px;
}

.search-bar input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.search-bar button {
  background-color: #4a6cf7;
  color: white;
  border-radius: 0 4px 4px 0;
  padding: 10px 15px;
}

.header-options {
  display: flex;
  gap: 10px;
}

.language-selector select,
.location-selector select {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.auth-buttons button {
  background-color: #4a6cf7;
  color: white;
}

.auth-buttons button:first-child {
  background-color: transparent;
  color: #4a6cf7;
  border: 1px solid #4a6cf7;
}

#user-profile {
  position: relative;
}

#user-profile span {
  font-weight: 500;
  cursor: pointer;
}

#user-profile .dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 10px 0;
  min-width: 180px;
  display: none;
  z-index: 10;
}

#user-profile:hover .dropdown {
  display: block;
}

#user-profile .dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 15px;
  background: none;
  color: #333;
  border-radius: 0;
}

#user-profile .dropdown button:hover {
  background-color: #f5f7fa;
}

#logout {
  color: #e74c3c !important;
  border-top: 1px solid #eee;
  margin-top: 5px;
  padding-top: 5px;
}

/* Category Navigation */
.category-nav {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
}

.category-nav .container {
  display: flex;
  gap: 10px;
}

.category-btn {
  background-color: #f0f2f5;
  color: #555;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
  background-color: #4a6cf7;
  color: white;
}

/* Add styles for the handicapped category button to make it stand out */
.category-btn[data-category="handicapped"] {
  background-color: #e1f5fe;
  color: #0288d1;
  font-weight: 500;
}

.category-btn[data-category="handicapped"]:hover,
.category-btn[data-category="handicapped"].active {
  background-color: #0288d1;
  color: white;
}

/* Job Statistics */
.job-stats {
  background-color: #fff;
  padding: 20px 0;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.job-stats .container {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat-item h3 {
  font-size: 28px;
  color: #4a6cf7;
  margin-bottom: 5px;
}

.stat-item p {
  color: #666;
  font-size: 14px;
}

/* Add styles for the disability banner */
.disability-banner {
  background-color: #e1f5fe;
  padding: 20px 0;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.disability-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.disability-icon {
  font-size: 40px;
  color: #0288d1;
  background-color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.disability-text {
  flex: 1;
}

.disability-text h3 {
  font-size: 22px;
  color: #0288d1;
  margin-bottom: 5px;
}

.disability-text p {
  font-size: 16px;
  color: #555;
}

.view-disability-jobs {
  background-color: #0288d1;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.view-disability-jobs:hover {
  background-color: #0277bd;
  transform: translateY(-2px);
}

/* Featured Companies */
.featured-companies {
  background-color: #fff;
  padding: 30px 0;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.featured-companies h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 22px;
}

.company-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

/* Improve the company card styles to make them more attractive */
.company-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #f0f7ff;
  border-color: #b3e5fc;
}

.company-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.company-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}

.company-card p {
  color: #4a6cf7;
  font-size: 14px;
  font-weight: 500;
}

/* Main Content */
.main-content {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}

/* Filters */
.filters {
  width: 280px;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.filters h3 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
}

.filter-group {
  margin-bottom: 15px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
}

.filter-group select,
.filter-group input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.salary-slider {
  display: flex;
  align-items: center;
  gap: 10px;
}

.salary-slider input {
  flex: 1;
}

#salary-value {
  font-size: 14px;
  color: #4a6cf7;
  font-weight: 500;
  min-width: 60px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  cursor: pointer;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.filter-buttons button {
  flex: 1;
}

#apply-filters {
  background-color: #4a6cf7;
  color: white;
}

#reset-filters {
  background-color: #f0f2f5;
  color: #555;
}

/* Job Listings */
.job-listings-container {
  flex: 1;
}

.job-listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.view-options {
  display: flex;
  gap: 10px;
}

.view-options button {
  background-color: #f0f2f5;
  color: #555;
}

.view-options button.active {
  background-color: #4a6cf7;
  color: white;
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-options label {
  font-size: 14px;
  color: #555;
}

.sort-options select {
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.job-listings {
  display: grid;
  gap: 20px;
}

.job-listings.grid-view {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.job-listings.list-view {
  grid-template-columns: 1fr;
}

.job-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.job-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.job-title-container {
  flex: 1;
}

.job-title {
  font-size: 18px;
  margin-bottom: 5px;
  padding-right: 30px;
}

.company-name {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.job-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  margin-right: 5px;
}

.badge-urgent {
  background-color: #ffebee;
  color: #e53935;
}

.badge-new {
  background-color: #e8f5e9;
  color: #43a047;
}

.badge-remote {
  background-color: #e3f2fd;
  color: #1e88e5;
}

/* Improve the badge-disability style to make it more visible */
.badge-disability {
  background-color: #e1f5fe;
  color: #0288d1;
  font-weight: 500;
  border: 1px solid #b3e5fc;
}

.like-button {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  padding: 0;
  font-size: 18px;
  color: #ddd;
}

.like-button.liked {
  color: #e53935;
}

.job-body {
  padding: 15px;
}

.job-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  text-align: center;
}

.job-info div {
  display: flex;
  flex-direction: column;
}

.job-info span:first-child {
  font-weight: 500;
  font-size: 14px;
}

.job-info span:last-child {
  font-size: 12px;
  color: #666;
}

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

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.job-tag {
  background-color: #f0f2f5;
  color: #555;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
}

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

.view-details {
  flex: 1;
  background-color: #4a6cf7;
  color: white;
}

.save-job {
  background-color: #f0f2f5;
  color: #555;
  padding: 8px 10px;
}

.save-job.saved {
  background-color: #4a6cf7;
  color: white;
}

.no-jobs {
  background-color: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #666;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.pagination button {
  background-color: #f0f2f5;
  color: #555;
}

.page-numbers {
  display: flex;
  gap: 5px;
  margin: 0 10px;
}

.page-number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f2f5;
  color: #555;
  border-radius: 4px;
  font-size: 14px;
}

.page-number.active {
  background-color: #4a6cf7;
  color: white;
}

/* Footer */
footer {
  background-color: #2d3748;
  color: #cbd5e0;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section p {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #cbd5e0;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #cbd5e0;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.newsletter-form button {
  background-color: #4a6cf7;
  color: white;
  border-radius: 0 4px 4px 0;
  padding: 10px 15px;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #cbd5e0;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto;
}

.modal-content {
  background-color: white;
  margin: 50px auto;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  width: 90%;
  max-width: 500px;
}

.job-detail-modal {
  max-width: 800px;
}

.profile-modal {
  max-width: 800px;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #333;
}

.modal h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 22px;
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

/* Add styles for invalid inputs */
.invalid-input {
  border: 2px solid #e53935 !important;
  background-color: #ffebee !important;
}

.invalid-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.3);
}

/* Add a validation message style */
.validation-message {
  color: #e53935;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.invalid-input + .validation-message {
  display: block;
}

.form-group input:invalid {
  border: 1px solid #e53935;
}

.form-group.remember-me {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-group.terms {
  margin-top: 15px;
}

.form-switch {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.modal form button {
  width: 100%;
  padding: 12px;
  background-color: #4a6cf7;
  color: white;
  font-size: 16px;
  margin-top: 10px;
}

/* OTP Verification */
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.otp-input {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.resend-otp {
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

/* Job Detail */
.job-detail-header {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.job-detail-logo {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.job-detail-title-container h2 {
  font-size: 24px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-detail-company {
  font-size: 16px;
  color: #666;
  margin-bottom: 5px;
}

.job-detail-posted {
  font-size: 14px;
  color: #888;
}

.job-detail-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

.detail-item h4 {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.detail-item p {
  font-size: 16px;
  font-weight: 500;
}

.job-detail-description,
.job-detail-requirements,
.job-detail-eligibility,
.job-detail-benefits {
  margin-bottom: 30px;
}

.job-detail-description h3,
.job-detail-requirements h3,
.job-detail-eligibility h3,
.job-detail-benefits h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.job-detail-description p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.job-detail-requirements ul,
.job-detail-eligibility ul,
.job-detail-benefits ul {
  list-style: none;
}

.job-detail-requirements li,
.job-detail-eligibility li,
.job-detail-benefits li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #555;
}

.job-detail-requirements li:before,
.job-detail-eligibility li:before,
.job-detail-benefits li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #4a6cf7;
}

.job-detail-disability {
  margin-bottom: 30px;
}

.job-detail-disability h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.job-detail-disability p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 10px;
}

.job-detail-disability ul {
  list-style: none;
}

.job-detail-disability li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #555;
}

.job-detail-disability li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #0288d1;
}

.job-detail-actions {
  display: flex;
  gap: 15px;
}

.apply-now {
  flex: 1;
  background-color: #4a6cf7;
  color: white;
  padding: 12px;
  font-size: 16px;
}

.like-job-detail,
.save-job-detail {
  background-color: #f0f2f5;
  color: #555;
  padding: 12px 20px;
  font-size: 16px;
}

.like-job-detail.liked {
  background-color: #e53935;
  color: white;
}

.save-job-detail.saved {
  background-color: #4a6cf7;
  color: white;
}

/* Apply Job */
.file-input {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.file-input input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-input label {
  background-color: #f0f2f5;
  color: #555;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: 0;
}

.file-name {
  font-size: 14px;
  color: #666;
}

/* Profile */
.profile-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 20px;
  background: none;
  color: #666;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}

.tab-btn.active {
  color: #4a6cf7;
  border-bottom-color: #4a6cf7;
}

.profile-info-content {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.profile-avatar {
  font-size: 80px;
  color: #ddd;
}

.profile-details {
  flex: 1;
}

.profile-detail-item {
  margin-bottom: 15px;
}

.profile-detail-item .label {
  font-weight: 500;
  margin-right: 10px;
  color: #666;
}

.profile-actions {
  display: flex;
  gap: 15px;
}

.profile-actions button {
  background-color: #f0f2f5;
  color: #555;
}

.profile-actions button:first-child {
  background-color: #4a6cf7;
  color: white;
}

/* Saved Jobs */
.saved-job-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
}

.saved-job-title {
  font-size: 18px;
  margin-bottom: 5px;
}

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

.saved-job-details {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #555;
}

.saved-job-actions {
  display: flex;
  gap: 10px;
}

.view-saved-job {
  background-color: #4a6cf7;
  color: white;
}

.remove-saved-job {
  background-color: #f0f2f5;
  color: #555;
}

.no-items {
  text-align: center;
  padding: 30px;
  color: #666;
}

/* Resume */
.resume-section {
  margin-bottom: 30px;
}

.resume-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.resume-info {
  margin-bottom: 20px;
}

.resume-info-item {
  margin-bottom: 10px;
}

.resume-info-item .label {
  font-weight: 500;
  margin-right: 10px;
  color: #666;
}

.add-button {
  background-color: #f0f2f5;
  color: #555;
  font-size: 14px;
}

.resume-actions {
  display: flex;
  gap: 15px;
}

.resume-actions button {
  flex: 1;
  background-color: #f0f2f5;
  color: #555;
}

.resume-actions button:first-child {
  background-color: #4a6cf7;
  color: white;
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  max-width: 350px;
}

.close-popup {
  float: right;
  font-size: 20px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-popup:hover {
  color: #333;
}

.popup h2 {
  margin-bottom: 10px;
  color: #333;
  font-size: 18px;
}

.popup p {
  margin-bottom: 15px;
  font-size: 14px;
  color: #555;
}

.popup-actions {
  display: flex;
  gap: 10px;
}

.popup-actions button {
  flex: 1;
  background-color: #4a6cf7;
  color: white;
}

.popup-actions button.secondary {
  background-color: #f0f2f5;
  color: #555;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

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

.toast-icon {
  color: #4caf50;
  font-size: 20px;
}

.toast-message {
  font-size: 14px;
  color: #333;
}

/* Pages for job application and user profile sections */
.page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5f7fa;
  z-index: 1100;
  overflow-y: auto;
  padding: 20px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-title {
  font-size: 24px;
  color: #333;
}

.back-button {
  background-color: #f0f2f5;
  color: #555;
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Split view for job application */
.split-view-container {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.job-details-panel {
  flex: 3;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.application-form-panel {
  flex: 2;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: sticky;
  top: 20px;
}

.application-form-panel h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 22px;
  text-align: center;
}

.submit-application {
  width: 100%;
  padding: 12px;
  background-color: #4a6cf7;
  color: white;
  font-size: 16px;
  margin-top: 20px;
}

/* Company jobs page */
.company-jobs-count {
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
}

.company-jobs-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Add styles for the per-hour text */
.per-hour {
  font-size: 12px;
  color: #666;
  margin-left: 2px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .main-content {
    flex-direction: column;
  }

  .filters {
    width: 100%;
    margin-bottom: 30px;
  }

  .job-listings.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .split-view-container {
    flex-direction: column;
  }

  .application-form-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 15px;
  }

  .search-bar {
    max-width: 100%;
    margin: 15px 0;
  }

  .job-stats .container {
    flex-direction: column;
    gap: 20px;
  }

  .company-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 576px) {
  .job-listings.grid-view {
    grid-template-columns: 1fr;
  }

  .job-detail-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .job-detail-actions {
    flex-direction: column;
  }

  .profile-info-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Add styles for company jobs page */
.company-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.company-detail-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.company-info h2 {
  font-size: 24px;
  margin-bottom: 5px;
  color: #333;
}

.company-info p {
  font-size: 16px;
  color: #4a6cf7;
  font-weight: 500;
}

.company-jobs-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Add styles for disability jobs page */
.disability-jobs-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #e1f5fe;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.disability-icon-large {
  font-size: 50px;
  color: #0288d1;
  background-color: white;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.disability-info h2 {
  font-size: 24px;
  margin-bottom: 5px;
  color: #0288d1;
}

.disability-info p {
  font-size: 16px;
  color: #555;
}

.disability-jobs-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.disability-job-card {
  border-left: 4px solid #0288d1;
}

/* Style for the apply now button */
.apply-now-btn {
  background-color: #4a6cf7;
  color: white;
  flex: 1;
}

/* Make sure the pages are properly styled */
#disability-jobs-page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5f7fa;
  z-index: 1100;
  overflow-y: auto;
  padding: 20px;
}

/* Add styles for the job details overlay within pages */
.job-details-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.job-detail-container {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.close-job-detail {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  color: #aaa;
  cursor: pointer;
  z-index: 10;
}

.close-job-detail:hover {
  color: #333;
}

/* Make sure the disability jobs page is properly styled */
#disability-jobs-page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5f7fa;
  z-index: 1100;
  overflow-y: auto;
  padding: 20px;
}

/* Enhance the disability job card styling */
.disability-job-card {
  border-left: 4px solid #0288d1;
  position: relative;
}

.disability-job-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #0288d1;
}

/* Style for the apply now button */
.apply-now-btn {
  background-color: #4a6cf7;
  color: white;
  flex: 1;
  font-weight: 500;
  transition: all 0.3s ease;
}

.apply-now-btn:hover {
  background-color: #3a5ce5;
  transform: translateY(-2px);
}

/* Improve the job detail overlay scrolling */
.job-detail-overlay {
  overflow-y: auto;
}

.job-detail-container::-webkit-scrollbar {
  width: 8px;
}

.job-detail-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.job-detail-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.job-detail-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Add styles for the application overlay */
.application-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.application-container {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  width: 95%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.close-application {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  color: #aaa;
  cursor: pointer;
  z-index: 10;
  padding: 5px;
}

.close-application:hover {
  color: #333;
}

/* Improve the application form styling */
.application-overlay-container .split-view-container {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.application-overlay-container .job-details-panel {
  flex: 1;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  height: fit-content;
}

.application-overlay-container .application-form-panel {
  flex: 2;
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* Make sure the application form is scrollable on smaller screens */
@media (max-width: 992px) {
  .application-overlay-container .split-view-container {
    flex-direction: column;
  }

  .application-container {
    padding: 20px;
    width: 95%;
    max-height: 85vh;
  }
}

/* Improve the back button styling and behavior */
.back-button {
  background-color: #f0f2f5;
  color: #555;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #e0e2e5;
  transform: translateX(-3px);
}

.back-button i {
  font-size: 16px;
}
