/* Header styles */
header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 5px 10px -5px rgb(0 0 0 / 5%);
}

.header-logo {
    width: 120px;
    height: auto;
}

.wrapper {
    max-width: 700px;
    margin: 60px auto;
    background-color: #fff;
    padding: 50px 40px;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    text-align: center;
  }
  h1 {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 30px;
    font-family: Helvetica, 'Helvetica Neue', Arial, 'Lucida Grande', sans-serif;
  }
  p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  .important {
    font-weight: 700;
    font-size: 19px;
    color: #27ae60;
  }
  .email {
    font-weight: 800;
    font-size: 22px;
    color: #e53935;
    animation: flash 1.5s infinite;
    margin: 10px 0;
  }
  .footer {
    margin-top: 40px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
  }
  .goodbye-image {
    margin-top: 40px;
  }
  .goodbye-image img {
    max-width: 180px;
  }
  @keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

/* Footer styles */
.site-footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    border-top: 1px solid #e9ecef;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.site-footer p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.site-footer a {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

.site-footer a:hover {
    color: #0056b3;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    padding: 20px 0;
}

.modal-content {
    background-color: #fff;
    margin: 20px auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    max-height: none;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .modal {
        padding: 10px 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px auto;
        padding: 20px;
        border-radius: 8px;
        min-height: calc(100vh - 40px);
        box-sizing: border-box;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 24px;
}

.modal-content h3 {
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
}

.modal-content h4 {
    color: #34495e;
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 16px;
}

.mentions-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}