/* DeTodoTrabajo - Portal de Oportunidades & Trabajos */

.opp-page {
  padding: 40px max(5vw, 24px) 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.opp-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.opp-hero-text h1 {
  font-family: Fraunces, serif;
  font-size: clamp(32px, 4vw, 48px);
  margin: 8px 0 12px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.opp-hero-text p {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0;
}

.opp-hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.opp-publish-btn {
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 0 #0e513b;
}

.opp-publish-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #0e513b;
}

/* Tabs */
.opp-tabs-bar {
  display: flex;
  gap: 8px;
  border-bottom: 0;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.opp-tab-btn {
  background: transparent;
  color: var(--muted);
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: none !important;
  transform: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s, border-color 0.15s;
}

.opp-tab-btn:hover {
  color: var(--ink);
}

.opp-tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
  background: transparent;
}

.opp-tab-badge {
  background: #edf4dd;
  color: var(--green);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}

/* Filters layout */
.opp-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: flex-start;
}

.opp-main-feed,
.opp-layout > main {
  margin: 0 !important;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.opp-filters-card {
  background: #fff;
  border: 0;
  border-radius: 16px;
  padding: 18px;
  position: sticky;
  top: 96px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(21, 34, 28, 0.05);
}

.opp-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.opp-filters-title {
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  color: #0f172a;
}

.opp-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  box-shadow: none !important;
  transform: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.opp-filter-reset svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
  flex-shrink: 0;
}

.opp-filter-reset:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.opp-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.opp-filter-group label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.opp-filter-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: none;
  border-radius: 8px;
  background: #f8fafc;
  height: 38px;
  box-sizing: border-box;
  position: relative;
  min-width: 0;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.opp-filter-field:hover {
  background: #f1f5f9;
}

.opp-filter-field:focus-within,
.opp-filter-field.is-open {
  background: #ffffff !important;
  box-shadow: 0 0 0 2px var(--green), 0 2px 8px rgba(22, 114, 83, 0.08) !important;
  z-index: 120;
}

.opp-filter-field svg,
.opp-filter-field i {
  width: 15px;
  height: 15px;
  color: #64748b;
  flex-shrink: 0;
}

.opp-filter-field input {
  border: 0 !important;
  background: transparent !important;
  font-size: 12px !important;
  color: #1e293b !important;
  width: 100% !important;
  outline: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  cursor: text;
  height: 100% !important;
  font-family: inherit;
}

.opp-filter-field input::placeholder {
  color: #94a3b8;
}

.opp-filter-field .custom-select-wrap,
.opp-filter-field .opp-custom-select-wrap {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.opp-filter-field .custom-select-trigger,
.opp-filter-field .opp-custom-select-trigger {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  min-height: 38px !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 12px !important;
  color: #1e293b !important;
  width: 100% !important;
  cursor: pointer;
}

.opp-filter-field .custom-select-panel,
.opp-filter-field .opp-custom-select-panel {
  position: absolute !important;
  left: -25px !important;
  right: -10px !important;
  min-width: 200px !important;
  top: calc(100% + 6px) !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.06) !important;
  padding: 6px !important;
  z-index: 99999 !important;
}

.opp-filter-field .custom-select-panel.is-dropup,
.opp-filter-field .opp-custom-select-panel.is-dropup {
  top: auto !important;
  bottom: calc(100% + 6px) !important;
}

