/* Bendri stiliai ir kintamieji */
:root {
  --primary-color: #386d97;
  --primary-hover-color: #2c5578;
  --text-color: #374151;
  --text-light-color: #6b7280;
  --border-color: #e5e7eb;
  --background-light: #f9fafb;
  --background-grey: #f5f5f5;
  --white-color: #ffffff;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-grey);
  color: var(--text-color);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 12px;
  margin-left: 12px;
  letter-spacing: 0.5px;
}

.limits-card {
  background: linear-gradient(135deg, #386d97 0%, #5a8bb5 100%);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  color: white;
}

.limits-title {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}
.limits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.limit-item {
  text-align: center;
}
.limit-label {
  font-size: 11px;
  opacity: 0.9;
  margin-bottom: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.limit-value {
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
}
.limit-expiry {
  font-size: 9px;
  opacity: 0.85;
  margin-top: 4px;
  white-space: nowrap;
}

#success-message {
  display: none;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* Kurti skelbima stiliai */

.salary-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

.salary-inputs {
  display: flex;
  gap: 12px;
  align-items: center;
}

.salary-input-wrapper {
  width: 160px;
  position: relative;
}

.salary-input-wrapper input {
  padding-right: 30px;
  width: 100%;
}

.salary-input-wrapper .euro-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 14px;
  pointer-events: none;
}

.salary-period {
  width: 160px;
}

.salary-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 6px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  cursor: pointer;
}

.radio-option label {
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.form-group-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
}
.form-group-row:last-child {
  border-bottom: none;
}
.form-group-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.tooltip-wrapper {
  position: relative;
  display: inline-flex;
  z-index: 10;
}

.tooltip-icon {
  width: 18px;
  height: 18px;
  color: #9ca3af;
  cursor: help;
  transition: color 0.2s ease;
}
.tooltip-icon:hover {
  color: #6b7280;
}
.tooltip-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  background: #2b3440;
  color: #f0f0f0;
  border-radius: 4px;
  padding: 8px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 280px;
  font-size: 13px;
  line-height: 1.5;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}
.tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #2b3440 transparent transparent transparent;
}
.tooltip-wrapper:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
}

.toggle-switch-new {
  position: relative;
  width: 40px;
  height: 22px;
  background: #d1d5db;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}
.toggle-switch-new.active {
  background: #386d97;
}
.toggle-switch-new::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.toggle-switch-new.active::after {
  transform: translateX(18px);
}

.contact-choice-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.contact-choice {
  display: block;
  position: relative;
}
.contact-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.contact-choice-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.contact-choice input:checked + .contact-choice-label {
  border-color: #386d97;
  background-color: #f6f9fc;
  box-shadow: 0 0 0 2px rgba(56, 109, 151, 0.1);
}
.contact-choice:hover .contact-choice-label {
  border-color: #a5b4fc;
}
.contact-avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f1f8;
  color: #386d97;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.contact-choice-details {
  display: flex;
  flex-direction: column;
}
.contact-choice-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}
.contact-choice-email {
  font-size: 12px;
  color: #6b7280;
}
.radio-checkmark {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  transition: all 0.2s ease;
  position: relative;
}
.contact-choice input:checked + .contact-choice-label .radio-checkmark {
  border-color: #386d97;
  background-color: #386d97;
}
.radio-checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.contact-choice input:checked + .contact-choice-label .radio-checkmark::after {
  display: block;
}

#send-to-main-email-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out,
    opacity 0.3s ease-out;
  opacity: 0;
  background-color: #f9fafb;
  margin-top: 8px;
  border-radius: 4px;
}

#send-to-main-email-container.visible {
  max-height: 100px;
  opacity: 1;
}

.suggestions-list {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 250px;
  overflow-y: auto;
  z-index: 100;
}
.suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 14px;
}
.suggestion-item:hover {
  background: #f3f4f6;
}

/* Papildomi kontaktai stiliai*/

.list-section {
  background: white;
}
.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.list-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}
.contacts-count {
  font-size: 14px;
  color: #6b7280;
  background: #f3f4f6;
  padding: 4px 12px;
  border-radius: 12px;
}
.contacts-grid {
  display: grid;
  gap: 12px;
}
.contact-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
}
.contact-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}
.contact-card.unconfirmed {
  background: #fef2f2;
  border-color: #f0dfdf;
}
.contact-card.unconfirmed .contact-avatar {
  background: #fee2e2;
  color: #b91c1c;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
}
.status-badge.pending {
  background: #fee2e2;
  color: #991b1b;
}
.status-badge .badge-icon {
  width: 12px;
  height: 12px;
}
.contact-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.contact-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f1f8;
  color: #386d97;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}
.contact-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #6b7280;
}
.contact-meta-item .meta-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}
.contact-actions {
  display: flex;
  gap: 8px;
}
.btn-icon-only {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  background: white;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-icon-only:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
.btn-icon-only.delete:hover {
  color: #ef4444;
  border-color: #fca5a5;
  background: #fef2f2;
}
.btn-icon-only .action-icon {
  width: 16px;
  height: 16px;
}

/* Manodarboskelbimai stiliai*/

.job-location {
  font-size: 13px;
  color: #6b7280;
}

.job-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  padding: 12px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
}

.stat-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.job-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background: white;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.action-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.action-btn.primary {
  background: #386d97;
  color: white;
  border-color: #386d97;
}

.action-btn.primary:hover {
  background: #2c5578;
  border-color: #2c5578;
}

.action-btn.success {
  background: #10b981;
  color: white;
  border-color: #10b981;
}

.action-btn.success:hover {
  background: #059669;
  border-color: #059669;
}

.action-btn.cv {
  background: #484c4d;
  color: white;
  border-color: #484c4d;
}

.action-btn.cv:hover {
  background: #333637;
  border-color: #333637;
}

