.consultation-popup {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .consultation-popup.active {
      opacity: 1;
      visibility: visible;
    }

    .popup-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(6px);
    }

    .popup-container {
      position: relative;
      width: 100%;
      max-width: 480px;
      max-height: 85vh;
      background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
      border-radius: 20px;
      padding: 28px 24px;
      box-shadow: 0 25px 60px rgba(200, 169, 126, 0.25), 0 0 15px rgba(200, 169, 126, 0.1);
      border: 1px solid rgba(200, 169, 126, 0.4);
      overflow-y: auto;
      z-index: 1;
      transform: translateY(25px);
      transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .consultation-popup.active .popup-container {
      transform: translateY(0);
      opacity: 1;
    }

    .popup-close-btn {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 34px;
      height: 34px;
      background: rgba(200, 169, 126, 0.15);
      border: 1px solid #c8a97e;
      border-radius: 50%;
      color: #c8a97e;
      font-size: 18px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .popup-close-btn:hover {
      background: #c8a97e;
      color: #1a1a1a;
      transform: rotate(90deg);
    }

    .popup-header {
      text-align: center;
      margin-bottom: 18px;
    }

    .popup-header h3 {
      color: #c8a97e;
      font-size: 24px;
      margin-bottom: 6px;
      font-weight: 700;
      letter-spacing: 0.5px;
    }

    .popup-header p {
      color: #e0e3e8;
      font-size: 14px;
      line-height: 1.4;
    }

    .popup-form {
      display: grid;
      gap: 14px;
    }

    .form-group {
      position: relative;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      padding: 11px 0;
      background: transparent;
      border: none;
      border-bottom: 1px solid rgba(200, 169, 126, 0.4);
      color: #fff;
      font-size: 14px;
      outline: none;
      transition: all 0.3s ease;
    }

    .form-group select {
      appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c8a97e'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 0 center;
      background-size: 20px;
      padding-right: 20px;
    }

    .form-group textarea {
      resize: vertical;
      min-height: 70px;
    }

    .form-group label {
      position: absolute;
      top: 11px;
      left: 0;
      color: rgba(200, 169, 126, 0.75);
      font-size: 14px;
      pointer-events: none;
      transition: all 0.3s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-bottom-color: #c8a97e;
      box-shadow: 0 1px 0 0 #c8a97e;
    }

    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:focus + label,
    .form-group textarea:not(:placeholder-shown) + label,
    .form-group select:focus + label,
    .form-group select:not(:placeholder-shown) + label {
      top: -8px;
      font-size: 10px;
      color: #c8a97e;
    }

    .checkbox-group {
      display: flex;
      align-items: center;
      margin: 8px 0 0 0;
    }

    .checkbox-group input {
      width: auto;
      margin-right: 8px;
      accent-color: #c8a97e;
    }

    .checkbox-group label {
      color: #e0e3e8;
      font-size: 12px;
      cursor: pointer;
    }

    .submit-btn {
      background: linear-gradient(135deg, #c8a97e 0%, #e6c28c 100%);
      color: #1a1a1a;
      border: none;
      padding: 12px 0;
      border-radius: 50px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.3s ease;
      margin-top: 6px;
    }

    .submit-btn:hover {
      background: linear-gradient(135deg, #e6c28c 0%, #c8a97e 100%);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(200, 169, 126, 0.3);
    }

    .submit-btn i {
      transition: transform 0.3s ease;
    }

    .submit-btn:hover i {
      transform: translateX(5px);
    }

    .schedule-btn {
      background: linear-gradient(135deg, #c8a97e 0%, #e6c28c 100%);
      color: #1a1a1a;
      border: none;
      padding: 12px 24px;
      border-radius: 50px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .schedule-btn:hover {
      background: linear-gradient(135deg, #e6c28c 0%, #c8a97e 100%);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(200, 169, 126, 0.3);
    }

    /* Responsive Design */
    @media (max-width: 600px) {
      .popup-container {
        padding: 20px 12px;
        max-width: 95vw;
        max-height: 90vh;
      }
      .popup-header h3 {
        font-size: 20px;
      }
      .popup-header p {
        font-size: 13px;
      }
      .form-group input,
      .form-group textarea,
      .form-group select {
        padding: 10px 0;
        font-size: 13px;
      }
      .form-group label {
        font-size: 13px;
        top: 10px;
      }
      .form-group input:focus + label,
      .form-group input:not(:placeholder-shown) + label,
      .form-group textarea:focus + label,
      .form-group textarea:not(:placeholder-shown) + label,
      .form-group select:focus + label,
      .form-group select:not(:placeholder-shown) + label {
        top: -7px;
        font-size: 9px;
      }
      .submit-btn {
        padding: 11px 0;
        font-size: 14px;
      }
    }

    @media (max-width: 400px) {
      .popup-container {
        padding: 16px 10px;
      }
      .popup-header h3 {
        font-size: 18px;
      }
      .form-group select {
        background-size: 18px;
        padding-right: 18px;
      }
    }

    body.popup-open {
      overflow: hidden;
    }

.popup-message {
    padding: 10px;
    margin: 15px 0;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.popup-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.popup-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
    