/* ReactQuill Rich Text Editor Styles */
.figma-rich-editor .ql-container {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-height: 150px;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
}

.figma-rich-editor .ql-toolbar {
  border: 1px solid #e5e7eb;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: #f9fafb;
  padding: 8px 12px;
}

.figma-rich-editor .ql-editor {
  padding: 12px 16px;
  min-height: 120px;
  line-height: 1.5;
}

.figma-rich-editor .ql-editor.ql-blank::before {
  color: #9ca3af;
  font-style: normal;
  left: 16px;
}

.figma-rich-editor.error .ql-container,
.figma-rich-editor.error .ql-toolbar {
  border-color: #ef4444;
}

.figma-rich-editor .ql-snow .ql-tooltip {
  z-index: 1000;
}

/* Toolbar button styles */
.figma-rich-editor .ql-snow.ql-toolbar button {
  border-radius: 4px;
  margin: 0 1px;
}

.figma-rich-editor .ql-snow.ql-toolbar button:hover {
  background-color: #e5e7eb;
}

.figma-rich-editor .ql-snow.ql-toolbar button.ql-active {
  background-color: #3b82f6;
  color: white;
}

/* Custom dropdown styles */
.figma-rich-editor .ql-snow .ql-picker.ql-header .ql-picker-label::before,
.figma-rich-editor .ql-snow .ql-picker.ql-header .ql-picker-item::before {
  content: "Normal";
}

.figma-rich-editor .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,
.figma-rich-editor .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
  content: "Heading 1";
}

.figma-rich-editor .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
.figma-rich-editor .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
  content: "Heading 2";
}

.figma-rich-editor .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
.figma-rich-editor .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
  content: "Heading 3";
}

/* Character Counter Styles */
.figma-character-counter {
  text-align: right;
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  padding: 0 4px;
}

.figma-character-counter.over-limit {
  color: #ef4444;
  font-weight: 500;
}

/* ReactQuill Character Counter Styles */
.character-count {
  text-align: right;
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  padding: 0 4px;
}

.character-count.over-limit {
  color: #ef4444;
  font-weight: 500;
}

/* Company Details Row Layout */
.figma-company-details-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.figma-company-details-row .figma-form-group {
  flex: 1;
  min-width: 150px;
}

/* Job Posting Form Styles */
.additional-form-fields {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.additional-form-fields .form-group {
  margin-bottom: 24px;
}

.additional-form-fields .form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 14px;
}

.additional-form-fields .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-color: #ffffff;
}

.additional-form-fields .form-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.additional-form-fields textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.additional-form-fields select.form-input {
  cursor: pointer;
}

/* Edit Profile Form Styles */
.edit-profile-form {
  max-width: 1200px;
  margin: 0 auto;
}

.form-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 32px;
  overflow: hidden;
}

.section-header {
  background: #f8fafc;
  padding: 24px 32px;
  border-bottom: 1px solid #e5e7eb;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
}

.section-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-control {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control.is-invalid {
  border-color: #ef4444;
}

.invalid-feedback {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
}

/* Phone Input Styles */
.phone-input-container .react-tel-input .form-control {
  width: 100% !important;
  padding-left: 50px !important;
}

.phone-input-container .react-tel-input .flag-dropdown {
  border: 1px solid #d1d5db;
  border-radius: 8px 0 0 8px;
  background: #f9fafb;
}

/* Autocomplete Styles */
.autocomplete-container {
  position: relative;
}

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

.autocomplete-item:hover {
  background-color: #f3f4f6;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

/* Logo Upload Styles */
.logo-upload-section {
  padding: 32px;
}

.logo-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #f9fafb;
}

.logo-upload-area:hover {
  border-color: #3b82f6;
  background: #eff6ff;
}

.logo-upload-area.drag-active {
  border-color: #3b82f6;
  background: #eff6ff;
  transform: scale(1.02);
}

.logo-preview {
  position: relative;
  display: inline-block;
}

.preview-image {
  max-width: 200px;
  max-height: 120px;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.remove-logo-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
}

.upload-placeholder {
  color: #6b7280;
}

.upload-icon {
  font-size: 48px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.upload-text {
  font-size: 16px;
  margin-bottom: 8px;
}

.upload-link {
  color: #3b82f6;
  font-weight: 500;
}

.upload-hint {
  font-size: 12px;
  color: #9ca3af;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding: 24px 32px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background: #2563eb;
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #e5e7eb;
  text-decoration: none;
  color: #374151;
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .section-header {
    padding: 20px 24px;
  }

  .form-actions {
    padding: 20px 24px;
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   JOB PREVIEW PAGE STYLES
   ======================================== */

/* Job Preview Header */
.job-preview-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
  margin-bottom: 32px;
}

.job-preview-header .header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.job-preview-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.job-preview-header .back-link:hover {
  color: #374151;
  text-decoration: none;
}

.job-preview-header .back-link i {
  font-size: 12px;
}

/* Job Preview Content */
.job-preview-content {
  min-height: calc(100vh - 200px);
  padding: 0;
}

.job-preview-content .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Job Preview Card */
.job-preview-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 32px;
  margin-bottom: 32px;
}

/* Job Header */
.job-header {
  margin-bottom: 32px;
}

.job-title-section {
  margin-bottom: 16px;
}

.job-title {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.company-info {
  margin-bottom: 16px;
}

.company-name {
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
}

.job-meta-item i {
  color: #9ca3af;
  width: 16px;
  text-align: center;
}

/* Job Sections */
.job-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
}

.job-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 16px 0;
}

.section-content {
  color: #374151;
  line-height: 1.6;
  font-size: 14px;
}

.section-content p {
  margin-bottom: 12px;
}

.section-content p:last-child {
  margin-bottom: 0;
}

/* Lists */
.responsibility-list,
.qualification-list {
  margin: 0;
  padding-left: 20px;
  color: #374151;
  line-height: 1.6;
}

.responsibility-list li,
.qualification-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.responsibility-list li:last-child,
.qualification-list li:last-child {
  margin-bottom: 0;
}

/* Job Details Grid */
.job-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.detail-item {
  display: block;
}

.detail-label {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
}

.detail-value {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* Skills */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #dbeafe;
}

/* Company Section */
.company-section {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.company-logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-description {
  flex: 1;
}

.company-description p {
  color: #374151;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 16px;
}

.view-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.view-profile-link:hover {
  color: #2563eb;
  text-decoration: none;
}

/* Action Buttons */
.job-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.btn-cancel {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}

.btn-cancel:hover {
  background: #e5e7eb;
}

.btn-publish {
  background: #60a5fa;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 14px;
}

.btn-publish:hover {
  background: #3b82f6;
}

/* Job Score Widget */
.job-score-widget {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 32px 24px;
  text-align: center;
  position: sticky;
  top: 32px;
}

/* Score Circle */
.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #60a5fa 0%, #60a5fa 108deg, #e5e7eb 108deg, #e5e7eb 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  position: relative;
}

.score-circle::before {
  content: "";
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  position: absolute;
}

.score-value {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  position: relative;
  z-index: 1;
}

.widget-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
}

.widget-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

/* Advisor Section */
.advisor-section {
  text-align: left;
}

.advisor-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px auto;
}

.advisor-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.advisor-content {
  width: 100%;
}

.advisor-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
  text-align: center;
}

