.ipm-h2 {
    font-size: 26px;
    margin: 0px 0 20px 0 !important;
}

form .ipm-h2 img {
    background-color: #fff !important;
}

/* --- Reset simple et base inversé (dark mode) --- */
.ipm-form {
  max-width: 900px;
  margin: 2rem auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
  background: #121212;
  padding: 20px 20px;
  border-radius: 12px;
}

/* Notices */
.ipm-notice {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.1rem;
}

.ipm-success {
  background: #155724;
  border-left: 6px solid #28a745;
  color: #d4edda;
}

.ipm-error {
  background: #721c24;
  border-left: 6px solid #dc3545;
  color: #f8d7da;
}

/* Form grid */
.ipm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 22px;
}

/* Cards */
.ipm-card-select {
  max-width: 340px;
  margin: auto auto 20px auto;
  text-align: center;
}

.ipm-card {
  background: #222;
  border: 1px solid #444;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(255,255,255,0.04);
  transition: box-shadow 0.25s ease;
}

.ipm-card:hover {
  box-shadow: 0 10px 25px rgba(255, 0, 153, 0.3);
}

.ipm-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-weight: 700;
  color: #ddd;
  font-size: 1.15rem;
}

/* Select */
.ipm-card select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #888;
  font-size: 1rem;
  outline-offset: 3px;
  transition: border-color 0.3s ease;
  background-color: #121212;
  color: #eee;
  appearance: none;
}

.ipm-card select:focus {
  border-color: #ff0099;
  box-shadow: 0 0 8px rgba(255,0,153,0.7);
  background-color: #1a1a1a;
  color: #fff;
}

/* Bouton */
.ipm-submit {
  display: block;
  margin: 30px auto 20px auto;
  background-color: #ff0099;
  color: #121212;
  border: none;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 60px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,0,153,0.5);
  transition: background-color 0.3s ease;
}

.ipm-submit:hover {
  background-color: #cc0077;
  color: #fff;
}

/* Résultats */

.ipm-results {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
  background: #121212;
  max-width: 900px;
  margin: 0 auto 0 auto;
  padding: 20px 0px;
  background: #222;
  border-radius: 12px;
}

.ipm-result-card {
  border-bottom: 1px solid #444;
  padding-bottom: 15px;
}

.ipm-result-card:last-child {
  margin-bottom: 0;
  padding-bottom: 15px;
}

.ipm-result-card h3 {
  font-weight: 700;
  font-size: 1.3rem;
  color: #ff0099;
  margin-bottom: 12px;
}

.ipm-result-card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 0;
  color: #bbb;
}

.ipm-column-wrapper {
  column-count: 2;
  column-gap: 30px;
}

@media screen and (max-width: 700px) {
  .ipm-column-wrapper {
    column-count: 1;
  }
}

.ipm-column-wrapper .ipm-result-card {
  break-inside: avoid;
  margin-bottom: 24px;
}