.action-btn.edit {
  background: #6b7280;
  color: white;
  border-color: #6b7280;
}

.action-btn.edit:hover {
  background: #4b5563;
  border-color: #4b5563;
}

.action-btn .btn-icon {
  width: 14px;
  height: 14px;
}

.cv-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 11px;
  margin-left: 0px;
  font-weight: 600;
}

.job-date {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
}

.job-title-section {
  flex: 1;
}

.job-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-dot.green {
  background: #26811e;
}

.status-dot.orange {
  background: #ca902e;
}

.delete-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  background: white;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-btn:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #ef4444;
}

.delete-btn .delete-icon {
  width: 16px;
  height: 16px;
}

.toggle-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f3f4f6;
  border-radius: 4px;
  padding: 4px;
}

.toggle-option {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
}

.toggle-option.active {
  background: white;
  color: #386d97;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* Fix for 900px - 1200px range kurti skelbima page*/
@media (max-width: 1100px) and (min-width: 901px) {
  .salary-group {
    flex-wrap: wrap;
    gap: 16px;
  }

  .salary-inputs {
    flex: 0 0 auto;
  }

  .salary-period {
    flex: 0 0 auto;
    width: 160px;
  }

  .payment-method {
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-group.full-width {
    grid-column: span 1;
  }
}

.multi-select-input {
  position: relative;
  border: none;
  display: flex; /* Pridėta */
  align-items: center; /* Pridėta */
}

.multi-select-wrapper {
  position: relative;
  flex: 1;
}

.multi-select-wrapper.open .multi-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-header {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  gap: 8px;
}

.dropdown-header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-header-single-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0px;
}

.dropdown-header-single-line .multi-select-search-dropdown {
  flex: 1;
  padding: 4px 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  background: white;
}

.dropdown-header-single-line .clear-all-btn {
  white-space: nowrap;
  font-size: 12px;
  color: #386d97;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}

.dropdown-header-single-line .clear-all-btn:hover {
  background: #e8f1f8;
}

.multi-select-search-dropdown {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  background: white;
}

.multi-select-search-dropdown:focus {
  border-color: #386d97;
  box-shadow: 0 0 0 2px rgba(56, 109, 151, 0.1);
}

.selected-count-text {
  font-size: 12px;
  color: #6b7280;
}

.clear-all-btn {
  font-size: 12px;
  color: #386d97;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 3px;
  transition: background 0.2s;
}

.clear-all-btn:hover {
  background: #e8f1f8;
}

.multi-select-option {
  display: flex !important;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 14px;
  gap: 10px;
  text-align: left;
}

.multi-select-option.selected {
  background: #e8f1f8;
}

.option-checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid #d1d5db;
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.multi-select-option.selected .option-checkbox {
  background: #386d97;
  border-color: #386d97;
}

.option-checkbox-icon {
  display: none;
  width: 10px;
  height: 10px;
  color: white;
}

.multi-select-option.selected .option-checkbox-icon {
  display: block;
}

.option-text {
  flex: 1;
}

.multi-select-placeholder {
  color: #9ca3af;
  font-size: 16px;
}

.multi-select-display {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  font-size: 15px;
  color: #374151;
}

.multi-select-selected-text {
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multi-select-count {
  color: #386d97;
  font-weight: 500;
  margin-left: 4px;
}

.multi-select-clear {
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  cursor: pointer;
  color: #6b7280;
  display: none;
  pointer-events: none;
}

.multi-select-wrapper.open .multi-select-clear {
  pointer-events: auto;
}

.multi-select-clear:hover {
  color: #374151;
}

.multi-select-clear.show {
  display: block;
}

.multi-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
  color: #6b7280;
  transition: transform 0.2s;
}

.multi-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 236px;
  overflow-y: auto;
  display: none;
  z-index: 100;
}

.multi-select-dropdown.show {
  display: block;
}

.multi-select-option.selected {
  background: #e8f1f8;
  color: #386d97;
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: #e8f1f8;
  color: #386d97;
  border-radius: 3px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 6px;
}

.selected-tag .remove-tag {
  cursor: pointer;
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.selected-tag .remove-tag:hover {
  opacity: 1;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
}

.data-protection-section p {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 20px;
}

.form-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.section-header {
  margin-bottom: 24px;
  text-align: left;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.contact-selector {
  position: relative;
}

.selected-contact {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.selected-contact:hover {
  border-color: #a5b4fc;
  background-color: #f6f9fc;
}

.dropdown-arrow-contact {
  margin-left: auto;
  width: 20px;
  height: 20px;
  color: #6b7280;
}

.contact-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: -1px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100;
}

.contact-dropdown.show {
  display: block;
}

.contact-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-dropdown-item:hover {
  background-color: #f3f4f6;
}

.form-actions-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.multi-select-search {
  border: none;
  outline: none;
  width: auto;
  font-size: 14px;
  color: #374151;
  background: transparent;
  flex: 1;
  padding: 12px;
}

.multi-select-search::placeholder {
  color: #9ca3af;
}

.multi-select-input.has-values .multi-select-search {
  width: auto;
  min-width: 80px; /* Dar mažesnis kai yra pasirinkimų */
  flex: 1;
}

.multi-select-search-input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 0 40px 0 12px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  opacity: 0;
  cursor: pointer;
}

.form-info-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #f3f4f6;
  border-radius: 8px;
}

.info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 15px;
}

.page-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

/* Papildomospasaugos stiliai */
/* STYLES FOR PRICING PAGE */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 20px;
}

.pricing-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.pricing-subtitle {
  font-size: 14px;
  color: #6b7280;
}

