/* Premium Glassmorphic Inquiry Panel */
#inquiry-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 1.5rem;
  margin-top: 2rem;
  position: relative;
  isolation: isolate;
}

#inquiry-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10, 10, 15, 0.9), rgba(10, 10, 15, 0.7)), url('../office.png');
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  z-index: -2;
  border-radius: 0 0 24px 24px;


}

#inquiry-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 20, 0.5);
  border-radius: 0 0 24px 24px;
  z-index: -1;
}

#inquiry-panel.active {
  max-height: 2000px;
  opacity: 1;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(168, 184, 255, 0.25);
  background: rgba(15, 15, 20, 0.75);
  backdrop-filter: blur(28px) saturate(1.15);
  border-radius: 0 0 24px 24px;
  box-shadow: 
    0 40px 120px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(168, 184, 255, 0.12);
}

/* Panel Header */
.panel-header {
  position: relative;
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(168, 184, 255, 0.18);
}

.panel-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 1.9rem);
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e5 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 0.75rem 0;
}

.panel-header p {
  color: rgba(176, 176, 181, 0.85);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.panel-close {
  position: absolute;
  top: -0.5rem;
  right: 0;
  background: rgba(168, 184, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 184, 255, 0.25);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: rgba(176, 176, 181, 0.9);
  font-size: 1.3rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.panel-close:hover {
  background: rgba(168, 184, 255, 0.25);
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(168, 184, 255, 0.2);
}

/* Glassmorphic Form Fields */
.inquiry-form .form-group {
  margin-bottom: 2.5rem;
  position: relative;
}

.inquiry-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(224, 224, 229, 0.95);
  margin-bottom: 1rem;
  letter-spacing: 0.025em;
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  width: 100%;
  padding: 1.4rem 1.6rem;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(168, 184, 255, 0.18);
  border-radius: 20px;
  color: #e0e0e5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 
    inset 0 1px 0 rgba(168, 184, 255, 0.08),
    0 4px 20px rgba(0, 0, 0, 0.2);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(176, 176, 181, 0.5);
  font-weight: 400;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  outline: none;
  border-color: rgba(168, 184, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 
    0 0 0 4px rgba(168, 184, 255, 0.15),
    inset 0 1px 0 rgba(168, 184, 255, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.inquiry-form textarea {
  min-height: 130px;
  resize: vertical;
}

.inquiry-form select {
  cursor: pointer;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035)),
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23b0b0b5' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1.5rem center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 3.5rem;
  appearance: none;
}

.inquiry-form select:focus {
  background-image: linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)),
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23a8b8ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Upload Area - Glass Style */
.upload-group {
  border: 2px dashed rgba(168, 184, 255, 0.25);
  border-radius: 24px;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 2.5rem;
}

.upload-group:hover {
  border-color: rgba(168, 184, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.upload-support {
  color: rgba(176, 176, 181, 0.75);
  text-align: center;
  margin-bottom: 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
}

.upload-drag {
  border: 2px dashed rgba(168, 184, 255, 0.2);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(16px);
}

.upload-drag.dragover {
  border-color: #a8b8ff;
  background: rgba(168, 184, 255, 0.08);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 70px rgba(168, 184, 255, 0.15);
}

.upload-drag p {
  color: rgba(224, 224, 229, 0.8);
  margin: 0 0 0.75rem 0;
  font-weight: 400;
}

.upload-drag p:last-child {
  color: #a8b8ff;
  font-weight: 500;
  font-size: 1.05rem;
}

.upload-files {
  margin-top: 2rem;
}

.upload-file {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid rgba(168, 184, 255, 0.12);
  transition: all 0.3s ease;
}

.upload-file:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(168, 184, 255, 0.25);
  transform: translateY(-1px);
}

.upload-file-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #a8b8ff, #7ea4ff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0f;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.upload-file-name {
  flex: 1;
  color: #e0e0e5;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-file-remove {
  background: rgba(255, 107, 107, 0.2);
  border: none;
  color: rgba(255, 107, 107, 0.9);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  opacity: 0.8;
  flex-shrink: 0;
}

.upload-file-remove:hover {
  background: rgba(255, 107, 107, 0.4);
  color: #ff6b6b;
  opacity: 1;
  transform: scale(1.1);
}

/* Form Actions */
.form-actions {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(168, 184, 255, 0.15);
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

/* Success State */
.panel-success {
  padding: 4rem 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.panel-success.active {
  opacity: 1;
  transform: translateY(0);
}

.panel-success h2 {
  font-size: 1.8rem;
  color: #a8b8ff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.panel-success p {
  color: rgba(176, 176, 181, 0.9);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Toggle Button State */
.toggle-panel {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.toggle-panel.active {
  box-shadow: 0 20px 60px rgba(168, 184, 255, 0.35);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  #inquiry-panel.active {
    padding: 2rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
  }
  
  .inquiry-form .form-row {
    grid-template-columns: 1fr;
  }
  
  .upload-group {
    padding: 2rem;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  #inquiry-panel.active {
    padding: 1.5rem 1rem;
  }
}