/* Feed & Cards */
.opp-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.opp-feed-count {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.opp-cards-grid {
  display: grid;
  gap: 16px;
}

.opp-card {
  background: #fff;
  border: 0;
  border-radius: 16px;
  padding: 22px;
  transition: box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  box-shadow: 0 2px 12px rgba(21, 34, 28, 0.04);
  transform: none !important;
}

.opp-card:hover {
  transform: none !important;
  box-shadow: 0 6px 20px rgba(21, 34, 28, 0.06);
}

.opp-card--chat-request {
  background: #fff !important;
}

.opp-card--chat-request:hover {
  box-shadow: 0 6px 20px rgba(21, 34, 28, 0.06) !important;
}

.opp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.opp-skeleton-block{display:block;position:relative;overflow:hidden;background:#e5e7e9;border-radius:6px;height:12px;max-width:100%;flex-shrink:0}
.opp-skeleton-block::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:opp-skeleton-shimmer 1.5s ease-in-out infinite}
.opp-skeleton-card{min-height:210px;pointer-events:none}
.opp-skeleton-card .opp-card-top{align-items:center}
.opp-skeleton-tag{width:150px;height:24px;border-radius:999px}
.opp-skeleton-tag-short{width:95px;height:24px;border-radius:999px}
.opp-skeleton-save{width:22px;height:24px}
.opp-skeleton-title{width:65%;height:22px;margin:3px 0}
.opp-skeleton-description{display:grid;gap:8px;margin-bottom:4px}
.opp-skeleton-description .opp-skeleton-block:last-child{width:72%}
.opp-skeleton-card .opp-card-meta-row{margin-top:auto}
.opp-skeleton-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;flex:1;min-width:0}
.opp-skeleton-location{width:150px}
.opp-skeleton-date{width:90px}
.opp-skeleton-budget{width:100px;height:16px}
.opp-skeleton-proposals{width:115px;height:24px}
.opp-skeleton-action{width:125px;height:36px;border-radius:8px}
@keyframes opp-skeleton-shimmer{100%{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.opp-skeleton-block::after{animation:none}}
@media(max-width:600px){.opp-skeleton-title{width:85%}.opp-skeleton-tag{width:120px}.opp-skeleton-tag-short{width:75px}.opp-skeleton-meta{flex-basis:100%}}

.opp-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.opp-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f3ee;
  color: var(--ink);
}

.opp-tag.opp-tag-urgent {
  background: #fee2e2;
  color: #b91c1c;
}

.opp-tag.opp-tag-category {
  background: #edf4dd;
  color: var(--green);
}

.opp-card-save-btn {
  background: transparent;
  color: var(--muted);
  padding: 6px;
  border-radius: 8px;
  box-shadow: none !important;
  transform: none !important;
}

.opp-card-save-btn:hover {
  color: #e11d48;
  background: #fff1f2;
}

.opp-card-save-btn.is-saved {
  color: #e11d48;
}

.opp-card-save-btn.is-saved i {
  fill: currentColor;
}

.opp-card-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}

.opp-card-title a {
  text-decoration: none;
}

.opp-card-title a:hover {
  color: var(--green);
}

.opp-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.opp-card-gallery {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  align-items: center;
}

.opp-card-thumb-btn {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer;
  display: inline-flex;
  overflow: hidden;
  line-height: 0;
  transition: none !important;
  animation: none !important;
}

.opp-card-thumb-btn:hover,
.opp-card-thumb-btn:focus-visible,
.opp-card-thumb-btn:active {
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
  opacity: 1 !important;
  transition: none !important;
  animation: none !important;
}

.opp-card-thumb {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  display: block;
}

.opp-card-thumb:hover {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
  animation: none !important;
}

.opp-card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: none;
  flex-wrap: wrap;
  gap: 10px;
}