.pricing-price {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-custom-text {
  font-size: 18px;
  font-weight: 600;
  color: #386d97;
  line-height: 1.3;
}

.price {
  font-size: 42px;
  font-weight: bold;
  color: #111827;
  line-height: 1;
}

.price-currency {
  font-size: 24px;
  vertical-align: super;
  margin-left: 2px;
}

.price-period {
  font-size: 14px;
  color: #6b7280;
  margin-top: 8px;
}

.divider-or {
  display: flex;
  align-items: center;
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
  margin: 12px 0;
}

.divider-or::before,
.divider-or::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e5e7eb;
}

.divider-or:not(:empty)::before {
  margin-right: 0.5em;
}

.divider-or:not(:empty)::after {
  margin-left: 0.5em;
}

.item-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.item-selector label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.item-selector select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  width: 140px;
  text-align: center;
}

.vat-note {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Mygtukų stiliai */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
}
.btn-primary:hover {
  background: var(--primary-hover-color);
  border-color: var(--primary-hover-color);
  box-shadow: 0 2px 8px rgba(56, 109, 151, 0.25);
}

.btn-danger {
  background: #dc2626;
  color: white;
}

.btn-danger:hover {
  background: #b91c1c;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.btn-primary .btn-icon {
  width: 16px;
  height: 16px;
}

.btn-secondary {
  background: var(--white-color);
  color: var(--text-color);
  border: 1px solid #386d97;
}

.btn-secondary:hover {
  background: #e8f1f8;
}

.btn-text {
  background: transparent;
  color: #6b7280;
  border: none;
  padding: 10px;
}

.btn-text:hover {
  color: #374151;
  background: #f3f4f6;
}

