/* View Resume Button Styling */
.view-resume-btn {
  background: linear-gradient(90deg, #2563eb 60%, #1e40af 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 7px 22px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px 0 rgba(37,99,235,0.10);
  cursor: pointer;
  margin-left: 10px;
}
.view-resume-btn:hover {
  background: linear-gradient(90deg, #1e40af 60%, #2563eb 100%);
}
/* View Applicants Button Styling */
.view-applicants-btn {
  background: linear-gradient(90deg, #2563eb 60%, #1e40af 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 7px 22px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px 0 rgba(37,99,235,0.10);
  cursor: pointer;
  margin-left: 10px;
}
.view-applicants-btn:hover {
  background: linear-gradient(90deg, #1e40af 60%, #2563eb 100%);
}
/* Jobs List Styling */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
.job-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.08);
  padding: 22px 24px 18px 24px;
  border: 1.5px solid #e0e7ef;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.job-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 4px;
}
.job-desc-short {
  color: #334155;
  font-size: 1rem;
  margin-bottom: 8px;
}
.view-more-btn {
  align-self: flex-end;
  background: linear-gradient(90deg, #2563eb 60%, #1e40af 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 7px 22px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px 0 rgba(37,99,235,0.10);
  cursor: pointer;
}
.view-more-btn:hover {
  background: linear-gradient(90deg, #1e40af 60%, #2563eb 100%);
}
/* Post a Job Form Styling */
.post-job-container {
  max-width: 540px;
  margin: 40px auto 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(37, 99, 235, 0.10), 0 1.5px 6px 0 rgba(0,0,0,0.04);
  padding: 36px 32px 28px 32px;
  font-family: 'Inter', Arial, sans-serif;
}

.post-job-container h2 {
  text-align: center;
  color: #2563eb;
  font-size: 2rem;
  margin-bottom: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.post-job-form label {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 7px;
  margin-top: 18px;
  letter-spacing: 0.1px;
}

.post-job-form input[type="text"],
.post-job-form input[type="email"],
.post-job-form input[type="number"],
.post-job-form input[type="date"],
.post-job-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 7px;
  font-size: 1rem;
  background: #f8fafc;
  margin-bottom: 2px;
  transition: border 0.2s;
  font-family: inherit;
}

.post-job-form textarea {
  min-height: 80px;
  resize: vertical;
}

.post-job-form input:focus,
.post-job-form textarea:focus {
  border-color: #2563eb;
  outline: none;
  background: #fff;
}

.post-job-form .checkbox-group {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 18px;
}

.post-job-form .checkbox-label {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #334155;
  font-size: 1rem;
}

.post-job-form .checkbox-label input[type="checkbox"] {
  accent-color: #2563eb;
  margin-right: 7px;
  width: 18px;
  height: 18px;
}

.post-job-form button[type="submit"] {
  width: 100%;
  background: linear-gradient(90deg, #2563eb 60%, #1e40af 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 7px;
  padding: 13px 0;
  margin-top: 22px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
}

.post-job-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #1e40af 60%, #2563eb 100%);
  box-shadow: 0 4px 16px 0 rgba(37, 99, 235, 0.13);
}

@media (max-width: 600px) {
  .post-job-container {
    padding: 18px 8px 18px 8px;
  }
  .post-job-container h2 {
    font-size: 1.3rem;
  }
}
/* Eye button for password field */
.eye-btn {
  position: absolute;
  right: 6px;
  top: 0;
  bottom: 20px;
  margin: auto 0;
  background: none;
  border: blueviolet;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  vertical-align: middle;
}
.eye-btn:hover, .eye-btn:focus {
  background: #f1f5f9;
  outline: none;
}
.eye-btn svg {
  width: 13px;
  height: 13px;
  stroke: #94a3b8;
  transition: stroke 0.2s;
}
.eye-btn.active svg {
  stroke: #2563eb;
}
.profile-input {
  width: 100%;
  padding: 8px 10px;
  font-size: 1rem;
  border: 1px solid #b6c6e3;
  border-radius: 5px;
  background: #fff;
  color: #1e293b;
  box-sizing: border-box;
  transition: border 0.2s;
  display: inline-block;
  vertical-align: middle;
}
.profile-input:focus {
  border: 1.5px solid #2563eb;
  outline: none;
}
.profile-fields {
  margin-top: 12px;
  background: #f8fafc;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.06);
  padding: 14px 16px 6px 16px;
  border: 1.5px solid #e0e7ef;
}
.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.profile-label {
  color: #2563eb;
  font-weight: 500;
  min-width: 120px;
}
.profile-value {
  color: #1e293b;
  font-weight: 400;
  display: inline-block;
  vertical-align: middle;
}
.profile-edit {
  text-align: right;
  margin-top: 10px;
}
.profile-edit a {
  color: #fff;
  background: #2563eb;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.profile-edit a:hover {
  background: #1e40af;
  color: #ffd700;
}


body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background-color: #f4f7fb;
  background-image:
    repeating-linear-gradient(135deg, #eaf1fb 0px, #eaf1fb 40px, #dbeafe 40px, #dbeafe 80px),
    linear-gradient(120deg, #eaf1fb 0%, #dbeafe 100%);
  background-blend-mode: lighten;
  background-size: 120px 120px, cover;
  background-repeat: repeat, no-repeat;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Card and form enhancements */
.container, .containerlogin, .post-job-container {
  box-shadow: 0 6px 32px rgba(44,62,80,0.13), 0 1.5px 6px 0 rgba(37,99,235,0.06);
  border-radius: 18px;
  border: 1.5px solid #e0e7ef;
  background: rgba(255,255,255,0.98);
}

.profile-fields, .post-job-form, .jobs-list, .job-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

input, textarea, select {
  background: #f8fafc;
  border: 1.5px solid #b6c6e3;
  border-radius: 7px;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(44,62,80,0.04);
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #2563eb;
  outline: none;
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
  background: #fff;
}

button, .view-more-btn {
  border-radius: 7px;
  font-size: 1.08rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
button:active, .view-more-btn:active {
  box-shadow: 0 1px 2px rgba(44,62,80,0.10);
}

/* Subtle hover for cards */
.job-card:hover, .container:hover, .containerlogin:hover, .post-job-container:hover {
  box-shadow: 0 8px 36px rgba(37,99,235,0.16), 0 2px 8px rgba(44,62,80,0.10);
  border-color: #b6c6e3;
}

.header {
  background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
  color: #fff;
  padding: 0;
  text-align: left;
  font-size: 2.2rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
  display: flex;
  align-items: center;
  height: 70px;
  justify-content: space-between;
  border-bottom: 3px solid #3b82f6;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Reports dropdown (search bar right side) */
.reports-toggle {
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap:6px;
}
.reports-toggle svg { display:block; }
.reports-toggle:hover, .reports-toggle:focus {
  background: #f8fafc;
}
.reports-toggle.icon-chevron { width:40px; height:36px; padding:8px; }
.reports-toggle .icon-people { width:18px; height:18px; }
.reports-toggle .icon-chev { width:12px; height:12px; transition: transform 0.18s ease; }
.reports-toggle.open .icon-chev { transform: rotate(180deg); }

/* Absolute placement at extreme right of search bar */
.reports-absolute { position:absolute; right:18px; top:50%; transform:translateY(-50%); z-index:2000; }
.reports-badge { font-size:0.72rem; margin-left:6px; padding:2px 6px; border-radius:999px; background:#eef2ff; color:#1e293b; display:inline-block; } 

.reports-dropdown {
  min-width: 200px;
}
.reports-item {
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 6px;
  color: #1f2937;
}
.reports-item:hover, .reports-item:focus {
  background: #f1f5f9;
  outline: none;
}
.reports-empty {
  padding: 8px 10px;
  color: #6b7280;
}

/* Two-column preview dropdown */
.preview-dropdown { display:none; }
.preview-dropdown .reports-list { }
.preview-dropdown .reports-preview { }
.preview-inner { min-height:100px; }
.preview-loading { color:#6b7280; font-size:0.95rem; }
.preview-name { font-size:1rem; }
.preview-role { font-size:0.95rem; }
.preview-contact { font-size:0.9rem; color:#374151; }

@media (max-width: 700px) {
  .reports-wrapper { margin-left: 6px; }
  .reports-dropdown { right: 0; left: auto; min-width:260px; }
  .preview-dropdown { flex-direction:column; gap:8px; }
  .preview-dropdown .reports-list { width:100%; border-right:none; }
  .preview-dropdown .reports-preview { width:100%; padding-left:0; }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 32px;
}
.header .greeting {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  margin-right: 8px;
}
.header .logout-link {
  background: #fff;
  color: #2563eb;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.header .logout-link:hover {
  background: #2563eb;
  color: #fff;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 32px;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

/* MyProfile layout */
.myprofile-container {
  display: flex;
  gap: 24px;
  margin: 28px auto;
  max-width: 1100px;
  padding: 18px;
}
.myprofile-sidebar {
  width: 220px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #e0e7ef;
  box-shadow: 0 2px 12px rgba(37,99,235,0.06);
  padding: 16px;
}
.vertical-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vertical-menu li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.vertical-menu li a:hover {
  background: linear-gradient(90deg, #2563eb10 0%, #1e40af10 100%);
  color: #2563eb;
}
.myprofile-content {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1.5px solid #e0e7ef;
  box-shadow: 0 2px 12px rgba(37,99,235,0.06);
}
.subsection { margin-top: 18px; }


.menu-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 8px rgba(44,62,80,0.04);
  padding: 0 32px;
  min-height: 48px;
  margin-bottom: 18px;
  border-bottom: 2px solid #3b82f6;
  position: sticky;
  top: 70px;
  z-index: 999;
}
.menu-left {
  display: flex;
  gap: 18px;
}
.menu-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.menu-bar a {
  letter-spacing: 0.5px;
  background: none;
  color: #2563eb;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  margin-right: 4px;
}
.menu-bar a:hover, .menu-bar .logout-link:hover {
  background: #2563eb;
  color: #fff;
}
.greeting {
  color: #1e293b;
  font-weight: 500;
  font-size: 1rem;
  margin-right: 8px;
}

.container {
  /* max-width: 420px; */
  margin: 40px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44,62,80,0.10);
  padding: 40px 36px 36px 36px;
  border: 1.5px solid #e0e7ef;
}
.containerlogin {
  max-width: 420px;
  margin: 40px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(44,62,80,0.12);
  padding: 40px 36px 36px 36px;
  border: 1.5px solid #e0e7ef;
}


h1, h2 {
  color: #2d3e50;
  margin-bottom: 18px;
  font-weight: 600;
h1, h2 {
  color: #1e293b;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0 18px 0;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  background: #f9fafb;
  transition: border 0.2s;
input[type="text"], input[type="password"], input[type="email"], select {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0 18px 0;
  border: 1.5px solid #b6c6e3;
  border-radius: 7px;
  font-size: 1rem;
  background: #f9fafb;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(44,62,80,0.04);
}
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus {
  border: 1.5px solid #2563eb;
  outline: none;
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
}

button {
  width: 100%;
  padding: 12px;
  background: #075eec;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
  box-shadow: 0 4px 16px rgba(44,62,80,0.12);
}

p {
  color: #4b5563;
  font-size: 1rem;
}

a {
  color: #2d3e50;
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  text-decoration: underline;
}

.error {
.profile-edit-link:hover {
  color: #1e40af;
  text-decoration: underline;
  background: #e3eafc;
  border-radius: 4px;
}
  margin-bottom: 18px;
  text-align: center;
}

.success {
  color: #27ae60;
  background: #eafaf1;
  border: 1px solid #b7e4c7;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 18px;
  text-align: center;
.error {
  color: #e74c3c;
  background: #fdecea;
  border: 1.5px solid #f5c6cb;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 18px;
  text-align: center;
  font-size: 1.05rem;
}
.success {
  color: #27ae60;
  background: #eafaf1;
  border: 1.5px solid #b7e4c7;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 18px;
  text-align: center;
  font-size: 1.05rem;
}