.opp-meta-items {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.opp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.opp-budget-badge {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

.opp-proposals-badge {
  background: #f0fdf4;
  color: #166534;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.opp-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Secondary & Detail buttons (soft gray fill, no border, hover effect) */
.opp-btn-detail,
.opp-btn-secondary,
.opp-card .button.secondary,
.opp-card a.button.secondary,
.opp-card button.secondary,
.opp-card .secondary,
.opp-card button.secondary.small,
.opp-card a.button.secondary.small,
.opp-empty-state button,
.opp-empty-state .secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 14px !important;
  border-radius: 9px !important;
  border: none !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease !important;
}

.opp-btn-detail:hover,
.opp-btn-secondary:hover,
.opp-card .button.secondary:hover,
.opp-card a.button.secondary:hover,
.opp-card button.secondary:hover,
.opp-card .secondary:hover,
.opp-card button.secondary.small:hover,
.opp-card a.button.secondary.small:hover,
.opp-empty-state button:hover,
.opp-empty-state .secondary:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
}

.opp-btn-detail:active,
.opp-btn-secondary:active,
.opp-card .button.secondary:active,
.opp-card a.button.secondary:active,
.opp-card button.secondary:active,
.opp-card .secondary:active,
.opp-card button.secondary.small:active,
.opp-card a.button.secondary.small:active,
.opp-empty-state button:active,
.opp-empty-state .secondary:active {
  background: #cbd5e1 !important;
  transform: translateY(0) !important;
}

/* Modals & Modern Form Styling (0-Borders, Soft Grays, Hidden Scrollbars) */
.opp-modal {
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
  box-sizing: border-box !important;
  border: none !important;
  outline: none !important;
  border-radius: 20px !important;
  padding: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
  max-width: min(580px, calc(100vw - 24px)) !important;
  width: min(580px, calc(100vw - 24px)) !important;
  max-height: min(88dvh, 820px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.opp-modal::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.opp-modal::backdrop {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.opp-modal-inner {
  padding: 28px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
}

.opp-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.opp-modal-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.opp-modal-sub {
  color: #64748b;
  font-size: 13.5px;
  margin: 4px 0 0;
  line-height: 1.45;
}

.opp-modal-head .icon-button {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
  box-shadow: none !important;
  transform: none !important;
}

.opp-modal-head .icon-button:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.05) !important;
}

.opp-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.opp-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  min-width: 0;
  box-sizing: border-box;
  width: 100%;
}

.opp-form-field label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.opp-form-field .field-help {
  color: #64748b;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 400;
  line-height: 1.4;
}

.opp-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .opp-modal {
    max-width: calc(100vw - 20px) !important;
    width: calc(100vw - 20px) !important;
    border-radius: 16px !important;
  }
  .opp-modal-inner {
    padding: 20px 16px 18px !important;
    gap: 14px !important;
  }
  .opp-modal-head h2 {
    font-size: 19px !important;
  }
  .opp-form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Inputs & Textareas inside Modals: 0-Borders, Soft Gray, Rounded */
.opp-modal input[type="text"],
.opp-modal input[type="number"],
.opp-modal input[type="date"],
.opp-modal input[type="email"],
.opp-modal input[type="tel"],
.opp-modal input[type="search"],
.opp-modal textarea {
  width: 100% !important;
  border: none !important;
  background: #f1f5f9 !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  font-family: inherit !important;
  outline: none !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  transition: background 0.15s ease, box-shadow 0.15s ease !important;
}

.opp-modal .currency-input-wrap input {
  padding-left: 32px !important;
}

.opp-modal input:focus,
.opp-modal textarea:focus {
  background: #ffffff !important;
  box-shadow: 0 0 0 2px var(--green), 0 2px 8px rgba(22, 114, 83, 0.08) !important;
}

.opp-modal input::placeholder,
.opp-modal textarea::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.opp-modal textarea {
  resize: vertical !important;
  min-height: 86px !important;
  line-height: 1.5 !important;
}

/* Photo Upload in Modal */
.opp-modal .opp-photo-drop,
.opp-photo-drop {
  width: 100% !important;
  border: none !important;
  background: #f1f5f9 !important;
  border-radius: 12px !important;
  color: #167253 !important;
  padding: 16px !important;
  min-height: 88px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  transition: background 0.15s ease, box-shadow 0.15s ease !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.opp-modal .opp-photo-drop:hover,
.opp-photo-drop:hover {
  background: #e2e8f0 !important;
}

.opp-modal .opp-photo-drop.is-dragging,
.opp-photo-drop.is-dragging {
  background: #eaf5ee !important;
  box-shadow: 0 0 0 2px var(--green) !important;
}

.opp-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-top: 10px;
}

.opp-modal .modal-actions button.secondary,
.opp-modal .modal-actions [data-close-opp-modal].secondary {
  border: none !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-radius: 10px !important;
  padding: 11px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.opp-modal .modal-actions button.secondary:hover,
.opp-modal .modal-actions [data-close-opp-modal].secondary:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.opp-modal .modal-actions button[type="submit"],
.opp-modal .modal-actions button.button:not(.secondary) {
  background: var(--green) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 11px 24px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(22, 114, 83, 0.25) !important;
  transform: none !important;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s ease, filter 0.18s ease !important;
}

.opp-modal .modal-actions button[type="submit"]:hover,
.opp-modal .modal-actions button.button:not(.secondary):hover {
  opacity: 0.98 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(22, 114, 83, 0.38) !important;
  filter: brightness(1.03) !important;
}

.opp-modal .modal-actions button[type="submit"]:active,
.opp-modal .modal-actions button.button:not(.secondary):active {
  transform: translateY(0) scale(0.99) !important;
  box-shadow: 0 2px 6px rgba(22, 114, 83, 0.2) !important;
}

/* ==========================================================================
   Custom Modern Select Dropdown (Replacing OS / Windows XP Native Menus)
   ========================================================================== */

.opp-custom-select-wrap {
  position: relative;
  width: 100%;
}

.opp-native-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.opp-custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f1f5f9;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
  box-shadow: none;
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  user-select: none;
}

.opp-custom-select-trigger:hover {
  background: #e2e8f0;
}

.opp-custom-select-trigger:focus-visible,
.opp-custom-select-trigger.is-open {
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--green), 0 2px 8px rgba(22, 114, 83, 0.08);
}