.btn:disabled {
  background-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-primary:disabled:hover {
  background: #e5e7eb;
}

.btn-primary-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-primary-outline:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/* Header stiliai */
.header {
  background-color: var(--white-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-section {
  display: flex;
  align-items: center;
  height: 100%;
  flex: 1;
}

.logo img {
  height: 45px;
  width: auto;
  margin-left: 80px;
}

.navigation {
  display: flex;
  justify-content: center;
  margin-left: 240px;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
  padding-right: 4px;
}

.nav-items a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #6b7280;
  font-size: 18px;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
  font-family: sans-serif;
  white-space: nowrap;
}

.nav-items a:hover {
  color: #5a8bb5;
}

.nav-items a .feather {
  width: 20px;
  height: 20px;
}

/* Active navigacijos stilius */
.nav-items a.active {
  color: var(--primary-color);
  font-weight: 500;
}

.user-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Uzsakymo patvirtinimo page */

/* Order Summary Styles */
.order-summary {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 32px;
}

.order-header {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.order-items {
  margin-bottom: 20px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.order-item:last-child {
  border-bottom: none;
}

.item-details {
  flex: 1;
}

.item-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 4px;
}

.item-description {
  font-size: 12px;
  color: #6b7280;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity-btn {
  width: 24px;
  height: 24px;
  border: 1px solid #d1d5db;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.quantity-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.quantity-value {
  font-size: 14px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

.item-price {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  min-width: 70px;
  text-align: right;
}

.order-totals {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}

.total-row.discount {
  color: #10b981;
}

.total-row.grand-total {
  padding-top: 12px;
  margin-top: 8px;
  border-top: 2px solid #e5e7eb;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.discount-code-section {
  padding: 4px;
}

.discount-input-group {
  display: flex;
  gap: 8px;
}

.discount-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.discount-input:focus {
  outline: none;
  border-color: #386d97;
}

.apply-discount-btn {
  padding: 8px 16px;
  background: #386d97;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.apply-discount-btn:hover {
  background: #2c5578;
}

.discount-feedback {
  margin-top: 8px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 4px;
}

.discount-feedback.success {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
}

.discount-feedback.error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.payment-notice {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 16px;
  padding: 12px;
  background: #f9fafb;
  border-left: 3px solid #e5e7eb;
}

.payment-section {
  background: white;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  padding: 24px;
}

.payment-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 20px;
  text-align: center;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.payment-method {
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  gap: 0px;
  margin-left: 0px;
  display: block;
}

.payment-method-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  transition: all 0.2s;
  padding: 8px;
}

.payment-method:hover .payment-method-label {
  border-color: #9ca3af;
  background: #fafafa;
}

.payment-method input[type="radio"]:checked ~ .payment-method-label {
  border-color: #386d97;
  background: #f0f7ff;
}

.payment-method-label img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.payment-info {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin-top: 4px;
  padding: 12px;
  text-align: center;
}

.info-notice {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.info-notice-text {
  font-size: 12px;
  color: #92400e;
  line-height: 1.5;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.terms-label {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  flex: 1;
}

.terms-label a {
  color: #386d97;
  text-decoration: none;
}

.terms-label a:hover {
  text-decoration: underline;
}

.submit-button {
  width: 100%;
  padding: 14px 24px;
  background: #386d97;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-button:hover:not(:disabled) {
  background: #2c5578;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 109, 151, 0.3);
}

.submit-button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

/* NEW STYLES FOR PRICING PAGE DARBO SKELBIMU PLANU UZSAKYMAS*/

.pricing-card {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  border-color: #386d97;
  position: relative;
  border-width: 2px;
  padding-top: 48px; /* Space for the badge */
}

.pricing-card.value {
  border-color: #2c5578;
  position: relative;
  border-width: 2px;
  padding-top: 48px; /* Space for the badge */
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #386d97;
  color: white;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  text-transform: uppercase;
}

.value-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #2c5578;
  color: white;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  text-transform: uppercase;
}

.price-original {
  font-size: 14px;
  color: #ef4444;
  text-decoration: line-through;
  margin-left: 8px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 14px;
}

.pricing-features .feature-icon {
  width: 20px;
  height: 20px;
  color: #386d97;
  flex-shrink: 0;
}
.pricing-features .gift-icon {
  color: #f59e0b;
}

.pricing-actions {
  margin-top: auto;
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #386d97;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  justify-content: center;
  text-decoration: none;
}

.btn-primary:hover {
  background: #2c5578;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  justify-content: center;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.single-ad-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.single-ad-selector label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.single-ad-selector select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  width: 120px;
  text-align: center;
}

.single-ad-price-info {
  font-size: 12px;
  color: #6b7280;
}

/* Hero sekcija */
.hero-section {
  background: linear-gradient(rgba(44, 85, 120, 0.8), rgba(44, 85, 120, 0.8)),
    url("https://darboskelbimas.lt/images/home-background.jpg") no-repeat center
      center/cover;
  padding: 80px 12px;
  text-align: center;
}

.hero-content h1 {
  font-size: 42px;
  color: var(--white-color);
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.search-form {
  display: flex;
  gap: 0;
  background: var(--white-color);
  border-radius: 8px;
  padding: 6px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-form .multi-select-wrapper {
  width: 100%;
  position: relative;
}

.search-form .multi-select-dropdown {
  width: 100%;
  left: 0;
  right: 0;
}

.search-form .multi-select-input {
  width: 100%;
}

.search-input-group .multi-select-wrapper {
  position: static;
  width: 100%;
}

.search-input-group .multi-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  z-index: 1000;
}

.search-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  border-right: 1px solid var(--border-color);
  position: relative;
}
.search-input-group:last-of-type {
  border-right: none;
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--text-light-color);
  margin: 0 12px;
  flex-shrink: 0;
}

.search-input-group input,
.search-input-group select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: var(--text-color);
}
.search-input-group input::placeholder {
  color: #9ca3af;
}

.search-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.search-btn {
  padding: 12px 24px;
  font-size: 15px;
  margin-left: 8px;
  font-weight: 600;
  max-width: 100px;
  border-radius: 8px;
}

.search-btn .btn-icon {
  display: none;
}

.main-section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 24px;
  text-align: left;
}

/* Statistikos sekcija */
.stats-section {
  background: var(--background-light);
  padding: 50px 0;
}

.stats-section .container {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat-item {
  flex: 1;
}

.stat-value {
  font-size: 30px;
  font-weight: 500;
  color: var(--primary-color);
}

.stat-label {
  font-size: 14px;
  color: var(--text-light-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Darbo skelbimų sekcija */
.listings-section {
  padding: 60px 0;
}

/* NAUJI SKELBIMŲ KORTELIŲ STILIAI */
.job-listings-container {
  background: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.job-card {
  display: grid;
  /* Stulpeliai: logotipas, pareigos, miestas, alga, data, mygtukas */
  grid-template-columns: 64px 1fr 150px 170px 120px auto;

  align-items: center;
  gap: 24px;
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  background-color: white;
}

/* "Išpakuojame" vidinius konteinerius, kad jų vaikai taptų pagrindinio grid nariais */
.job-card-main,
.job-card-meta {
  display: contents;
}

/* Nustatome teisingą elementų tvarką desktop versijoje */
.job-card-logo {
  order: 1;
}
.job-card-position {
  order: 2;
}
.job-card-location {
  order: 3;
}
.job-card-salary {
  order: 4;
}
.job-card-time {
  order: 5;
}
.favorite-btn {
  order: 6;
}

.job-card .job-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(
    --text-light-color
  ); /* Paima spalvą iš kintamųjų, kad atitiktų dizainą */
  font-size: 14px;
}

.job-card .job-card-location::before {
  content: ""; /* Būtinas pseudo-elementui */
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-map-pin"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7; /* Atitinka kitų ikonų stilių */
}

.job-card:hover {
  background-color: #f6fbff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.job-card.featured-job {
  background: linear-gradient(90deg, #f0f9ff 0%, #fff 100%);
  border-left: 4px solid #a9c2d7;
}

.job-card.featured-job:hover {
  border-left-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  z-index: 10;
}

.job-card.hidden {
  display: none;
}

.job-card-logo {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  object-fit: contain;
  padding: 4px;
  background-color: var(--white-color);
}

.job-item-title {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.2s;
  display: block;
  margin-bottom: 2px;
}

.job-item-title:hover {
  color: var(--primary-color);
}

.job-item-company {
  font-size: 14px;
  color: var(--text-light-color);
}

.job-card-salary span:not(.salary-indicator) {
  display: block;
  font-weight: 500;
}

.job-card-time {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light-color);
  font-size: 14px;
  white-space: nowrap;
}
.job-card-time .feather {
  width: 16px;
  height: 16px;
}

.favorite-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light-color);
  padding: 4px;
}

.favorite-btn:hover {
  color: #ef4444; /* Raudona spalva */
}

/* Puslapiavimo stiliai */
.pagination-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.pagination {
  list-style: none;
  display: inline-flex;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-item {
  border-right: 1px solid var(--border-color);
}
.page-item:last-child {
  border-right: none;
}

.page-link {
  display: flex;
  padding: 10px 16px;
  color: var(--primary-color);
  text-decoration: none;
  background: var(--white-color);
  transition: background-color 0.2s;
}

.page-item:not(.disabled) .page-link:hover {
  background-color: var(--background-light);
  color: #2c5578;
}

.page-item.active .page-link {
  background-color: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
}

.page-item.disabled .page-link {
  color: #b0b8c5;
  pointer-events: none;
}
.page-link .feather {
  width: 18px;
  height: 18px;
}

/* Straipsnių sekcija */
.articles-section {
  background: var(--background-light);
  padding: 60px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--white-color);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 20px;
}

.article-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.article-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-light-color);
  margin-bottom: 16px;
  line-height: 1.6;
}

.article-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.article-link:hover .arrow-icon {
  transform: translateX(4px);
}

