* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --background-color: #f1f5f9;
  --text-color: #1e293b;
  --gray-light: #e2e8f0;
  --white: #ffffff;
}





body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Login Page Styles */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.login-container {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h2 {
  color: var(--text-color);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: #64748b;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.login-btn,
.submit-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--white);
  color: var(--primary-color);
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-btn:hover,
.submit-btn:hover {
  background: var(--secondary-color);
}

/* Navbar Styles */
.navbar {
  background: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-items a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-items a:hover,
.nav-items a.active {
  color: var(--primary-color);
}

.logout-btn {
  background: #ef4444;
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Dashboard Layout */
.dashboard {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sidebar {
  width: 300px;
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
}

.main-content {
  flex: 1;
}

.search-box {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-box input {
  padding-right: 2.5rem;
}

.search-box i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.filters h3 {
  margin-bottom: 1rem;
}

.filter-group {
  margin-bottom: 1rem;
}

/* Jobs List Styles */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.add-job-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jobs-list {
  display: grid;
  gap: 1rem;
}

.job-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
}

.job-logo {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  padding: 0.5rem;
  border: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.job-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.job-info {
  flex: 1;
}

.job-card h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.company {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  margin: 0.5rem 0;
}

.job-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.action-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  color: var(--white);
  flex: 1;
  justify-content: center;
  max-width: 150px;
}

.delete-btn {
  background-color: #ef4444;
}

.edit-btn {
  background-color: #f59e0b;
}

.apply-btn {
  background-color: var(--primary-color);
  max-width: 100%;
}

.action-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

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

.modal-content {
  background: var(--white);
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-light);
}

.modal-header h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #64748b;
}

/* Form inside modal */
.modal .form-group {
  margin-bottom: 1.5rem;
}

.modal .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.modal .form-group input,
.modal .form-group select,
.modal .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.modal .form-group input:focus,
.modal .form-group select:focus,
.modal .form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.modal .submit-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

/* Responsive modal */
@media (max-width: 768px) {
  .modal {
    padding: 1rem;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Profile Page Styles */
.profile-container {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-light);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar i {
  font-size: 3rem;
  color: #94a3b8;
}

.profile-details {
  max-width: 600px;
}

/* My Jobs Page Styles */
.application-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-accepted {
  background: #dcfce7;
  color: #166534;
}

.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.job-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 1rem;
  font-size: 0.875rem;
  margin: 0.5rem 0;
}

.job-type i {
  margin-right: 0.25rem;
}

.no-jobs-found p {
  color: #64748b;
}

/* Categories Section Styles */
.categories {
  padding: 4rem 2rem;
  background: var(--white);
  margin-top: 2rem;
}

.categories h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 2.5rem;
  position: relative;
}

.categories h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.category-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 1rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
}

.category-card:hover i {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.category-card h3 {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.category-card p {
  color: #64748b;
  font-size: 0.9rem;
}

/* Footer Styles */
.footer-bottom {
  background: var(--text-color);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}

.footer-bottom p {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .categories {
    padding: 3rem 1rem;
  }

  .category-card {
    padding: 1.5rem;
  }

  .category-card i {
    font-size: 2rem;
  }
}

.job-meta {
  margin-top: 1rem;
}

.job-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.job-tag {
  background: #f1f5f9;
  color: #475569;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.salary-tag {
  background: #ecfdf5;
  color: #047857;
  font-weight: 500;
}

.salary-tag i {
  color: #059669;
}

.job-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Application Status Styles */
.application-status {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-accepted {
  background: #dcfce7;
  color: #166534;
}

.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.no-applications {
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: 1rem;
  margin-top: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.no-applications i {
  font-size: 3rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.no-applications h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.no-applications p {
  color: #64748b;
}

/* Profile Image Styles */
.profile-image-container {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem;
  color: white;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-image-container:hover .profile-image-overlay {
  opacity: 1;
}

.profile-info {
  flex: 1;
}

.profile-info h2 {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.text-muted {
  color: #64748b;
  font-size: 0.9rem;
}

/* Update Profile Container Styles */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.profile-container {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}

/* Responsive Profile Styles */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .profile-image-container {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .profile-info {
    text-align: center;
  }
}
