/**
 * Large Hero Hire & Project Inquiry Modal Stylesheet
 * Mohd Irshad Web Developer Portfolio
 * Liquid Glass Kit + Neumorphic Depth + Animated Flowing Gradient Borders
 */

/* Modal Overlay Backdrop with Liquid Blur */
.hire-modal-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(30, 27, 75, 0.85) 0%, rgba(15, 23, 42, 0.92) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.hire-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal XL Dialog Box - Liquid Glass + Neumorphism */
.hire-modal-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  width: 100%;
  max-width: 890px;
  max-height: 92vh;
  border-radius: 26px;
  box-shadow: 
    0 30px 70px -15px rgba(15, 23, 42, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 0 40px rgba(124, 58, 237, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s ease;
  position: relative;
}

.hire-modal-overlay.active .hire-modal-card {
  transform: scale(1) translateY(0);
}

/* 1. HERO MODAL HEADER WITH LIQUID MESH */
.hire-modal-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #31104b 100%);
  padding: 1.6rem 2.2rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Liquid Glow Ambient Orbs */
.hire-header-glow-orb {
  position: absolute;
  top: -50px;
  right: -30px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.5) 0%, rgba(234, 88, 12, 0.2) 50%, rgba(0, 0, 0, 0) 75%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
  animation: orbFloatAnim 6s ease-in-out infinite alternate;
}

@keyframes orbFloatAnim {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20px, 15px) scale(1.15); }
}

.hire-header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hire-header-avatar-group {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.hire-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.hire-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #c084fc;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.5), inset 0 2px 4px rgba(0,0,0,0.2);
}

.hire-avatar-pulse-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background: #22c55e;
  border-radius: 50%;
  border: 2.5px solid #0f172a;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5);
  animation: pulseHireOnline 2s infinite;
}

@keyframes pulseHireOnline {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.85); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hire-header-titles h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.48rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hire-header-titles p {
  font-size: 0.84rem;
  color: #cbd5e1;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hire-status-tag {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  backdrop-filter: blur(4px);
}

.btn-close-hire-modal {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-close-hire-modal:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: #ef4444;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
}

/* 2. MODAL FORM BODY */
.hire-modal-body {
  padding: 1.8rem 2.2rem;
  overflow-y: auto;
  flex: 1;
}

.hire-form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.hire-form-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1.1rem 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid #f1f5f9;
}

.hire-field-group {
  margin-bottom: 1.1rem;
}

.hire-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #475569;
  margin-bottom: 0.4rem;
  letter-spacing: 0.2px;
}

.hire-field-label span.req {
  color: #ef4444;
}

/* --------------------------------------------------------------------------
   NEUMORPHIC INPUTS WITH ANIMATED FLOWING GRADIENT BORDER ON HOVER
   -------------------------------------------------------------------------- */
.hire-input-box {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 12px;
}