.all-articles-link-container {
  text-align: center;
  margin-top: 40px;
}

.main-content {
  flex: 1; /* Nereikia flex, jei nėra sidebar'o */
  min-width: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.menu-item.expanded .dropdown-arrow {
  transform: rotate(180deg);
}

.active-submenu {
  border-radius: 4px;
  margin-bottom: 8px;
  transition: background 0.2s ease;
}

.active-submenu.expanded {
  background: #e8f1f8;
}

.menu-item.expanded:hover {
  background: #e8f1f8 !important;
  color: var(--primary-color) !important;
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 0;
  list-style: none;
}

.submenu.show {
  max-height: 200px;
}

.submenu-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  padding-left: 44px;
  border-radius: 8px;
  color: var(--text-light-color);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 13px;
  margin-bottom: 2px;
  position: relative;
}

.submenu-item:hover {
  padding-left: 48px; /* Mažas efektas užvedus pelę */
  color: var(--primary-color);
}

.submenu-item.active {
  color: var(--primary-color);
  font-weight: 500;
}

.sidebar {
  width: 300px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 20px;

  /* --- PRITAIKYTI PAKEITIMAI --- */
  position: static; /* Aiškiai nurodome, kad elementas turi slinkti kartu su turiniu */
  top: auto; /* Atstatome 'top' savybę į numatytąją */
  max-height: none; /* Panaikiname maksimalaus aukščio apribojimą */
  /* --- PAKEITIMŲ PABAIGA --- */

  align-self: flex-start;
  flex-shrink: 0;
  margin-bottom: 32px;
}

/* Mobili adaptacija */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 901px) {
  .multi-select-option:hover {
    background: #f3f4f6;
  }
  .mobile-sidebar {
    visibility: hidden;
  }
  .multi-select-option:hover {
    background: #f3f4f6;
  }
}

