body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0d0d0d;
  color: white;
}

main.form-contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 40px;
  max-width: 1200px;
  margin: 100px auto;
  padding: 20px;
}

.contact-form, .coordonnees {
  flex: 1 1 48%;
  background-color: #1b1b1b;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.contact-form h2, .coordonnees h3 {
  font-size: 1.6rem;
  color: #2c82e0;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: none;
  background-color: #111;
  color: white;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border: 1px solid #2c82e0;
}

label[for="budget"] {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #ccc;
}

#budget-value {
  font-weight: bold;
  color: #00ffe1;
  margin-left: 10px;
}

input[type=range] {
  width: 100%;
  appearance: none;
  height: 6px;
  background: #2c82e0;
  border-radius: 3px;
  outline: none;
  margin-bottom: 20px;
}

input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: white;
  border: 2px solid #2c82e0;
  border-radius: 50%;
  cursor: pointer;
}

button[type=submit] {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50px;
  border: 2px solid #2c82e0;
  background-color: transparent;
  color: #2c82e0;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

button[type=submit]:hover {
  background-color: #2c82e0;
  color: black;
}

button .state {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
  z-index: 2;
}

#sun { opacity: 0; }
button:hover #moon { opacity: 0; }
button:hover #sun { opacity: 1; }

.coordonnees p, .coordonnees a {
  font-size: 15px;
  margin-bottom: 10px;
  color: #ccc;
}

.coordonnees a {
  color: #2c82e0;
  text-decoration: none;
}

.coordonnees a:hover {
  text-decoration: underline;
}

.popup-confirmation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: #1f1f1f;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  color: white;
  max-width: 400px;
  box-shadow: 0 0 25px rgba(0,255,255,0.2);
  position: relative;
}

.popup-content h2 {
  margin-top: 0;
  font-size: 26px;
  color: #2c82e0;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  font-size: 20px;
  color: #ccc;
}

@media screen and (max-width: 1024px) {
  main.form-contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-form, .coordonnees {
    width: 100%;
  }
}