.advisor-text {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* Responsive Design for Job Preview */
@media (max-width: 992px) {
  .job-score-widget {
    margin-top: 32px;
    position: static;
  }

  .job-meta {
    gap: 16px;
  }

  .job-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .job-preview-card {
    padding: 24px 16px;
  }

  .job-title {
    font-size: 24px;
  }

  .job-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .skills-container {
    gap: 8px;
  }

  .skill-tag {
    padding: 6px 12px;
    font-size: 13px;
  }

  .company-section {
    flex-direction: column;
    gap: 12px;
  }

  .job-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-cancel,
  .btn-publish {
    width: 100%;
    text-align: center;
  }

  .score-circle {
    width: 100px;
    height: 100px;
  }

  .score-circle::before {
    width: 75px;
    height: 75px;
  }

  .score-value {
    font-size: 20px;
  }
}

.figma-company-details-row .figma-company-name {
  flex: 0 0 calc(50% - 8px);
  min-width: 250px;
}

.figma-company-details-row .figma-founded-year,
.figma-company-details-row .figma-company-type,
.figma-company-details-row .figma-no-employees {
  flex: 0 0 calc(14.666% - 8px);
  min-width: 120px;
}

/* Industry Details Row Layout */
.figma-industry-details-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.figma-industry-details-row .figma-form-group {
  flex: 1;
  min-width: 150px;
}

.figma-industry-details-row .figma-industry {
  flex: 0 0 calc(50% - 8px);
  min-width: 200px;
}

.figma-industry-details-row .figma-company-website,
.figma-industry-details-row .figma-referred-by {
  flex: 0 0 calc(24% - 8px);
  min-width: 150px;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
  .figma-company-details-row,
  .figma-industry-details-row {
    flex-direction: column;
    gap: 12px;
  }

  .figma-company-details-row .figma-form-group,
  .figma-industry-details-row .figma-form-group {
    flex: 1;
    min-width: 100%;
  }
}

/* Designation Dropdown Styles */
.designation-example-dropdown {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  margin-top: 8px;
  padding: 16px;
  width: 100%;
}

.designation-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.designation-option-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: "Roboto", sans-serif;
}

.designation-option-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.designation-option-btn:active {
  background: #d1d5db;
  transform: translateY(1px);
}

.designation-dropdown-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.designation-apply-btn {
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: "Roboto", sans-serif;
}

.designation-apply-btn:hover {
  background: #2563eb;
}

.designation-apply-btn:active {
  background: #1d4ed8;
  transform: translateY(1px);
}

.mandatory-mark {
  color: red;
}

/* User Profile Page Styles - Pixel Perfect Design */

/* Profile Header */
.profile-header {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #374151;
  text-decoration: none;
}

.back-link i {
  font-size: 12px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}

.edit-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 16px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.edit-profile-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  text-decoration: none;
  color: #374151;
}

.edit-profile-btn i {
  font-size: 14px;
}

/* Profile Content */
.profile-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* Profile Content Container */
.profile-content {
  min-height: calc(100vh - 200px);
  padding: 0;
}

.profile-content .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Profile Header Card (Horizontal Layout) */
.profile-header-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-header-card .profile-avatar {
  flex-shrink: 0;
}

.profile-header-card .profile-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f3f4f6;
}

.profile-header-card .profile-basic-info .profile-name {
  font-size: 28px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.profile-header-card .profile-basic-info .profile-designation {
  font-size: 16px;
  color: #3b82f6;
  font-weight: 500;
  margin: 0;
}

.profile-header-card .profile-contact-info {
  min-width: 300px;
}

.profile-header-card .contact-item {
  font-size: 14px;
  color: #374151;
}

.profile-header-card .contact-label {
  color: #6b7280;
  font-weight: 500;
}

.profile-header-card .contact-value {
  color: #111827;
  font-weight: 400;
}

/* Left Profile Card */
.profile-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.profile-card-body {
  padding: 32px 24px;
}

.profile-avatar-section {
  text-align: center;
  margin-bottom: 24px;
}

.profile-avatar-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f3f4f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.profile-name {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.profile-designation {
  font-size: 16px;
  color: #3b82f6;
  font-weight: 500;
  margin: 0 0 24px 0;
}

.contact-info {
  text-align: right;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-label {
  color: #6b7280;
  font-weight: 500;
}

.contact-value {
  color: #111827;
  font-weight: 400;
}

/* Personal Information Card */
.personal-info-card {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.personal-info-header {
  background: #f8fafc;
  padding: 24px 32px;
  border-bottom: 1px solid #e5e7eb;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.personal-info-content {
  padding: 32px;
  background: #eef6ff;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-row.full-width {
  grid-template-columns: 1fr;
}

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  margin-bottom: 4px;
}

.field-value {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 14px;
  color: #111827;
  line-height: 1.5;
  font-weight: 600;
}

/* Footer */
.profile-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 24px 0;
  text-align: center;
}

.copyright-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .header-left {
    flex-direction: column;
    gap: 12px;
  }

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

  .profile-content {
    padding: 24px 16px;
  }

  .profile-card-body {
    padding: 24px 16px;
  }

  .personal-info-header {
    padding: 20px 16px;
  }

  .personal-info-content {
    padding: 24px 16px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-info {
    text-align: left;
  }

  .contact-item {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }
}

/* Sidebar User Profile Link Styles */
.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.user-profile:hover {
  background-color: #f3f4f6;
  text-decoration: none;
  color: inherit;
}

.user-profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-profile .user-details h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.user-profile .user-details p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* View Profile Main Content Layout */
.view-profile-content {
  margin-left: 280px;
  min-height: 100vh;
  background: #f8fafc;
}

/* Profile Image Upload Styles */
.profile-avatar-img {
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-avatar-img:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

/* Mobile responsive for view profile */
@media (max-width: 768px) {
  .view-profile-content {
    margin-left: 0;
  }
}

/* Enhanced Phone Input Flag Positioning */
.figma-phone-wrapper .react-tel-input .flag-dropdown {
  border: 1px solid #d1d5db !important;
  border-right: none !important;
  border-radius: 6px 0 0 6px !important;
  background: white !important;
  height: 44px !important;
  width: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8px !important;
}

.figma-phone-wrapper .react-tel-input .flag-dropdown:hover {
  background-color: #f9fafb !important;
}

.figma-phone-wrapper .react-tel-input .flag-dropdown .selected-flag {
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.figma-phone-wrapper .react-tel-input .flag-dropdown .selected-flag .flag {
  margin-right: 4px !important;
  transform: scale(1.1) !important;
}

.figma-phone-wrapper .react-tel-input .flag-dropdown .arrow {
  margin-left: 2px !important;
  border-left: 3px solid transparent !important;
  border-right: 3px solid transparent !important;
  border-top: 4px solid #6b7280 !important;
}

/* Sidebar Collapse Styles */
.sidebar-collapsed {
  width: 60px !important;
  transition: width 0.3s ease;
}

.sidebar-collapsed .sidebar-header {
  padding: 10px 5px;
  text-align: center;
}

.sidebar-collapsed .drjob-creator-badge {
  display: none;
}

/* Navigation Items in Collapsed Mode */
.sidebar-collapsed .components li a {
  padding: 15px 10px;
  justify-content: center;
  text-align: center;
}

.sidebar-collapsed .nav-text {
  display: none;
}

.sidebar-collapsed .notification-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 18px;
  height: 18px;
  padding: 2px 6px;
  font-size: 10px;
  line-height: 14px;
}

.sidebar-collapsed .sidebar-icon {
  margin-right: 0 !important;
  font-size: 18px;
}

/* Responsive behavior for small screens */
@media (max-width: 768px) {
  /* In small view, show only icons when collapsed */
  .sidebar-collapsed {
    width: 50px !important;
  }

  .sidebar-collapsed .components li a {
    padding: 12px 8px;
  }

  .sidebar-collapsed .sidebar-icon {
    font-size: 16px;
  }

  /* Hide all text elements in small view when collapsed */
  .sidebar-collapsed .nav-text,
  .sidebar-collapsed .creator-info,
  .sidebar-collapsed .creator-name,
  .sidebar-collapsed .creator-count {
    display: none !important;
  }
}

/* Smooth transitions for all elements */
.components li a,
.nav-text,
.sidebar-header {
  transition: all 0.3s ease;
}
.salary-range-select option {
  color: #111827 !important;
  background-color: #fff !important;
  font-weight: normal !important;
}

.salary-range-select {
  color: #111827 !important;
}

select.salary-range-select option {
  color: #111827 !important;
  background: #fff !important;
}

.basic-select.salary-range-select option {
  color: #111827 !important;
  background: #fff !important;
}

/* Tooltip Styles */
.info-icon {
  position: relative;
  cursor: pointer;
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #9ca3af;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  font-size: 12px;
  color: white;
  margin-left: 8px;
}

.info-icon:before {
  content: "i";
  font-style: normal;
  font-weight: bold;
}

.info-icon[data-tooltip]:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 183%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #a5c5e5;
  color: #000;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  /* max-width: 200px; */
  /* white-space: pre; */
  word-wrap: break-word;
  text-align: left;
}

.info-icon[data-tooltip]:hover:before {
  content: "";
  position: absolute;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1f2937;
  z-index: 1001;
}

.info-icon[data-tooltip-wide]:hover:after {
  white-space: normal;
  max-width: 500px;
  min-width: 300px;
}

.currency-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.currency-modal {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 700px;
  width: 90%;
  max-height: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.currency-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.currency-option {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  transition: all 0.2s;
}

.currency-option.selected {
  background-color: #f3f4f6;
}
.currency-list {
  max-height: 300px;
  overflow-y: auto;
}

.city-tags {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #f6f6f6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.5;
}

.city-tag {
  background-color: #a5c5e5;
  padding: 5px;
  border-radius: 12px;
}
.city-input {
  border: none;
}

/* My Jobs Dropdown Menu Styles */
.dropdown-menu-item {
  position: relative;
}

.nav-item-with-dropdown {
  cursor: pointer;
}

.nav-item-with-dropdown .dropdown-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #666;
  transition: transform 0.3s ease;
}

.dropdown-menu-item.active .dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8f9fa;
  border-left: 3px solid #007bff;
  animation: slideDown 0.3s ease;
}

.dropdown-submenu li {
  padding: 0;
  margin: 0;
}

.dropdown-submenu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 10px 30px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
}