@media (max-width: 900px) {
  .btn-icon-only {
    width: 32px;
    height: 32px;
  }

  .content-header .toggle-container {
    align-self: flex-start;
  }
  .btn-icon-only .action-icon {
    width: 14px;
    height: 14px;
  }

  .sidebar {
    /* Mobiliojoje versijoje rodomas sidebar'as */
    display: block;
    width: 100%; /* Užiima visą plotį mobiliajame */
    position: static; /* Nebereikia sticky, kadangi rodomas pačiame turinyje */
    max-height: none; /* Atstatome aukštį */
    overflow-y: visible; /* Atstatome overflow */
    margin-bottom: 20px; /* Atstumas nuo turinio */
  }

  .content-header {
    padding-bottom: 15px;
    flex-direction: column;
    align-items: stretch;
  }

  .form-section {
    padding: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .section-header h2 {
    font-size: 16px;
  }

  .salary-group {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .salary-inputs {
    flex-direction: row;
    gap: 12px;
  }

  .salary-input-wrapper {
    flex: 1;
    width: auto;
  }

  .salary-period {
    width: 100%;
  }

  .payment-method {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
  }

  .form-actions {
    flex-direction: column;
    gap: 12px;
    justify-content: center;
  }

  .form-actions > * {
    width: 100%;
    justify-content: center;
  }

  .form-actions-right {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .form-actions-right button {
    width: 100%;
  }

  .form-group-row-label {
    font-size: 13px;
  }

  .page-title {
    font-size: 18px;
  }

  .header-container {
    padding: 0 15px;
    height: 60px;
    justify-content: space-between;
    position: relative;
  }
  .logo-section {
    flex: initial;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .navigation,
  .user-section {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    padding: 8px;
    position: relative;
    z-index: 1102;
    order: -1;
  }

  .hero-section {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .search-form {
    flex-direction: column;
    padding: 8px;
    gap: 0;
  }
  .search-input-group {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0px;
  }
  .search-input-group:last-of-type {
    border-bottom: none;
  }
  .search-btn {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
    max-width: 700px;
  }

  .search-btn .btn-icon {
    display: block;
  }

  .stats-section .container {
    flex-wrap: wrap;
    gap: 12px;
  }

  .listings-section {
    padding: 32px 0;
  }

  .stats-section {
    padding: 24px 0;
  }

  .stat-item {
    flex-basis: calc(50% - 10px);
  }
  .stat-value {
    font-size: 26px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* NAUJI MOBILŪS SKELBIMŲ KORTELIŲ STILIAI */
  .job-listings-container {
    border: none;
    background: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* Atstatome .job-card grid nustatymus mobiliesiems */
  .job-card {
    display: flex; /* Grąžiname flex, kaip buvo anksčiau */
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    order: initial; /* Atstatome order savybę */
  }

  .job-card.featured-job {
    border-left-width: 4px;
  }

  /* Atstatome vidinių konteinerių elgseną */
  .job-card-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .job-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 4px;
  }

  /* Atstatome elementų tvarką mobiliojoje versijoje */
  .job-card-logo {
    order: 2;
  }
  .favorite-btn {
    order: 1;
  }
  .job-card-time {
    order: 3;
  }
  /* Atstatome kitų elementų order, kad nesimaišytų */
  .job-card-position,
  .job-card-location,
  .job-card-salary {
    order: initial;
  }

  .job-card-location,
  .job-card-salary {
    font-size: 14px;
  }

  .job-card-salary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: normal;
  }
  /* END NAUJI MOBILŪS STILIAI */

  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.salary-indicator {
  font-size: 11px;
  font-weight: 500;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 4px;
}

/* =================================================== */
/* == PRISIJUNGIMO / REGISTRACIJOS MODALO STILIAI ===== */
/* =================================================== */

/* Modal Overlay */
.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: 9999;
  backdrop-filter: blur(2px);
  animation: overlayFadeIn 0.3s ease-out;
  padding: 20px;
}

/* Modal Container */
.modal {
  background: white;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalBounceIn 0.4s ease-out;
  position: relative;
  overflow: hidden;
}

.modal.auth-modal {
  max-width: 400px;
}

.modal.promotion-modal {
  max-width: 420px;
}

.promotion-section {
  background: #f9fafb;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid #e5e7eb;
}

.promotion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.promotion-icon {
  width: 20px;
  height: 20px;
  color: #386d97;
  flex-shrink: 0;
}

.promotion-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.promotion-text {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 12px;
  padding-left: 30px;
}

.promotion-benefits {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 30px;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
  padding-right: 20px;
}

.modal-icon {
  width: 48px;
  height: 48px;
  background: #e8f1f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.promotion-option {
  position: relative;
  margin-bottom: 6px;
}

.promotion-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.promotion-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}

.promotion-option:hover .promotion-label {
  border-color: #9ca3af;
  background: #fafafa;
}

.promotion-option input[type="radio"]:checked ~ .promotion-label {
  border-color: #386d97;
  background: #f0f7ff;
}

.promotion-label-vip {
  border-color: #f5e5b6;
  background-color: #fffbeb;
}

.promotion-info {
  flex: 1;
}

.promotion-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 2px;
}

.promotion-duration {
  font-size: 12px;
  color: #6b7280;
}

.promotion-badge {
  background: #10b981;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
}

.promotion-price {
  text-align: right;
}

.price-value {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.price-period {
  font-size: 11px;
  color: #6b7280;
}

.promotion-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f1f8;
  color: #386d97;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
}

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.benefits-list {
  background: #f9fafb;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 16px;
}

.modal-icon svg {
  width: 24px;
  height: 24px;
  color: #386d97;
  stroke-width: 2.5;
}

.modal-subtitle {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.4;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4b5563;
}

.benefit-icon {
  width: 14px;
  height: 14px;
  color: #10b981;
  flex-shrink: 0;
}

.modal-strip {
  height: 4px;
  background: linear-gradient(90deg, #386d97 0%, #5a8bb5 100%);
}

.success-strip {
  height: 4px;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.warning-strip {
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
  height: 4px;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #9ca3af;
  z-index: 10;
}

.modal-close-btn:hover {
  background: #f3f4f6;
  color: #6b7280;
}

.modal-close-btn .feather {
  width: 18px;
  height: 18px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #9ca3af;
  z-index: 10;
}

.close-btn:hover {
  background: #f3f4f6;
  color: #6b7280;
}

.close-btn svg {
  width: 18px;
  height: 18px;
}

/* Modal Content */
.modal-content {
  padding: 24px 24px 20px;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.modal-description {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.4;
}

/* Status/Success Section Styles */
.status-section {
  text-align: center;
  margin-bottom: 20px;
}

.status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.status-icon.success-icon {
  background: #f0fdf4;
}

.status-icon.success {
  background: #f0fdf4;
  color: #10b981;
}

.status-icon.warning {
  background: #fff7ed;
  color: #f97316;
}

.status-icon.success-icon svg {
  color: #10b981;
  stroke-width: 2.5;
}

.status-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.5;
}

.status-icon.warning-icon {
  background: #fff7ed;
}

.status-icon.warning-icon svg {
  color: #f97316;
  stroke-width: 2.5;
}

.text-center {
  text-align: center;
}

/* Auth Modal Specific Styles */
.auth-header {
  text-align: center;
  margin-bottom: 12px;
}

.auth-header .modal-title {
  margin-bottom: 4px;
}

.auth-header .modal-description {
  font-size: 14px;
}

.auth-header .modal-description a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.auth-header .modal-description a:hover {
  text-decoration: underline;
}

.tab-switcher {
  display: flex;
  background-color: #f3f4f6;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 18px;
  margin-top: 18px;
}

.tab-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.2s ease;
  font-family: inherit;
}

.tab-btn.active {
  background: white;
  color: #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
  margin-top: 8px;
}

.form-label.required::after {
  content: " *";
  color: #ef4444;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  color: #374151;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #386d97;
  box-shadow: 0 0 0 2px rgba(56, 109, 151, 0.2);
}

.form-select {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  color: #374151;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: white;
  font-family: inherit;
}

.form-textarea {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  color: #374151;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: white;
  font-family: inherit;
  min-height: 120px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #386d97;
  box-shadow: 0 0 0 3px rgba(56, 109, 151, 0.1);
  caret-color: #374151; /* <-- Šią eilutę reikia pridėti */
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

.char-counter {
  text-align: right;
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #dc2626;
  font-size: 13px;
  margin-top: 6px;
}

.error-message .feather {
  width: 16px;
  height: 16px;
}

.form-select.error {
  border-color: #dc2626;
}

.text-link {
  display: block;
  text-align: right;
  font-size: 13px;
  color: var(--primary-color);
  text-decoration: none;
  margin-top: -10px;
  margin-bottom: 16px;
  margin-top: 12px;
  cursor: pointer;
}

.text-link:hover {
  text-decoration: underline;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  margin-top: 14px;
}

.checkbox-group label {
  font-size: 13px;
  color: #4b5563;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  accent-color: var(--primary-color);
}

.form-info-message {
  background-color: #e8f1f8;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--primary-hover-color);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.form-info-message svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Action Buttons */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal .btn {
  width: 100%;
  padding: 11px 16px;
  gap: 6px;
}

/* Animations */
@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalBounceIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hidden {
  display: none;
}

/* ======================================= */
/* ====== MOBILE SIDEBAR STYLES ========== */
/* ======================================= */

/* Mobile menu button icon */
.menu-icon {
  width: 24px;
  height: 16px;
  position: relative;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  position: absolute;
  transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-icon span:nth-child(3) {
  bottom: 0;
}

/* Mobile menu active state */
.mobile-menu-btn.active .menu-icon span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active .menu-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .menu-icon span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Styles */
.mobile-sidebar-employer-btn {
  width: 100%;
  text-align: center;
}

.mobile-sidebar-auth-buttons {
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-sidebar-auth-buttons .btn {
  width: 100%;
}

.mobile-sidebar-auth-buttons .btn-register {
  background: #397e9c;
  border-color: #0ea5e9;
}

/* Mobile sidebar overlay */
.mobile-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
}

.mobile-sidebar-overlay.active {
  display: block;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 1101;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.active {
  left: 0;
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
  height: 60px;
  position: relative;
}

.mobile-sidebar-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-sidebar-logo img {
  height: 35px;
  width: auto;
}

.close-sidebar-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.close-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.close-icon::before,
.close-icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: #6b7280;
  top: 50%;
  left: 50%;
}
.close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-sidebar-content {
  padding: 16px;
}

.mobile-sidebar-buttons {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-sidebar-buttons .btn {
  width: 100%;
}

.mobile-cv-item {
  display: none;
}

.divider {
  height: 1px;
  background: var(--border-color);
  margin: 16px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
  margin-bottom: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.menu-item:hover {
  background: #f3f4f6;
  color: #484c4d;
}

.menu-item.active {
  background: #e8f1f8;
  color: #386d97;
  font-weight: 500;
}

.menu-item .icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  opacity: 0.7;
  flex-shrink: 0;
}

.menu-item:hover .icon,
.menu-item.active .icon {
  opacity: 1;
}

.btn .feather {
  width: 16px;
  height: 16px;
}

.favorite-btn .feather {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
/* =================================================== */
/* ====== SKELBIMO PERŽIŪROS PUSLAPIO STILIAI ======== */
/* =================================================== */

.job-view-section {
  padding-top: 24px;
  padding-bottom: 24px;
}

.job-view-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: flex-start;
}

/* Kairė pusė - pagrindinis turinys */
.job-content {
  background: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}

.job-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 24px;
  display: flex; /* Grąžiname flexbox, kad logotipas ir tekstas būtų vienoje eilutėje */
  align-items: center; /* Sulygiuojame elementus vertikaliai */
  gap: 20px; /* Tarpas tarp logotipo ir teksto */
}

.job-company-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-color);
  margin-top: 8px; /* Pridedame didesnį tarpą nuo pavadinimo */
}

.job-header-logo {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  object-fit: contain;
  padding: 5px;
  background-color: var(--white-color);
  flex-shrink: 0; /* Neleidžia logotipui susitraukti */
}

.job-title-group {
  display: flex;
  flex-direction: column;
}

.all-company-jobs-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.all-company-jobs-link .feather {
  display: none;
}

.all-company-jobs-link:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--text-light-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--primary-color);
}

.back-link .feather {
  width: 18px;
  height: 18px;
}

.company-name {
  font-weight: 500;
}

.similar-jobs-section {
  padding: 60px 0;
  background: var(--background-light);
  border-top: 1px solid var(--border-color);
}

.print-job-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px;
  font-size: 14px;
  color: var(--text-light-color);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.print-job-link:hover {
  background-color: var(--background-light);
  color: var(--text-color);
}

.print-job-link .feather {
  width: 16px;
  height: 16px;
}

.job-title-main {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.2;
  margin-bottom: 4px; /* Sumažiname tarpą, nes kiti elementai eina po juo */
}

.job-company-info a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
}

.job-company-info a:hover {
  text-decoration: underline;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light-color);
  margin-bottom: 0; /* Pašaliname tarpą, nes jis nebereikalingas */
}

