/* hire-deals.css */

.hde-container { padding: 1rem 0; }
.hde-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.hde-header h2 { margin: 0; color: var(--text-primary, #e2e8f0); font-size: 1.4rem; }
.hde-btn-dashboard { background: var(--bg-secondary, #334155); color: var(--text-primary, #e2e8f0); border: 1px solid var(--border, #475569); border-radius: 6px; padding: 0.5rem 1rem; font-weight: bold; cursor: pointer; font-size: 0.9rem; }
.hde-intro { color: var(--text-muted, #94a3b8); margin-bottom: 1.5rem; font-size: 0.9rem; }

.hde-btn-save { background: var(--accent, #f39c12); color: #0f172a; border: none; border-radius: 6px; padding: 0.6rem 1.2rem; font-weight: bold; cursor: pointer; font-size: 1rem; }
.hde-btn-cancel { background: transparent; border: 1px solid var(--border, #475569); color: var(--text-primary, #e2e8f0); border-radius: 6px; padding: 0.6rem 1.2rem; cursor: pointer; }

/* Deals list */
.hde-deals-list { margin: 1.5rem 0; }
.hde-deal-card { background: var(--bg-secondary, #1e293b); border-radius: 10px; padding: 1rem; margin-bottom: 1rem; border-left: 4px solid var(--accent, #f39c12); }
.hde-deal-summary { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.hde-deal-summary strong { color: var(--accent, #f39c12); }
.hde-deal-status { padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.hde-status-active { background: #14532d; color: #86efac; }
.hde-status-expired { background: #334155; color: #94a3b8; }
.hde-status-cancelled { background: #7f1d1d; color: #fca5a5; }
.hde-deal-expiry { color: var(--text-muted, #94a3b8); font-size: 0.8rem; }
.hde-deal-desc { color: var(--text-primary, #e2e8f0); font-size: 0.9rem; margin-bottom: 0.5rem; }
.hde-deal-actions { display: flex; gap: 0.5rem; }
.hde-btn-requests { background: #334155; color: #e2e8f0; border: 1px solid #475569; border-radius: 4px; padding: 0.3rem 0.8rem; cursor: pointer; font-size: 0.85rem; }
.hde-btn-cancel-deal { background: #7f1d1d; color: #fca5a5; border: none; border-radius: 4px; padding: 0.3rem 0.8rem; cursor: pointer; font-size: 0.85rem; }
.hde-empty { color: var(--text-muted, #64748b); text-align: center; padding: 2rem; }

/* Requests */
.hde-requests-container { background: var(--bg-secondary, #1e293b); border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; border: 1px solid var(--accent, #f39c12); }
.hde-requests-container h3 { color: var(--accent, #f39c12); margin-top: 0; }
.hde-request-card { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--border, #334155); }
.hde-request-details { display: flex; flex-direction: column; gap: 0.2rem; color: var(--text-primary, #e2e8f0); }
.hde-request-contact { text-align: right; }
.hde-masked { color: var(--text-muted, #94a3b8); font-style: italic; margin-right: 0.5rem; }
.hde-btn-subscribe { background: var(--accent, #f39c12); color: #0f172a; border: none; border-radius: 4px; padding: 0.3rem 0.6rem; cursor: pointer; font-weight: bold; font-size: 0.8rem; }

/* Form */
.hde-form-container { background: var(--bg-secondary, #1e293b); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; border-left: 4px solid var(--accent, #f39c12); }
.hde-form-container h3 { margin: 0 0 1rem; color: var(--accent, #f39c12); }
.hde-form { display: flex; flex-wrap: wrap; gap: 1rem; }
.hde-field { display: flex; flex-direction: column; min-width: 200px; flex: 1; }
.hde-field label { font-size: 0.85rem; color: var(--text-muted, #94a3b8); margin-bottom: 0.3rem; }
.hde-field input, .hde-field textarea, .hde-field select { padding: 0.6rem; border-radius: 6px; border: 1px solid var(--border, #334155); background: var(--bg-primary, #0f172a); color: var(--text-primary, #e2e8f0); font-size: 0.95rem; }
.hde-field input:focus, .hde-field textarea:focus, .hde-field select:focus { outline: none; border-color: var(--accent, #f39c12); }
.hde-form-actions { display: flex; gap: 0.5rem; align-items: center; width: 100%; margin-top: 0.5rem; }

/* Toasts */
.hde-toast { padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.9rem; font-weight: 500; animation: hde-slide-in 0.2s ease; }
.hde-toast-error { background: var(--danger, #7f1d1d); color: var(--danger-text, #fca5a5); border: 1px solid #ef4444; }
.hde-toast-success { background: var(--success, #14532d); color: var(--success-text, #86efac); border: 1px solid #22c55e; }
@keyframes hde-slide-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.hde-unread-banner {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  animation: hde-banner-in 0.3s ease;
}
.hde-unread-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  color: #0f172a;
  font-weight: 500;
}
.hde-unread-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}
.hde-unread-text {
  flex: 1;
}
.hde-unread-text strong {
  color: #000;
}
.hde-unread-close {
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0.3rem;
  line-height: 1;
  opacity: 0.7;
}
.hde-unread-close:hover {
  opacity: 1;
}
@keyframes hde-banner-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hde-btn-delete-deal {
  background: #7f1d1d;
  color: #fca5a5;
  border: none;
  border-radius: 4px;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  font-size: 0.85rem;
}
.hde-btn-delete-deal:hover {
  background: #991b1b;
}