.dropdown-submenu li a:hover {
  background-color: #e9ecef;
  color: #007bff;
}

.job-status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.job-status.live {
  background-color: #d4edda;
  color: #155724;
}

.job-status.filter {
  background-color: #d1ecf1;
  color: #0c5460;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 200px;
  }
}

/* Hide dropdown arrow when sidebar is collapsed */
.sidebar-collapsed .dropdown-arrow {
  display: none;
}

/* Adjust submenu for collapsed sidebar */
.sidebar-collapsed .dropdown-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 250px;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 0 8px 8px 0;
}

.nav-item-with-dropdown .fa-chevron-up {
  top: 20px !important;
}

.dropdown-submenu li:last-child {
  position: initial !important;
  margin-top: auto !important;
}
/* Preview Job page */

.preview-main-panel {
  padding-top: 30px;
}

.preview-content-block {
  padding-bottom: 20px;
}

.preview-content-block p {
  font-size: 13px;
  line-height: 21px;
}

.preview-content-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.preview-content-block ul {
  font-size: 13px;
  line-height: 34px;
  color: #555;
}

.preview-key-skill-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  padding-top: 8px;
}

.preview-key-skill-tag {
  background: #e9f4ff;
  padding: 6px 15px;
  border-radius: 100px;
  display: inline-flex;
  font-size: 13px;
  color: #333;
}

.preview-about-company {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #d4dee9;
  border-bottom: 1px solid #d4dee9;
  padding-top: 30px;
  padding-bottom: 30px;
}

.preview-about-company-logo {
  width: 153px;
  flex-shrink: 0;
}

.preview-about-company-cont {
  width: 100%;
}

.preview-about-company-title.preview-about-top {
  align-items: flex-start !important;
}

.preview-about-company.preview-about-company-top-panel {
  border-top: none !important;
}

.preview-about-company-title.preview-about-top h3 {
  font-size: 18px;
}

.preview-about-company-cont h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.preview-about-company-cont h4 {
  font-size: 15px;
  font-weight: 400;
  color: #555;
}

.preview-about-company-cont p {
  font-size: 13px;
  line-height: 21px;
  color: #333;
}

.preview-about-company-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 15px;
}