.location-tag .feather {
  width: 16px;
  height: 16px;
}

.job-description-wrapper p,
.job-description-wrapper li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light-color);
}

.job-description-wrapper p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color); /* Atstatome spalvą į tamsesnę */
}

/* Pašaliname sąrašo stilius */
.job-description-wrapper ul {
  list-style-type: none;
  padding-left: 0;
}
.job-description-wrapper ul li {
  position: relative;
  padding-left: 0; /* Pašaliname kairinį postūmį */
  margin-bottom: 10px;
}

/* Dešinė pusė - Sidebar */
.job-sidebar {
  position: sticky;
  top: 100px; /* 80px header + 20px atstumas */
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.sidebar-card {
  background: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
}

.apply-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin-bottom: 12px;
}

.save-btn {
  width: 100%;
}

.job-meta-details {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meta-item .feather {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.meta-value {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-color);
}

.meta-label {
  font-size: 13px;
  color: var(--text-light-color);
}

.job-location-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #374151;
  margin-top: 8px;
  font-weight: 500;
}

.job-location-tag .feather {
  width: 18px;
  height: 18px;
}

.sidebar-salary-info {
  text-align: center;
  padding: 12px;
  background-color: #f0f7ff;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #bce0ff;
}

.sidebar-salary-info .salary-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  line-height: 1.2;
}

.sidebar-salary-info .salary-label {
  font-size: 14px;
  color: #2c5578;
  margin-top: 4px;
  display: block;
}
/* ------ PABAIGA ------ */

/* Mobili adaptacija skelbimo peržiūrai */
@media (max-width: 992px) {
  .job-view-layout {
    grid-template-columns: 1fr;
  }
  .job-sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 900px) {
  .job-company-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 12px;
  }

  .job-company-info .separator {
    display: none;
  }

  .job-company-info .company-name {
    order: 1;
    font-size: 15px;
  }

  .job-company-info .all-company-jobs-link {
    order: 2;
    font-size: 16px;
    margin-top: 4px;
  }

  /* Užtikrinti, kad job-header išlaikytų horizontalų išdėstymą su logotipu */
  .job-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  .job-header-logo {
    flex-shrink: 0;
  }

  .job-title-group {
    width: 100%;
  }

  .job-location-tag {
    margin-top: 8px;
  }

  .job-view-section {
    padding: 24px 0;
  }
  .job-content {
    padding: 20px;
    margin-bottom: 0px;
  }
  .job-title-main {
    font-size: 26px;
  }

  .job-header-logo {
    width: 80px;
    height: 80px;
  }

  .logo img {
    margin-left: 0px;
  }
}