.opp-custom-select-trigger.is-invalid {
  box-shadow: 0 0 0 2px #ef4444, 0 2px 8px rgba(239, 68, 68, 0.12);
  background: #fff5f5;
}

.opp-custom-select-trigger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f1f5f9;
}

.opp-custom-select-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.opp-custom-select-text.is-placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.opp-custom-select-chevron {
  width: 16px;
  height: 16px;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.15s ease;
}

.opp-custom-select-trigger.is-open .opp-custom-select-chevron {
  transform: rotate(180deg);
  color: var(--green);
}

.opp-custom-select-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 14px;
  border: none;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.06);
  padding: 6px;
  z-index: 99999;
  box-sizing: border-box;
  animation: oppDropdownFadeIn 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top center;
}

.opp-custom-select-panel.is-dropup {
  top: auto;
  bottom: calc(100% + 6px);
  transform-origin: bottom center;
  animation: oppDropdownDropup 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes oppDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes oppDropdownDropup {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.opp-custom-select-scroll {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.opp-custom-select-scroll::-webkit-scrollbar {
  width: 6px;
}

.opp-custom-select-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.opp-custom-select-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.opp-custom-select-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.opp-custom-select-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: #1e293b;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
  user-select: none;
  line-height: 1.35;
}

.opp-custom-select-item span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opp-custom-select-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.opp-custom-select-item.is-selected {
  background: #eaf5ee;
  color: #167253;
  font-weight: 600;
}

.opp-custom-select-check {
  display: none;
  width: 15px;
  height: 15px;
  color: #167253;
  flex-shrink: 0;
}

.opp-custom-select-item.is-selected .opp-custom-select-check {
  display: inline-block;
}

.opp-custom-select-item.is-disabled {
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.6;
}

.opp-custom-select-item.is-disabled:hover {
  background: transparent;
  color: #94a3b8;
}

/* Detail view */
.opp-detail-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 40px max(5vw, 24px) 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.opp-detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.opp-detail-card {
  background: #fff;
  border: 0 !important;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(21, 34, 28, 0.05);
}

.opp-proposals-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.opp-detail-flow-card {
  background: #ffffff !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 16px 20px !important;
  box-shadow: 0 4px 20px rgba(21, 34, 28, 0.05) !important;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.opp-detail-flow-card:hover {
  box-shadow: 0 8px 24px rgba(21, 34, 28, 0.08) !important;
}

.opp-detail-flow-card.is-menu-open,
.opp-detail-flow-card:has(.flow-more-dropdown:not([hidden])) {
  z-index: 100 !important;
}

.opp-detail-flow-card.is-accepted {
  background: linear-gradient(180deg, #f7fdfb, #ffffff) !important;
  border: none !important;
}

.opp-pro-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.opp-pro-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 16px;
}

/* Cancel job posting button */
.opp-btn-cancel {
  border: 1px solid #fecaca;
  background: #fff;
  color: #b91c1c;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.opp-btn-cancel:hover {
  background: #fef2f2;
  border-color: #f87171;
  color: #991b1b;
  transform: translateY(-1px);
}

.opp-btn-cancel:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 860px) {
  .opp-layout {
    grid-template-columns: 1fr;
  }
  .opp-filters-card {
    position: static;
  }
  .opp-detail-container {
    grid-template-columns: 1fr;
  }
}

.opp-card-dot-badge {
  display: inline-block !important;
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  max-width: 10px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #dc2626 !important;
  flex-shrink: 0;
}

.pro-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #167253;
  vertical-align: middle;
  cursor: default;
}

.pro-verified-badge svg,
.pro-verified-badge [data-lucide] {
  width: 15px;
  height: 15px;
  color: #167253 !important;
  stroke: #167253 !important;
  stroke-width: 2.2;
}


