
.btn-open {
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
  }

  .btn-open:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
  }

  .modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.726);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .modal {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    width: 95%;
    max-width: 650px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.35s ease-in-out;
  }

  @keyframes fadeIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .modal h2 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
  }

  .modal form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  

  @media(min-width: 500px){
    .modal input, .modal textarea {
        padding: 4px 6px;
        border-radius: 0.75rem;
        border: 1px solid #cbd5e1;
        background-color: #f8fafc;
        font-size: 1rem;
        transition: border 0.3s ease;
      }
  }

  @media(max-width: 500px){
    .modal input, .modal textarea {
        padding: 16px 9px;
        zoom: 70%;
        border-radius: 0.75rem;
        border: 1px solid #cbd5e1;
        background-color: #f8fafc;
        font-size: 1rem;
        transition: border 0.3s ease;
      }
  }

  .modal input:focus, .modal textarea:focus {
    border-color: #3b82f6;
    outline: none;
    background-color: #ffffff;
  }

  .modal textarea {
    resize: vertical;
    min-height: 120px;
  }

  

  @media(min-width: 500px){
    .modal p {
        font-size: 15px;
      }
    
  }

  @media(max-width: 500px){
    .modal p {
        font-size: 13px;
      }
  }


  .modal .actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
  }

  .modal button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-submit {
    background: #53525e;
    color: white;
  }

  .btn-submit:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #059669, #047857);
  }

  .btn-close {
    background: linear-gradient( 
        90deg,
        #b78608 50%,    /* Or sombre */
        #f7d162 90%,   /* Or clair */
        #d4af37 100%   /* Ivoire pâle */
        ) !important;
    color: white;
  }

  .btn-close:hover {
    background-color: #ef4444;
  }


  €text{
    color: rgba(255,175,41,0.8);
  }