.hire-input-icon {
  position: absolute;
  left: 0.95rem;
  color: #94a3b8;
  font-size: 0.88rem;
  pointer-events: none;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

/* Base Neumorphic Soft Inset Control */
.hire-input-ctrl, .hire-select-ctrl {
  width: 100%;
  padding: 0.72rem 1rem 0.72rem 2.5rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  font-family: inherit;
  box-shadow: 
    inset 2px 2px 5px rgba(0, 0, 0, 0.03),
    inset -2px -2px 5px rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.hire-textarea-ctrl {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  resize: vertical;
  font-family: inherit;
  box-shadow: 
    inset 2px 2px 5px rgba(0, 0, 0, 0.03),
    inset -2px -2px 5px rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ANIMATED LIQUID BORDER GLOW ON HOVER */
.hire-input-ctrl:hover, 
.hire-select-ctrl:hover, 
.hire-textarea-ctrl:hover {
  border-color: #a855f7;
  background: #ffffff;
  box-shadow: 
    0 0 0 3px rgba(168, 85, 247, 0.18),
    0 4px 14px rgba(124, 58, 237, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 1);
  transform: translateY(-1.5px);
}

.hire-input-box:hover .hire-input-icon {
  color: #7c3aed;
  transform: scale(1.1);
}

/* ACTIVE FOCUS LIQUID NEON BORDER PULSE */
.hire-input-ctrl:focus, 
.hire-select-ctrl:focus, 
.hire-textarea-ctrl:focus {
  border-color: #7c3aed;
  background: #ffffff;
  box-shadow: 
    0 0 0 4px rgba(124, 58, 237, 0.24),
    0 8px 22px rgba(124, 58, 237, 0.18),
    inset 0 1px 2px rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.hire-input-box:focus-within .hire-input-icon {
  color: #7c3aed;
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   NEUMORPHIC LIQUID GLASS PILLS (BUDGET & TIMELINE)
   -------------------------------------------------------------------------- */
.hire-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.hire-pill-option {
  position: relative;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.6rem 0.45rem;
  text-align: center;
  cursor: pointer;
  user-select: none;
  box-shadow: 
    3px 3px 8px rgba(0, 0, 0, 0.03),
    -3px -3px 8px rgba(255, 255, 255, 0.9);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hire-pill-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hire-pill-option .pill-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1e293b;
  transition: color 0.2s ease;
}

.hire-pill-option .pill-sub {
  display: block;
  font-size: 0.66rem;
  color: #64748b;
  margin-top: 0.15rem;
  font-weight: 600;
}

/* Hover Liquid Glow on Pills */
.hire-pill-option:hover {
  border-color: #c084fc;
  background: #ffffff;
  transform: translateY(-2.5px);
  box-shadow: 
    0 0 0 2.5px rgba(192, 132, 252, 0.25),
    0 8px 18px rgba(124, 58, 237, 0.12);
}
.hire-pill-option:hover .pill-title {
  color: #7c3aed;
}

/* Active Selected Liquid Pressed State */
.hire-pill-option.active {
  background: linear-gradient(135deg, #ede9fe 0%, #fae8ff 100%);
  border-color: #8b5cf6;
  box-shadow: 
    0 0 16px rgba(139, 92, 246, 0.3),
    inset 0 2px 4px rgba(139, 92, 246, 0.12);
  transform: translateY(-1px);
}

.hire-pill-option.active .pill-title {
  color: #6d28d9;
}

/* --------------------------------------------------------------------------
   3. DUAL-ACTION SUBMIT FOOTER WITH LIQUID GLASS SHIMMER
   -------------------------------------------------------------------------- */
.hire-modal-footer {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1.5px solid #e2e8f0;
  padding: 1.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hire-dual-submit-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.1rem;
}

/* Button 1: Submit to Admin (Purple Neumorphic Liquid) */
.btn-hire-submit-admin {
  position: relative;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 0.9rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 
    0 8px 20px rgba(124, 58, 237, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
  overflow: hidden;
}

/* Liquid Reflection Shimmer on Hover */
.btn-hire-submit-admin::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-hire-submit-admin:hover::before {
  left: 140%;
}

.btn-hire-submit-admin:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 
    0 12px 28px rgba(124, 58, 237, 0.45),
    0 0 20px rgba(124, 58, 237, 0.3);
  background: linear-gradient(135deg, #6d28d9 0%, #4338ca 100%);
}

/* Button 2: Direct WhatsApp (Emerald Liquid Neumorphism) */
.btn-hire-whatsapp-direct {
  position: relative;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 0.9rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 
    0 8px 20px rgba(34, 197, 94, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  font-family: inherit;
  overflow: hidden;
}

.btn-hire-whatsapp-direct::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-hire-whatsapp-direct:hover::before {
  left: 140%;
}

.btn-hire-whatsapp-direct:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 
    0 12px 28px rgba(34, 197, 94, 0.45),
    0 0 20px rgba(34, 197, 94, 0.3);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.hire-footer-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 700;
}

.hire-footer-guarantee span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* 4. SUCCESS CELEBRATION MODAL OVERLAY */
.hire-success-box {
  text-align: center;
  padding: 2.8rem 1.8rem;
  display: none;
}

.hire-success-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem auto;
  box-shadow: 
    0 12px 30px rgba(16, 185, 129, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
  animation: bounceHireSuccess 0.8s ease;
}

@keyframes bounceHireSuccess {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.12); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

.hire-success-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.6rem;
  letter-spacing: -0.3px;
}

.hire-success-desc {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 1.6rem auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hire-form-grid-2col {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .hire-dual-submit-row {
    grid-template-columns: 1fr;
  }
  .hire-modal-header {
    padding: 1.3rem 1.5rem;
  }
  .hire-modal-body {
    padding: 1.5rem;
  }
  .hire-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hire-footer-guarantee {
    flex-direction: column;
    gap: 0.45rem;
  }
}
