/* Styles améliorés pour le calculateur */

/* Style pour le bouton RECALCULER */
#recalculerBtn {
    display: block;
    margin: 20px auto;
    background-color: transparent;
    color: #ef4135;
    border: 2px solid #ef4135;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  #recalculerBtn:hover {
    background-color: rgba(239, 65, 53, 0.05);
  }
  
  /* Style pour l'image de partage */
  .share-image {
    width: 1200px;
    height: 630px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-sizing: border-box;
    font-family: "PT Serif", serif;
    position: relative;
  }
  
  .share-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #0055a4 33.33%, #ffffff 33.33%, #ffffff 66.66%, #ef4135 66.66%);
  }
  
  .share-image-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .share-logo {
    width: 80px;
    height: auto;
    margin-right: 20px;
  }
  
  .share-image-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
  }
  
  .share-image-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .share-image-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .share-result {
    font-size: 24px;
    font-weight: 700;
    color: #0055a4;
    margin-bottom: 20px;
    padding: 0 20px;
    text-align: center;
  }
  
  .share-progress-bar {
    width: 80%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  
  .share-progress {
    height: 100%;
    background-color: #ef4135;
    border-radius: 10px;
    transition: width 0.5s ease;
  }
  
  .share-image-footer {
    text-align: center;
    margin-top: 20px;
  }
  
  .share-image-footer p {
    font-size: 18px;
    font-weight: 700;
    color: #333;
  }
  
  /* Style pour les boutons de partage */
  .share-container {
    margin-top: 30px;
    text-align: center;
  }
  
  .share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
  }
  
  .share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  
  .share-btn:hover {
    transform: scale(1.1);
  }
  
  .twitter-btn {
    background-color: #1da1f2;
  }
  
  .twitter-btn:hover {
    background-color: #0c85d0;
  }
  
  .bluesky-btn {
    background-color: #0085ff;
  }
  
  .bluesky-btn:hover {
    background-color: #0066cc;
  }
  
  .linkedin-btn {
    background-color: #0077b5;
  }
  
  .linkedin-btn:hover {
    background-color: #005582;
  }
  
  .facebook-btn {
    background-color: #4267b2;
  }
  
  .facebook-btn:hover {
    background-color: #365899;
  }
  
  /* Style pour l'image Instagram Stories */
  .instagram-story {
    width: 1080px;
    height: 1920px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding: 100px;
    box-sizing: border-box;
    font-family: "PT Serif", serif;
    position: relative;
    overflow: hidden;
  }
  
  .instagram-story::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to right, #0055a4 33.33%, #ffffff 33.33%, #ffffff 66.66%, #ef4135 66.66%);
    z-index: 10;
  }
  
  .instagram-story-header {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
  }
  
  .instagram-logo {
    width: 150px;
    height: auto;
    margin-right: 30px;
  }
  
  .instagram-story-header h2 {
    font-size: 48px;
    color: #333;
    margin: 0;
  }
  
  .instagram-story-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .instagram-story-content h1 {
    font-size: 80px;
    font-weight: 700;
    color: #000;
    margin-bottom: 60px;
    text-align: center;
  }
  
  .instagram-result {
    font-size: 60px;
    font-weight: 700;
    color: #0055a4;
    margin-bottom: 60px;
    padding: 0 40px;
    text-align: center;
  }
  
  .instagram-progress-bar {
    width: 80%;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
  }
  
  .instagram-progress {
    height: 100%;
    background-color: #ef4135;
    border-radius: 20px;
    transition: width 0.5s ease;
  }
  
  .instagram-story-footer {
    text-align: center;
    margin-top: 80px;
  }
  
  .instagram-story-footer p {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
  }
  
  .instagram-story-footer .footer-instruction {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #555;
  }
  
  .instagram-story-footer .footer-website {
    font-size: 48px;
    font-weight: 700;
    color: #333;
  }
  
  /* Style pour le bouton Instagram */
  .instagram-btn {
    background-color: #e1306c;
  }
  
  .instagram-btn:hover {
    background-color: #c13584;
  }
  
  /* Style pour la barre de progression animée */
  .progress {
    transition: width 1.5s ease-in-out;
    height: 100%;
    background-color: #ef4135;
    border-radius: 10px;
  }
  
  