/* Pazymeti kandidatai stiliai */

/* Candidate Card Styles */
.candidate-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  position: relative; /* Added for delete button positioning */
}
.candidate-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}
.candidate-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ddebf6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.candidate-photo .icon {
  width: 32px;
  height: 32px;
  color: #386d97;
}
.candidate-info {
  flex: 1;
  padding-right: 40px; /* Space for delete button */
}
.cv-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}
.candidate-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #6b7280;
  font-size: 12px;
}
.history-candidate-info .candidate-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-item .icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* Dalinimosi mygtukai */
.share-section {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.share-label {
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}

.share-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
}

.share-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.share-icon:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

@media (max-width: 900px) {
  .share-section {
    margin-top: 8px;
  }

  .share-icon {
    width: 30px;
    height: 30px;
  }

  .share-label {
    font-size: 12px;
  }
}

/* Dalinimosi ikonėlės meta-item viduje */
.share-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.share-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.share-icon:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

.share-icon.facebook {
  background: #1877f2;
}

.share-icon.twitter {
  background: #000;
}

.share-icon.linkedin {
  background: #0077b5;
}

.share-icon.copy-link {
  background: #6b7280;
  position: relative;
}

.share-icon.copy-link:hover {
  background: #4b5563;
}

/* Tooltip pranešimas po nuorodos nukopijavimo */
.copy-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #374151;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  margin-bottom: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}

.copy-tooltip.show {
  opacity: 1;
  visibility: visible;
}

.copy-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #374151 transparent transparent transparent;
}

.job-description-wrapper h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  margin-top: 24px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-description-wrapper h3 .feather {
  width: 22px;
  height: 22px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.job-description-wrapper h3:first-child {
  margin-top: 0;
}

@media print {
  .header,
  .job-sidebar,
  .similar-jobs-section,
  .back-link,
  .modal-overlay,
  .mobile-sidebar,
  .mobile-sidebar-overlay,
  .all-company-jobs-link {
    display: none !important;
  }

  body {
    background: white;
  }

  .job-view-section {
    padding: 0;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .job-view-layout {
    display: block;
  }

  .job-content {
    border: none;
    box-shadow: none;
    padding: 0;
    background: white;
  }

  .job-header {
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }

  .job-title-main {
    font-size: 24pt;
    color: #000;
  }

  .job-description-wrapper h3 {
    font-size: 16pt;
    color: #000;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  /* Paslėpti ikonas prie antraščių spausdinant */
  .job-description-wrapper h3 .feather {
    display: none !important;
  }

  .job-description-wrapper p {
    font-size: 11pt;
    color: #000;
    line-height: 1.5;
  }

  /* Meta informacija po aprašymo BEZ LINIJOS */
  .print-meta-info {
    display: block !important;
    margin-top: 40px;
    padding-top: 0; /* Pašalinta padding */
    border-top: none; /* Pašalinta linija */
  }

  .print-meta-info .meta-row {
    margin-bottom: 10px;
    font-size: 11pt;
  }

  .print-meta-info .meta-label {
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
  }

  .print-meta-info .meta-value {
    color: #000;
  }

  /* Logotipas apačioje centre */
  .job-content::after {
    content: "© Darboskelbimas.lt - darbo paieškos portalas.";
    display: block;
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 10pt;
    color: #666;
  }

  .job-company-info .separator,
  .all-company-jobs-link {
    display: none !important;
  }
}

/* Paslėpti print-meta-info normaliu atveju */
.print-meta-info {
  display: none;
}

/* I virsu scrollinimas */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  border: none;
  outline: none;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out,
    transform 0.3s ease-out, background-color 0.3s;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTopBtn:hover {
  background-color: var(--primary-hover-color);
  transform: translateY(-2px);
}

#scrollToTopBtn .feather {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

@media (max-width: 900px) {
  .dropdown-header {
    /* Nuimame seną padding ir nustatome naują, kompaktiškesnį */
    padding: 8px;
    position: static; /* Svarbu nuimti 'relative', jei buvo likęs */
  }

  /* Viršutinė eilutė: Paieška + Uždarymo mygtukas */
  .dropdown-header-top-line {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .dropdown-header-top-line .multi-select-search-dropdown {
    flex: 1; /* Paieškos laukas užima visą likusią erdvę */
    padding: 8px 10px;
    height: 32px;
    border: 1px solid lightgray;
    background: white;
  }

  .dropdown-header-top-line .mobile-dropdown-close {
    display: flex !important; /* Užtikriname matomumą */
    align-items: center;
    justify-content: center;
    position: static; /* Mygtukas nebėra absoliučiai pozicionuotas */
    flex-shrink: 0; /* Neleidžiame mygtukui susispausti */
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
  }

  .dropdown-header-top-line .mobile-dropdown-close:hover {
    background: #f3f4f6;
  }

  .dropdown-header-top-line .mobile-dropdown-close svg {
    width: 18px;
    height: 18px;
  }

  /* Apatinė eilutė: Išvalyti mygtukas */
  .dropdown-header-bottom {
    display: flex;
    justify-content: center; /* Centruojame mygtuką */
  }
  .multi-select-dropdown {
    max-height: 300px;
  }

  .dropdown-header-bottom .clear-all-btn {
    width: auto;
    padding: 4px 12px;
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
  }

  .dropdown-header-bottom .clear-all-btn:hover {
    background: #e8f1f8;
  }
}