.outline-btn {
  color: #282828;
  border: 1px solid #8fc0f0;
  padding: 7px 24px;
  border-radius: 100px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.preview-eye {
  background: url("/images/preview-eye.svg") no-repeat 0 0;
  background-size: contain;
  width: 17px;
  height: 12px;
  display: block;
  flex-shrink: 0;
}

.readmore-link a {
  color: #448fdb;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.readmore-link a:hover {
  text-decoration: underline;
}

.share-icon {
  background: url("/images/share-icon.svg") no-repeat 0 0;
  width: 18px;
  height: 20px;
  display: block;
  background-size: contain;
}

.preview-about-company-list {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  gap: 15px;
  margin-top: 20px;
}

.preview-about-company-list li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.preview-about-company-list i {
  height: 13px;
  display: block;
  flex-shrink: 0;
  background-size: contain;
}

.loc-icon {
  background: url("/images/location-icon.svg") no-repeat;
  width: 11px;
}

.wallet-icon {
  background: url("/images/wallet-icon.svg") no-repeat;
  width: 14px;
}

.time-icon {
  background: url("/images/time-icon.svg") no-repeat;
  width: 13px;
}

.vacancy-icon {
  background: url("/images/vacancy-icon.svg") no-repeat;
  width: 13px;
}

.btn-blue {
  background: #448fdb !important;
  color: #fff !important;
}

.btn-blue:hover {
  background: #3075b9 !important;
}

.btn-cancel:hover {
  background: #a5c5e5 !important;
}

.top-main-header {
  padding: 15px;
  background: #fff;
  display: flex;
  justify-content: flex-end;
}

.top-main-lang {
  width: 137px;
}

.top-main-lang select.basic-select {
  border-radius: 100px;
  background-color: #fff;
}

.status-active {
  background: #dcfce7;
  color: #16a34a;
}

.status-inactive {
  background: #f3f4f6;
  color: #6b7280;
}

.status-expired {
  background: #fee2e2;
  color: #dc2626;
}

.status-archived {
  background: #e5e7eb;
  color: #374151;
}

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

.status-filtering {
  background: #e0e7ff;
  color: #6366f1;
}

.status-unknown {
  background: #f9fafb;
  color: #9ca3af;
}

@media (max_width: 767px) {
  .preview-about-company {
    flex-direction: column;
  }

  .preview-about-company {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* Two-Factor Authentication Toggle Styles */
.two-factor-toggle-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.toggle-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  margin: 0;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e5e7eb;
  border-radius: 28px;
  transition: background-color 0.3s ease;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #a5c5e5;
}

.toggle-switch input:focus + .toggle-slider {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  user-select: none;
}

.toggle-switch input:checked + .toggle-slider + .toggle-label {
  color: #a5c5e5;
}

/* Hover effects */
.toggle-switch:hover .toggle-slider {
  background-color: #d1d5db;
}

.toggle-switch:hover input:checked + .toggle-slider {
  background-color: #000;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .two-factor-toggle-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Disabled state for two-factor toggle */
.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.toggle-switch input:disabled + .toggle-slider + .toggle-label {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Loading state styling */
.toggle-label.updating {
  color: #6b7280;
  font-style: italic;
}

/* ======================
   JOB DETAILS COMPONENTS STYLES
   ====================== */

/* ======================
   SCREENING COMPONENT STYLES
   ====================== */

.screening-wrapper {
  padding: 32px;
  background: #f8fafc;
  min-height: calc(100vh - 200px);
}

.screening-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.screening-header .header-content h1 {
  font-size: 32px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.screening-header .header-content p {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

.screening-header .header-search {
  background: white;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.screening-header .header-search i {
  font-size: 18px;
  color: #3b82f6;
}

/* Screening Stats Cards */
.screening-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-screened .stat-icon {
  background: #ef4444;
  color: white;
}

.stat-potential .stat-icon {
  background: #3b82f6;
  color: white;
}

.stat-verified .stat-icon {
  background: #22c55e;
  color: white;
}

/* Candidates Section */
.candidates-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.candidate-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.candidate-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.candidate-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.candidate-info h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.candidate-info p {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

.match-score .match-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.match-circle span {
  font-size: 20px;
  font-weight: 700;
}

.match-circle small {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Match Justification */
.candidate-content {
  margin-bottom: 32px;
}

.match-justification {
  margin-bottom: 24px;
}

.match-justification h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 12px 0;
}

.match-justification p {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin: 0;
}

/* Strengths and Weaknesses */
.strengths-weaknesses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.strengths h4,
.weaknesses h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.strengths ul,
.weaknesses ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.strengths li,
.weaknesses li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

.strengths li:last-child,
.weaknesses li:last-child {
  margin-bottom: 0;
}

/* Candidate Actions */
.candidate-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.action-buttons-left,
.action-buttons-right {
  display: flex;
  gap: 12px;
}

.candidate-actions button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-view-status {
  background: #f1f5f9;
  color: #475569;
}

.btn-view-status:hover {
  background: #e2e8f0;
}

.btn-add-note {
  background: #f1f5f9;
  color: #475569;
}

.btn-add-note:hover {
  background: #e2e8f0;
}

.btn-reject {
  background: #fee2e2;
  color: #dc2626;
}

.btn-reject:hover {
  background: #fecaca;
}

.btn-send-ai-interview {
  background: #dbeafe;
  color: #2563eb;
}

.btn-send-ai-interview:hover {
  background: #bfdbfe;
}

.btn-schedule-interview {
  background: #fbbf24 !important;
  color: white !important;
}

.btn-schedule-interview:hover {
  background: #f59e0b !important;
}

.btn-send-ai-interview {
  background: #dbeafe !important;
  color: #2563eb !important;
}

.btn-send-ai-interview:hover {
  background: #bfdbfe !important;
}

/* Screening Pagination - using existing pagination styles */
.screening-pagination,
.interview-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding: 20px 24px;
}

.screening-pagination .pagination-info,
.interview-pagination .pagination-info {
  font-size: 14px;
  color: #64748b;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
}

.screening-pagination .page-numbers,
.interview-pagination .page-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
}

.screening-pagination .page-btn,
.interview-pagination .page-btn {
  padding: 8px 15px;
  border: 1px solid #add4fa;
  background: white;
  border-radius: 8px;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.screening-pagination .page-btn:hover,
.interview-pagination .page-btn:hover {
  background: #e0edfa;
}

.screening-pagination .page-btn.active,
.interview-pagination .page-btn.active {
  background: #e0edfa;
  border-color: #add4fa;
  color: var(--primary-color);
}

/* ======================
   INTERVIEW COMPONENT STYLES
   ====================== */

.interview-wrapper {
  padding: 32px;
  background: #f8fafc;
  min-height: calc(100vh - 200px);
}

.interview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.interview-header .header-content h1 {
  font-size: 32px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.interview-header .header-content p {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

.interview-header .header-search {
  background: white;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.interview-header .header-search i {
  font-size: 18px;
  color: #3b82f6;
}

.interview-main-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

/* Candidate Profile Section */
.candidate-profile-section {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.candidate-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.candidate-basic-info h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.candidate-basic-info p {
  font-size: 16px;
  color: #64748b;
  margin: 0 0 12px 0;
}

.best-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: #166534;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.best-match-badge i {
  color: #22c55e;
}

.best-match-badge small {
  display: block;
  font-size: 10px;
  color: #15803d;
  margin-top: 2px;
}

.candidate-menu .menu-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #64748b;
  font-size: 16px;
}

/* Interview Process */
.interview-process h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 24px 0;
}

.interview-stages {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.interview-stage {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.interview-stage.completed {
  background: #dcfce7;
  border-left: 4px solid #22c55e;
}

.interview-stage.current {
  background: #dbeafe;
  border-left: 4px solid #3b82f6;
}

.interview-stage.pending {
  background: #f1f5f9;
  border-left: 4px solid #cbd5e1;
}

.stage-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.interview-stage.completed .stage-icon {
  background: #22c55e;
  color: white;
}

.interview-stage.current .stage-icon {
  background: #3b82f6;
  color: white;
}

.interview-stage.pending .stage-icon {
  background: #94a3b8;
  color: white;
}

.stage-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.stage-content p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 12px 0;
}

.stage-action-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.stage-action-btn:hover {
  background: #2563eb;
}

/* Actions Panel */
.actions-panel {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: fit-content;
}

.actions-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 20px 0;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* Job Table Action Buttons - Horizontal Layout */
.jobs-table .action-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 0;
  justify-content: center;
}

.jobs-table .action-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  margin: 0;
}

.action-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.jobs-table .action-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.action-btn i {
  width: 16px;
  text-align: center;
  color: #64748b;
}

.decision-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.decision-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px 0;
}

.btn-move-to-final {
  background: #22c55e;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  margin-bottom: 8px;
  transition: background 0.2s ease;
}

.btn-move-to-final:hover {
  background: #16a34a;
}

.btn-reject {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-reject:hover {
  background: #fecaca;
  border-color: #fca5a5;
}

/* Interview Candidates List */
.interview-candidates-list {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
}

.candidate-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.candidate-list-item:hover {
  background: #f8fafc;
}

.candidate-list-item.selected {
  background: #dbeafe;
  border: 1px solid #3b82f6;
}

.candidate-list-item:last-child {
  margin-bottom: 0;
}

.candidate-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.candidate-list-item .candidate-info {
  flex: 1;
}

.candidate-list-item .candidate-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.candidate-list-item .candidate-info p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 8px 0;
}

.best-match-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #166534;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
}

.best-match-mini i {
  color: #22c55e;
  font-size: 8px;
}

.best-match-mini small {
  display: none;
}

/* ======================
   FINAL DECISION COMPONENT STYLES
   ====================== */

.final-decision-wrapper {
  padding: 32px;
  background: #f8fafc;
  min-height: calc(100vh - 200px);
}

.final-decision-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.final-decision-header .header-content h1 {
  font-size: 32px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.final-decision-header .header-content p {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

.final-decision-header .header-search {
  background: white;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.final-decision-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

/* Candidates Section */
.candidates-section {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: fit-content;
}

.candidates-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.candidates-header .candidates-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 24px 0;
}

/* Tab Navigation */
.candidates-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s ease;
}

.tab-btn.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}

.tab-btn:hover {
  color: #374151;
}

/* Candidates List */
.candidates-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.candidate-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.candidate-item:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.candidate-item.selected {
  background: #dbeafe;
  border-color: #3b82f6;
}

.candidate-item.rejected {
  opacity: 0.6;
  background: #fef2f2;
}

.candidate-item.hired {
  background: #f0fdf4;
  border-color: #22c55e;
}

.candidate-item .candidate-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.candidate-item .candidate-details {
  flex: 1;
}

.candidate-name-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.candidate-name-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.best-match-tag {
  background: #dcfce7;
  color: #166534;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
}

.candidate-role {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.rejected {
  background: #fee2e2;
  color: #dc2626;
}

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

/* Candidate Details Section */
.candidate-details-section {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: fit-content;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.profile-info h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.profile-info p {
  font-size: 16px;
  color: #64748b;
  margin: 0 0 12px 0;
}

.profile-info .name-and-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.profile-info .name-and-badge h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
}

.profile-info .best-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #166534;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.profile-info .best-match-badge i {
  color: #22c55e;
  font-size: 8px;
}

.profile-info .best-match-description {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
  font-weight: 400;
}

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

.profile-actions .action-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #374151;
  transition: all 0.2s ease;
}

.profile-actions .action-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* Offer Status */
.offer-status {
  margin-bottom: 32px;
}

.offer-status h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 24px 0;
}

.status-timeline {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding: 0;
  gap: 0;
}

.status-timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.status-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 1;
  z-index: 2;
  padding-right: 20px;
}

.status-step:last-child {
  padding-right: 0;
}

.status-step .status-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  color: #94a3b8;
}

.status-step.completed .status-icon {
  background: #10b981;
  color: white;
  border-color: #10b981;
}

.status-step.active .status-icon {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.status-step.inactive .status-icon {
  background: #f8fafc;
  color: #cbd5e1;
  border-color: #e2e8f0;
}

.status-step .status-info {
  text-align: left;
}

.status-step .status-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.status-step.inactive .status-info h4 {
  color: #94a3b8;
}

.status-step .status-info p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

.status-step.inactive .status-info p {
  color: #cbd5e1;
}

.status-step.completed::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 40px;
  width: calc(100% - 20px);
  height: 2px;
  background: #10b981;
  z-index: 2;
}

/* Decision Actions */
.decision-actions {
  display: flex;
  gap: 12px;
}

.decision-actions .btn-reject {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.decision-actions .btn-reject:hover {
  background: #fecaca;
  border-color: #fca5a5;
}

.btn-get-hire {
  background: #22c55e !important;
  color: white !important;
  border: none !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.btn-get-hire:hover {
  background: #16a34a !important;
}

/* Responsive Design for New Components */
@media (max-width: 1024px) {
  .interview-main-content,
  .final-decision-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .strengths-weaknesses {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .screening-wrapper,
  .interview-wrapper,
  .final-decision-wrapper {
    padding: 20px;
  }

  .screening-header,
  .interview-header,
  .final-decision-header {
    flex-direction: column;
    gap: 16px;
  }

  .candidate-actions {
    flex-direction: column;
    gap: 16px;
  }

  .action-buttons-left,
  .action-buttons-right {
    justify-content: stretch;
  }

  .action-buttons-left button,
  .action-buttons-right button {
    flex: 1;
    justify-content: center;
  }

  .decision-actions {
    flex-direction: column;
  }

  .screening-stats {
    grid-template-columns: 1fr;
  }

  .candidates-tabs {
    flex-wrap: wrap;
  }
}

/* Application History Sidebar */
.application-history-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
}

.application-history-sidebar {
  width: 400px;
  height: 100%;
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.history-header {
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.history-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 12px 0 4px 0;
}

.history-header p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: #e2e8f0;
  color: #334155;
}

.history-timeline {
  flex: 1;
  padding: 0;
  overflow-y: auto;
}

.timeline-item {
  display: flex;
  padding: 20px 24px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 24px;
}

.timeline-icon-wrapper {
  position: relative;
  margin-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.timeline-line {
  width: 2px;
  height: 100%;
  background-color: #e2e8f0;
  position: absolute;
  top: 32px;
  left: 15px;
  z-index: 1;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

/* Talent Scouting Styles */
.talent-scouting-wrapper {
  padding: 32px;
  background: #f8fafc;
  min-height: 100vh;
}

.talent-scouting-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.header-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  font-size: 16px;
}

.search-icon-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* Search Box Component Styles */
.search-box-container {
  position: relative;
  display: inline-block;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 300px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.search-input-wrapper:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #374151;
  background: transparent;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-input-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.search-clear-btn,
.search-close-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: #f3f4f6;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  font-size: 12px;
  transition: all 0.2s ease;
}

.search-clear-btn:hover,
.search-close-btn:hover {
  background: #e5e7eb;
  color: #374151;
}

.search-clear-btn:active,
.search-close-btn:active {
  transform: scale(0.95);
}

.bulk-upload-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.bulk-upload-btn:hover {
  background: #2563eb;
}

.filter-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 0 24px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.position-info .position-title {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.candidate-count-text {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.candidate-count-text .count-number {
  color: #10b981;
  font-weight: 600;
}

.filter-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.refresh-btn {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.refresh-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.auto-refresh-label {
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.countdown-display {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  color: #0369a1;
}

.countdown-text {
  font-weight: 500;
}

.table-wrapper {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin: 0 24px 24px 24px;
}

.candidates-table {
  width: 100%;
  border-collapse: collapse;
}

.candidates-table thead {
  background: #f8fafc;
}

.candidates-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.candidates-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
}

.candidates-table tbody tr:last-child {
  border-bottom: none;
}

.candidates-table tbody tr:hover {
  background: #f9fafb;
}

.candidates-table td {
  padding: 16px 20px;
  vertical-align: middle;
}

.candidate-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.candidate-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.candidate-name {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
}

.position-cell {
  font-size: 14px;
  color: #64748b;
  max-width: 300px;
}

.view-profile-btn {
  background: #f59e0b;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.view-profile-btn:hover {
  background: #d97706;
}

.screening-badge {
  background: #dcfce7;
  color: #166534;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 24px 24px 24px;
}

.pagination-nav .nav-text {
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  padding: 8px 12px;
}

.pagination-nav .nav-text:hover {
  color: #374151;
}

.page-numbers {
  display: flex;
  gap: 4px;
  align-items: center;
}

.page-number {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-number:hover {
  background: #f1f5f9;
  color: #374151;
}

.page-number.active {
  background: #3b82f6;
  color: white;
}

.ellipsis {
  font-size: 14px;
  color: #64748b;
  padding: 0 4px;
}

/* Bulk Resume Upload Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bulk-upload-modal {
  width: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

.modal-header p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  font-size: 14px;
}

.modal-close-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.modal-body {
  padding: 24px;
}

.folder-section {
  margin-bottom: 20px;
}

.folder-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 500;
}

.folder-icon i {
  font-size: 16px;
}

.upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  margin: 20px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-area:hover,
.upload-area.drag-active {
  border-color: #3b82f6;
  background: #f8fafc;
}

.upload-icon {
  font-size: 48px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.upload-area.drag-active .upload-icon {
  color: #3b82f6;
}

.upload-text p {
  font-size: 16px;
  color: #374151;
  margin: 0 0 8px 0;
}

.upload-text small {
  font-size: 14px;
  color: #6b7280;
}

.selected-files {
  margin: 20px 0;
}

.selected-files h4 {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 12px 0;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f3f4f6;
  border-radius: 6px;
}

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

.remove-file-btn {
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-file-btn:hover {
  background: #e5e7eb;
  color: #374151;
}

.upload-note {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 12px;
  margin: 20px 0;
}

.upload-note p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.note-highlight {
  color: #92400e;
  font-weight: 500;
}

.note-text {
  color: #78350f;
}

.modal-footer {
  padding: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cancel-btn {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}

.cancel-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.upload-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}

.upload-btn:hover {
  background: #2563eb;
}

/* Interview Styles */
.interview-wrapper {
  padding: 0;
  background: #f8fafc;
  min-height: 100vh;
}

.interview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding: 24px;
}

.interview-candidates-container {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.interview-candidate-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.candidate-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: background 0.2s ease;
}

.candidate-header:hover {
  background: #f8fafc;
}

.candidate-info {
  flex: 1;
}

.candidate-right-section {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.candidate-name {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.candidate-position {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.best-match-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.best-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #166534;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}

.best-match-badge i {
  color: #22c55e;
  font-size: 8px;
}

.best-match-description {
  font-size: 12px;
  color: #64748b;
  font-weight: 400;
}

.expand-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f1f5f9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.expand-btn:hover {
  background: #e2e8f0;
  color: #374151;
}

.expand-btn.expanded {
  transform: rotate(90deg);
  background: #e2e8f0;
}

.candidate-expanded-content {
  border-top: 1px solid #f1f5f9;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

.interview-process-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 24px;
}

.interview-process h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 20px 0;
}

.interview-stages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.interview-stage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.stage-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.stage-content {
  flex: 1;
}

.stage-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.stage-content p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 12px 0;
}

.stage-button {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.stage-button:hover {
  background: #2563eb;
}

.stage-button.completed {
  background: #10b981;
}

.stage-button.completed:hover {
  background: #059669;
}

.actions-panel {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
}

.actions-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px 0;
}

.action-buttons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.action-list-btn {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s ease;
}

.action-list-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.action-list-btn i {
  width: 16px;
  text-align: center;
  color: #64748b;
}

.decision-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 12px 0;
}

.decision-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-move-to-final {
  background: #22c55e;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-move-to-final:hover {
  background: #16a34a;
}

.btn-reject {
  background: #ef4444;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-reject:hover {
  background: #dc2626;
}

.interview-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 24px 24px 24px;
}

.pagination-nav .nav-text {
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  padding: 8px 12px;
}

.pagination-nav .nav-text:hover {
  color: #374151;
}

.interview-pagination .page-numbers {
  display: flex;
  gap: 4px;
  align-items: center;
}

.interview-pagination .page-number {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interview-pagination .page-number:hover {
  background: #f1f5f9;
  color: #374151;
}

.interview-pagination .page-number.active {
  background: #3b82f6;
  color: white;
}

.interview-pagination .ellipsis {
  font-size: 14px;
  color: #64748b;
  padding: 0 4px;
}

/* Screening Page Specific Styles */
.screening-wrapper {
  padding: 0;
  background: #f8fafc;
  min-height: 100vh;
}

.screening-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding: 24px;
}

.screening-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 24px 32px 24px;
}

.screening-stat-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.screening-stat-red {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.screening-stat-blue {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.screening-stat-green {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.screening-stat-content {
  flex: 1;
}

.screening-stat-title {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 8px 0;
}

.screening-stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
}

.screening-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.screening-stat-icon-red {
  background: #ef4444;
  color: white;
}

.screening-stat-icon-blue {
  background: #3b82f6;
  color: white;
}

.screening-stat-icon-green {
  background: #22c55e;
  color: white;
}

.screening-candidates-section {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.screening-candidate-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.screening-candidate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.screening-candidate-info {
  flex: 1;
}

.screening-candidate-name {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.screening-candidate-position {
  font-size: 14px;
  color: #3b82f6;
  margin: 0;
}

.screening-match-score {
  position: relative;
}

.screening-match-circle {
  position: relative;
  width: 70px;
  height: 70px;
}

.screening-match-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.screening-match-percentage {
  font-size: 16px;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.screening-match-label {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.screening-candidate-content {
  margin-bottom: 24px;
}

.screening-match-justification {
  margin-bottom: 24px;
}

.screening-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.screening-justification-text {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.screening-strengths-weaknesses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.screening-strengths-title .screening-strengths-icon {
  color: #22c55e;
  font-size: 8px;
}

.screening-weaknesses-title .screening-weaknesses-icon {
  color: #f59e0b;
  font-size: 8px;
}

.screening-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screening-list-item {
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.screening-strength-star {
  color: #f59e0b;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.screening-weakness-icon {
  color: #ef4444;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.screening-candidate-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}

.screening-action-buttons-left,
.screening-action-buttons-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.screening-btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.screening-btn-view-status {
  background: white;
  color: #374151;
  border-color: #d1d5db;
}

.screening-btn-view-status:hover {
  background: #f9fafb;
}

.screening-btn-add-note {
  background: white;
  color: #374151;
  border-color: #d1d5db;
}

.screening-btn-add-note:hover {
  background: #f9fafb;
}

.screening-btn-reject {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}

.screening-btn-reject:hover {
  background: #fecaca;
}

.screening-btn-send-ai {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.screening-btn-send-ai:hover {
  background: #2563eb;
}

.screening-btn-schedule {
  background: #1f2937;
  color: white;
  border-color: #1f2937;
}

.screening-btn-schedule:hover {
  background: #111827;
}

.screening-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 24px 24px 24px;
}

.screening-pagination-nav .screening-nav-text {
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  padding: 8px 12px;
}

.screening-pagination-nav .screening-nav-text:hover {
  color: #374151;
}

.screening-page-numbers {
  display: flex;
  gap: 4px;
  align-items: center;
}

.screening-page-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screening-page-btn:hover {
  background: #f1f5f9;
  color: #374151;
}

.screening-page-btn.screening-page-active {
  background: #3b82f6;
  color: white;
}

.screening-ellipsis {
  font-size: 14px;
  color: #64748b;
  padding: 0 4px;
}

.timeline-details {
  flex: 1;
  padding-top: 2px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.timeline-date {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.timeline-description {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

/* View Profile Modal Styles */
.view-profile-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.view-profile-modal {
  background: white;
  border-radius: 12px;
  width: 90vw;
  max-width: 1200px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
}

/* Modal Header */
.view-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: white;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  padding: 8px;
}

.back-btn:hover {
  color: #1f2937;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #6b7280;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: #374151;
}

/* Modal Content */
.view-profile-modal .view-profile-content {
  max-height: calc(90vh - 80px);
  overflow-y: auto;
  padding: 0;
  margin-left: 0; /* Override any inherited margin */
}

/* Profile Header Section */
.view-profile-modal .profile-header-section {
  padding: 32px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  text-align: center;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 32px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.profile-title {
  font-size: 16px;
  color: #3b82f6;
  margin: 0 0 24px 0;
  font-weight: 500;
}

.profile-details-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.profile-details-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: white;
}

.experience-tag {
  background: #3b82f6;
}

.gender-tag {
  background: #ec4899;
}

.salary-tag {
  background: #10b981;
}

.degree-tag {
  background: #8b5cf6;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-icon {
  font-size: 16px;
}

.detail-text {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.profile-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.download-btn,
.video-cv-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.download-btn {
  background: white;
  border: 1px solid #d1d5db;
  color: #374151;
}

.download-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.video-cv-btn {
  background: #3b82f6;
  border: 1px solid #3b82f6;
  color: white;
}

.video-cv-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
}

/* Match Percentage */
.match-percentage {
  position: absolute;
  top: 32px;
  right: 32px;
}

.match-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #10b981;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.match-number {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.match-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Profile Sections */
.view-profile-modal .profile-sections {
  padding: 32px;
}

.profile-section {
  margin-bottom: 40px;
}

.profile-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px 0;
}

.section-content {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.section-content ul {
  margin: 16px 0 0 0;
  padding-left: 20px;
}

.section-content li {
  margin-bottom: 8px;
}

/* Two Column Layout */
.two-column-section {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
}

.half-width {
  flex: 1;
  margin-bottom: 0 !important;
}

/* Work Experience */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.experience-list.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .experience-list.two-column-layout {
    grid-template-columns: 1fr;
  }
}

.experience-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #f1f5f9;
  border-radius: 8px;
}

.experience-icon {
  width: 40px;
  height: 40px;
  background: #10b981;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.experience-details {
  flex: 1;
}

.experience-company {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.experience-position {
  font-size: 14px;
  color: #475569;
  margin: 0 0 8px 0;
}

.experience-duration {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Education */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.education-list.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .education-list.two-column-layout {
    grid-template-columns: 1fr;
  }
}

.education-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #f0f9ff;
  border-radius: 8px;
}

.education-icon {
  width: 40px;
  height: 40px;
  background: #3b82f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.education-details {
  flex: 1;
}

.education-degree {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.education-institution {
  font-size: 14px;
  color: #475569;
  margin: 0 0 8px 0;
}

.education-duration {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Certificates */
.certificates-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.certificates-list.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .certificates-list.two-column-layout {
    grid-template-columns: 1fr;
  }
}

.certificate-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fef3c7;
  border-radius: 8px;
}

.certificate-icon {
  width: 40px;
  height: 40px;
  background: #f59e0b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.certificate-details {
  flex: 1;
}

.certificate-name {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.certificate-issuer {
  font-size: 14px;
  color: #475569;
  margin: 0 0 8px 0;
}

.certificate-description {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Personal Details */
.personal-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.detail-label {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  margin: 0;
}

.detail-value {
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
  margin: 0;
}

/* Footer Actions */
.view-profile-modal .profile-footer-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px 32px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.footer-action-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  min-width: 180px;
  justify-content: center;
}

.ai-interview-btn {
  background: #3b82f6;
  border: 1px solid #3b82f6;
  color: white;
}

.ai-interview-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.schedule-interview-btn {
  background: #1e293b;
  border: 1px solid #1e293b;
  color: white;
}

.schedule-interview-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
}

/* Responsive Design */
@media (max-width: 768px) {
  .view-profile-modal {
    width: 95vw;
    max-height: 95vh;
  }

  .view-profile-modal .profile-header-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .view-profile-modal .match-percentage {
    position: static;
    margin-top: 16px;
  }

  .view-profile-modal .profile-details-row,
  .view-profile-modal .profile-details-tags {
    justify-content: center;
  }

  .view-profile-modal .two-column-section {
    flex-direction: column;
    gap: 20px;
  }

  .view-profile-modal .experience-list,
  .view-profile-modal .education-list {
    flex-direction: column;
  }

  .view-profile-modal .profile-footer-actions {
    flex-direction: column;
  }

  .view-profile-modal .footer-action-btn {
    min-width: auto;
    width: 100%;
  }
}

/* Feedback Panel Styles */
.feedback-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: calc(100vh - 120px);
  overflow-y: auto;
}

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

.feedback-form .form-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0;
}

.feedback-form .form-control {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}

.feedback-form .form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.feedback-form .form-control::placeholder {
  color: #9ca3af;
}

.feedback-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.btn-reset-feedback {
  background: transparent;
  color: #dc2626;
  border: 1px solid #dc2626;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  flex: 1;
}

.btn-reset-feedback:hover {
  background: #fef2f2;
}

.btn-submit-feedback {
  background: #22c55e;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 14px;
  flex: 1;
}

.btn-submit-feedback:hover {
  background: #16a34a;
}

.btn-submit-feedback:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

/* Loading spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Global loading styles for all job detail components */
.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #666;
  font-size: 16px;
  padding: 40px 20px;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.video-cv-container {
  min-height: 100vh;
  background-color: #f8f9fa;
}

.video-cv-content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
  padding: 24px;
}

/* Filters Sidebar */
.video-cv-filters {
  width: 320px;
  background: white;
  border-radius: 12px;
  padding: 24px;
  height: fit-content;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.filters-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

.reset-button {
  background: none;
  border: none;
  color: #ff6b6b;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.reset-button:hover {
  color: #ff5252;
}

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

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

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
}

.input-with-icon input {
  width: 100%;
  padding: 12px 12px 12px 36px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.input-with-icon input:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.input-with-icon input::placeholder {
  color: #999;
}

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

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 400 !important;
  margin: 0 !important;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 12px;
  width: 16px;
  height: 16px;
  accent-color: #4285f4;
}

.checkbox-label span {
  font-size: 14px;
  color: #333;
}

.filter-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.cancel-button,
.apply-button {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-button {
  background: white;
  border: 1px solid #e0e0e0;
  color: #666;
}

.cancel-button:hover {
  background: #f5f5f5;
}

.apply-button {
  background: #4285f4;
  border: 1px solid #4285f4;
  color: white;
}

.apply-button:hover {
  background: #3367d6;
  border-color: #3367d6;
}

/* Main Content */
.video-cv-main {
  flex: 1;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.results-info h2 {
  margin: 0 0 4px 0;
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
}

.results-count {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-controls label {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  min-width: 120px;
}

.sort-select:focus {
  outline: none;
  border-color: #4285f4;
}

/* Candidates Grid */
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.candidate-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.candidate-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.video-container {
  position: relative;
  width: 100%;
  height: 200px;
  background: #000;
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
}

.candidate-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-container:hover .video-overlay {
  opacity: 1;
}

.play-button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

.play-button i {
  font-size: 20px;
  color: #333;
  margin-left: 3px;
}

.video-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.duration {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.volume-button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.volume-button i {
  font-size: 14px;
  color: #333;
}

.candidate-info {
  padding: 20px;
}

.candidate-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.candidate-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.candidate-details {
  flex: 1;
}

.candidate-name {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.candidate-position {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.candidate-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.skill-tag {
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}

.candidate-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.meta-item i {
  width: 16px;
  font-size: 12px;
  color: #999;
}

.candidate-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-profile-button {
  flex: 1;
  background: none;
  border: none;
  color: #ff6600;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.view-profile-button:hover {
  text-decoration: underline;
}

.bookmark-button,
.message-button {
  background: none;
  border: none;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.bookmark-button:hover,
.message-button:hover {
  background: #f5f5f5;
  color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .video-cv-content {
    flex-direction: column;
    padding: 16px;
  }

  .video-cv-filters {
    width: 100%;
  }

  .candidates-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .sort-controls {
    align-self: flex-end;
  }

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

  .filter-actions {
    flex-direction: column;
  }

  .candidate-skills {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .video-cv-content {
    padding: 12px;
  }

  .video-cv-filters {
    padding: 16px;
  }

  .candidate-info {
    padding: 16px;
  }

  .video-container {
    height: 160px;
  }
}

/* Offer Letter Generator Modal Styles */
.offer-letter-modal {
  max-width: 850px;
  max-height: 80vh;
  overflow-y: auto;
}

.offer-letter-modal .modal-subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.offer-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.offer-form-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offer-details-group {
  margin-bottom: 20px;
}

.salary-input-group {
  position: relative;
}

.salary-input-group .form-control {
  padding-right: 50px;
}

.currency-indicator {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color);
}

.checkbox-checkmark {
  display: none;
}

.modal-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.modal-form-actions .btn-cancel {
  background: #fff;
  color: #666;
  border: 1px solid #d1d5db;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.modal-form-actions .btn-cancel:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.modal-form-actions .btn-preview {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.modal-form-actions .btn-preview:hover {
  background: #1e40af;
}

.modal-form-actions .btn-preview:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.modal-form-actions .btn-secondary {
  background: #f3f4f6;
  color: var(--primary-color);
  border: 1px solid #d1d5db;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.modal-form-actions .btn-secondary:hover {
  background: #e5e7eb;
}

@media (max-width: 768px) {
  .offer-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .modal-form-actions button {
    width: 100%;
  }
}

/* AI Offer Letter Generator Styles */
.ai-offer-generator {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin: 20px 0;
}

.ai-offer-generator__header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.ai-offer-generator__icon {
  width: 40px;
  height: 40px;
  background-color: #10b981;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.ai-offer-generator__icon i {
  color: white;
  font-size: 18px;
}

.ai-offer-generator__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.ai-offer-generator__description {
  margin-bottom: 24px;
  color: #64748b;
  font-size: 14px;
}

.ai-offer-generator__form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.ai-offer-generator__form-row--two-cols {
  grid-template-columns: 1fr 1fr;
}

.ai-offer-generator__form-row--three-cols {
  grid-template-columns: 1fr 1fr 1fr;
}

.ai-offer-generator__field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}

.ai-offer-generator__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.ai-offer-generator__input--error {
  border-color: #ef4444;
}

.ai-offer-generator__select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background-color: white;
}

.ai-offer-generator__select--error {
  border-color: #ef4444;
}

.ai-offer-generator__salary-wrapper {
  position: relative;
}

.ai-offer-generator__salary-input {
  width: 100%;
  padding: 10px 12px;
  padding-right: 50px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.ai-offer-generator__salary-input--error {
  border-color: #ef4444;
}

.ai-offer-generator__salary-currency {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 14px;
}

.ai-offer-generator__textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
}

.ai-offer-generator__textarea--error {
  border-color: #ef4444;
}

.ai-offer-generator__checkbox-wrapper {
  margin-bottom: 24px;
}

.ai-offer-generator__checkbox-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
}

.ai-offer-generator__checkbox {
  margin-right: 8px;
}

.ai-offer-generator__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.ai-offer-generator__error-text {
  color: #ef4444;
  font-size: 12px;
}

/* Upload Offer Letter Styles */
.upload-offer-letter {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin: 20px 0;
}

.upload-offer-letter__header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.upload-offer-letter__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.upload-offer-letter__description {
  margin-bottom: 24px;
  color: #64748b;
  font-size: 14px;
}

.upload-offer-letter__drop-zone {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 48px 24px;
  text-align: center;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-offer-letter__drop-zone--drag-over {
  border-color: #3b82f6;
  background-color: #f0f9ff;
}

.upload-offer-letter__file-input {
  display: none;
}

.upload-offer-letter__upload-icon {
  width: 48px;
  height: 48px;
  background-color: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.upload-offer-letter__upload-icon i {
  color: #64748b;
  font-size: 20px;
}

.upload-offer-letter__upload-title {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 500;
}

.upload-offer-letter__file-size-info {
  margin: 0 0 4px 0;
  color: #64748b;
  font-size: 14px;
}

.upload-offer-letter__file-type-info {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.upload-offer-letter__file-preview {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  background-color: white;
}

.upload-offer-letter__file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.upload-offer-letter__file-details {
  display: flex;
  align-items: center;
}

.upload-offer-letter__file-icon {
  width: 32px;
  height: 32px;
  background-color: #fee2e2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.upload-offer-letter__file-icon i {
  color: #dc2626;
  font-size: 16px;
}

.upload-offer-letter__file-name {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 500;
}

.upload-offer-letter__file-size {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.upload-offer-letter__remove-btn {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
}

.upload-offer-letter__remove-btn i {
  font-size: 16px;
}

.upload-offer-letter__progress {
  margin-top: 12px;
}

.upload-offer-letter__progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.upload-offer-letter__progress-text {
  font-size: 12px;
  color: #64748b;
}

.upload-offer-letter__progress-bar {
  width: 100%;
  height: 4px;
  background-color: #f3f4f6;
  border-radius: 2px;
  overflow: hidden;
}

.upload-offer-letter__progress-fill {
  height: 100%;
  background-color: #10b981;
  transition: width 0.3s ease;
}

/* ===============================================
   OFFER LETTER PREVIEW PANEL STYLES
   =============================================== */

.offer-preview-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.offer-preview-panel {
  background: white;
  width: 400px;
  height: 100vh;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.offer-preview-header {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.offer-preview-header h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.offer-preview-header p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.close-panel {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.close-panel:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.offer-preview-content {
  flex: 1;
  padding: 24px;
}

.offer-details {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

.offer-details p {
  margin-bottom: 16px;
}

.offer-details strong {
  color: #111827;
}

.benefits-section {
  background-color: #f9fafb;
  padding: 16px;
  border-radius: 8px;
  margin: 16px 0;
  border-left: 4px solid #10b981;
}

.benefits-section p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #374151;
}

.benefits-section p:last-child {
  margin-bottom: 0;
}

.digital-signature-notice {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 20px;
}

.digital-signature-notice p {
  margin: 0;
  font-size: 14px;
  color: #1e40af;
  display: flex;
  align-items: center;
  gap: 8px;
}

.digital-signature-notice i {
  color: #3b82f6;
}

.offer-preview-actions {
  padding: 0 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-accept {
  background-color: #10b981;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-accept:hover {
  background-color: #059669;
  transform: translateY(-1px);
}

.btn-reject {
  background-color: transparent;
  color: #ef4444;
  border: 1px solid #ef4444;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-reject:hover {
  background-color: #fef2f2;
  transform: translateY(-1px);
}

.offer-preview-send {
  padding: 16px 24px 24px;
  border-top: 1px solid #e5e7eb;
  background-color: #f9fafb;
}

.btn-send {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: all 0.2s ease;
}

.btn-send:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
}

.offer-preview-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 24px;
}

.offer-response-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.offer-response-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
}

.offer-response-header {
  padding: 40px 40px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.company-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.offer-response-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.offer-response-content {
  padding: 40px;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.processing-state,
.success-state,
.error-state {
  width: 100%;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e2e8f0;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: offer-response-spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes offer-response-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.success-icon,
.error-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.success-icon {
  color: #10b981;
}

.error-icon {
  color: #ef4444;
}

.offer-response-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px;
}

.offer-response-content p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 24px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0 8px;
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #e2e8f0;
  color: #475569;
}

.btn-secondary:hover {
  background: #cbd5e1;
  transform: translateY(-1px);
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.offer-response-footer {
  padding: 24px 40px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.offer-response-footer p {
  font-size: 14px;
  color: #64748b;
  margin: 8px 0;
}

.offer-response-footer i {
  margin-right: 6px;
  color: #10b981;
}

.offer-response-footer a {
  color: #3b82f6;
  text-decoration: none;
}

.offer-response-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .offer-response-container {
    padding: 16px;
  }

  .offer-response-header {
    padding: 32px 24px 16px;
  }

  .offer-response-title {
    font-size: 24px;
  }

  .offer-response-content {
    padding: 32px 24px;
  }

  .offer-response-footer {
    padding: 20px 24px;
  }
}
