body {
  font-family: Arial, sans-serif;
  background-color: #EEEAE5;
  color: #333;
  margin-top: 30px;
  padding: 20px 20px 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* PWA Header Styles */
.pwa-header {
  display: flex;
  align-items: center;
  gap: 20px;
  background: none;
  color: white;
  padding: 10px 10px;
  border-radius: 20px;
  margin-bottom: 0px;
  max-width: 800px;
  width: 100%;
  box-shadow: none;
}

.pwa-logo {
  flex-shrink: 0;
}

.pwa-logo img {
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pwa-subtitle {
  flex: 0;
  margin: 0;
  padding: 3px 20px 3px 20px;
  max-width: 500px;
  border: 1px solid #E86740;
  border-radius: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #E86740;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.pwa-title {
  flex: 1;
}

.pwa-title h1 {
  margin: 50px 0 8px 0;
  font-size: 2.2em;
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
  line-height: 1.2;
  color: #000000;
}


/* Premium Status Bar NON VISIBLE POUR LE MOMENT*/
.premium-status-bar {
  display: none;
  background: linear-gradient(135deg, #E86740 0%, #ff8c69 100%);
  color: white;
  padding: 10px 20px;
  margin: 10px auto;
  border-radius: 15px;
  max-width: 800px;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(232, 103, 64, 0.3);
}

.premium-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
}

.premium-info i {
  font-size: 1.2em;
  color: #ffd700;
}

.upgrade-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.upgrade-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Premium Features Section */
.premium-features {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #E86740;
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
}

.premium-features h3 {
  color: #E86740;
  margin-bottom: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.premium-features h3 i {
  color: #ffd700;
}

.location-btn {
  background: #E86740;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s ease;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-btn:hover {
  background: #d55a35;
  transform: translateY(-2px);
}

/* Save Results Section */
.save-results-section {
  background: #ffffff;
  border: none;
  border-radius: 0px;
  padding: auto 10px auto 10px;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.save-results-section h3 {
  color: #28a745;
  margin-bottom: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.save-form {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.save-form input {
  flex: 1;
  margin: 0;
}

.save-btn {
  background-color: #000000 !important;
  color: white !important;
  border: none !important;
  padding: 14px 20px !important;
  border-radius: 30px !important;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace !important;
  font-weight: 600 !important;
  font-size: 0.8em !important;
  text-transform: uppercase !important;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 120px;
  flex-shrink: 0;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Styles spécifiques pour éviter les conflits */
#save-calculation-btn {
  background-color: #000000 !important;
  color: white !important;
  border: none !important;
  padding: 14px 20px !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-weight: 600 !important;
  font-size: 0.8em !important;
  text-transform: uppercase !important;
  transition: background-color 0.2s ease !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 120px !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.save-btn:hover {
  background-color: #E86740 !important;
  color: #fff !important;
}

#save-calculation-btn:hover {
  background-color: #E86740 !important;
  color: #fff !important;
}

/* Styles pour le bouton Save Results généré dynamiquement */
.save-results-btn {
  background-color: #000000 !important;
  color: white !important;
  border: none !important;
  padding: 14px 20px !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-weight: 600 !important;
  font-size: 0.8em !important;
  text-transform: uppercase !important;
  transition: background-color 0.2s ease !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 120px !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.save-results-btn:hover {
  background-color: #E86740 !important;
  color: #fff !important;
}

/* Saved Calculations Section */
.saved-calculations {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.saved-calculations h3 {
  color: #333;
  margin-bottom: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.saved-calculations h3 i {
  color: #E86740;
}

.saved-list {
  min-height: 100px;
}

.no-saves {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 40px 20px;
}

.saved-item {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.saved-item:hover {
  border-color: #E86740;
  box-shadow: 0 2px 8px rgba(232, 103, 64, 0.2);
}

.saved-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.saved-item-name {
  font-weight: 600;
  color: #333;
  font-family: "IBM Plex Mono", monospace;
}

.saved-item-date {
  font-size: 0.8em;
  color: #6c757d;
}

.saved-item-details {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 10px;
}

.saved-item-actions {
  display: flex;
  gap: 10px;
}

.saved-item-actions button {
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8em;
  font-weight: 500;
  transition: all 0.3s ease;
}

.load-saved-btn {
  background: #007bff;
  color: white;
}

.load-saved-btn:hover {
  background: #0056b3;
}

.share-saved-btn {
  background: #28a745;
  color: white;
}

.share-saved-btn:hover {
  background: #218838;
}

.delete-saved-btn {
  background: #dc3545;
  color: white;
}

.delete-saved-btn:hover {
  background: #c82333;
}

/* Premium Modal */
.premium-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.premium-modal-content {
  background: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.premium-header {
  text-align: center;
  margin-bottom: 30px;
}

.premium-header i {
  font-size: 3em;
  color: #ffd700;
  margin-bottom: 15px;
}

.premium-header h2 {
  color: #333;
  margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.8em;
}

.premium-header p {
  color: #6c757d;
  font-size: 1.1em;
}

.premium-features-list {
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item i {
  color: #28a745;
  font-size: 1.2em;
}

.feature-item span {
  color: #333;
  font-size: 1em;
}

.premium-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.price-option {
  text-align: center;
  padding: 20px;
  border: 2px solid #dee2e6;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.price-option.recommended {
  border-color: #E86740;
  background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
}

.price-option h3 {
  color: #333;
  margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.1em;
}

.price-option .price {
  font-size: 2em;
  font-weight: 700;
  color: #E86740;
  margin-bottom: 5px;
}

.price-option .savings {
  color: #28a745;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 15px;
}

.upgrade-option-btn {
  background: #E86740;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s ease;
  width: 100%;
}

.upgrade-option-btn:hover {
  background: #d55a35;
  transform: translateY(-2px);
}

.close-premium-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-premium-modal:hover {
  background: #f8f9fa;
  color: #333;
}

/* Startup Ad Modal */
.startup-ad-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
}

.startup-ad-content {
  background: white;
  border-radius: 15px;
  max-width: 400px;
  width: 90%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ad-header {
  background: #f8f9fa;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dee2e6;
}

.ad-label {
  color: #6c757d;
  font-size: 0.9em;
  font-weight: 600;
  text-transform: uppercase;
}

.close-ad-btn {
  background: none;
  border: none;
  font-size: 1.2em;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-ad-btn:hover {
  background: #e9ecef;
  color: #333;
}

.ad-body {
  padding: 40px 20px;
  text-align: center;
}

.ad-placeholder {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 10px;
  padding: 60px 20px;
  color: #6c757d;
}

.ad-placeholder p {
  margin: 5px 0;
  font-size: 1.1em;
}

.ad-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #dee2e6;
}

.skip-ad-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.skip-ad-btn:hover {
  background: #5a6268;
}

.container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  gap: 20px;
  justify-content: center;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.ad-column {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.ad-block {
  padding: 15px;
  text-align: center;
  color: #6c757d;
  font-size: 0.9em;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  box-sizing: border-box;
}

.ad-block01 {
  background-color: #ffffff;
  border: 1px dashed #ced4da;
  color: #6c757d;
  font-size: 0.9em;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-sizing: border-box;
}

.ad-block02 {
  background-color: #ffffff;
  border: 1px dashed #ced4da;
  color: #6c757d;
  font-size: 0.9em;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-sizing: border-box;
}

.ad-block-link {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 18px;
  margin: 0px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
  padding-left: 20px;
  padding-right: 20px;
  text-align: left;
}

.ad-block-link:hover {
  background: #D9D9D9;
}

.main-content {
  flex: 1;
  max-width: 800px;
  min-width: 300px;
  box-sizing: border-box;
}

form {
  background-color: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-sizing: border-box;
}

label {
  margin-bottom: 0px;
  color: #000000;
  text-align: left;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 10px;
}

input[type="number"],
select {
  width: calc(100% - 10px);
  padding: 12px 15px 12px 15px;
  border: 1px solid #D9D9D9;
  border-radius: 20px;
  font-size: 0.8em;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  box-sizing: border-box;
}

input[type="number"]:focus,
select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.bike-type-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.bike-type-buttons button {
  background-color: #D9D9D9;
  color: #000000;
  border: 0px solid #ced4da;
  padding: 12px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8em;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  min-height: 44px;
}

.bike-type-buttons button:hover {
  background-color: #000000;
  color: #fff;
}

.bike-type-buttons button.active {
  background-color: #E86740;
  color: #fff;
  border-color: #E86740;
}

.bike-type-buttons button:focus,
.bike-type-buttons button:active {
  outline: 2px solid #007bff;
}

.weight-unit-buttons,
.ebike-switch-buttons {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.weight-unit-buttons button,
.ebike-switch-buttons button {
  padding: 12px 24px !important;
  border: none !important;
  background-color: #D9D9D9 !important;
  color: #000000 !important;
  outline: none !important;
  box-shadow: none !important;
  height: 44px !important;
  min-height: 44px !important;
  line-height: 1.2;
}

.weight-unit-buttons button.active,
.ebike-switch-buttons button.active {
  background-color: #E86740 !important;
  color: #fff !important;
  border: none !important;
}

.weight-unit-buttons button:focus,
.weight-unit-buttons button:active,
.ebike-switch-buttons button:focus,
.ebike-switch-buttons button:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

button[type="submit"] {
  background-color: #E86740;
  color: white;
  padding: 14px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.8em;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 20px;
  transition: background-color 0.2s ease;
  width: auto;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

button[type="submit"]:hover {
  background-color: #000000;
  color: #fff;
}

.result {
  margin-top: 0px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 0;
  padding-right: 0;
  background-color: #fff;
  border: 0px solid #fff;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  color: #28a745;
  width: calc(100% - 10px);
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.result p {
  margin: 5px 0;
}

.result strong {
  color: #000000;
}

.result .disclaimer {
  font-size: 0.85rem;
  font-weight: normal;
  color: #6c757d;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  max-width: 540px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 0.75em;
  line-height: 1.125rem;
  color: #8F8C89;
}

.pressure-results-columns {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.pressure-column {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 0px;
  background-color: #fff;
  border-radius: 5px;
  border: 0px solid #eee;
}

.pressure-column .column-label {
  margin-bottom: 0px;
  color: #000000;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 10px;
}

.pressure-column .column-value {
  color: #000000;
  font-size: 1.5em;
  font-weight: 500;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  margin-top: 15px;
  padding: 16px 10px 16px 10px;
  background-color: #fff;
  border-radius: 40px;
  border: 1px solid #D9D9D9;
}

.result .disclaimer {
  margin-top: 15px;
  text-align: center;
}

.error {
  color: #dc3545;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 10px;
  border-radius: 5px;
  margin-top: 15px;
  text-align: center;
  font-weight: normal;
}

.info-section {
  background-color: #fff;
  padding: 30px 30px 60px 30px;
  border-radius: 18px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1120px;
  margin-top: 30px;
  box-sizing: border-box;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: #000000;
  text-align: left;
}

.info-section h2 {
  color: #000000;
  text-align: left;
  font-family: "IBM Plex Mono", monospace;
  font-size: 2rem;
  font-weight: 500;
  line-height: 2rem;
  text-transform: none;
  margin-top: 30px;
  margin-bottom: 40px;
}

.info-section p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.info-section ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.info-section ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.faq-section {
  background-color: #fff;
  padding: 30px 30px 60px 30px;
  border-radius: 18px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1120px;
  margin-top: 30px;
  box-sizing: border-box;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: #000000;
  text-align: left;
}

.faq-title {
  color: #000000;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 2rem;
  font-weight: 500;
  line-height: 2rem;
  text-transform: none;
  margin-top: 30px;
  margin-bottom: 10px;
}

.faq-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #E86740;
  margin-bottom: 40px;
  margin-top: 5px;
  text-transform: uppercase;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 900;
  font-size: 14px;
  line-height: 18px;
  color: #111;
  text-align: left;
  padding: 12px 0 12px 0;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  text-transform: uppercase;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s;
  font-size: 2.2em;
  color: #E86740;
  font-weight: 200;
}

.faq-question[aria-expanded="true"]::after {
  content: '-';
  transform: translateY(-50%);
}

.faq-answer {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 6px;
  padding-left: 2px;
  padding-right: 2px;
  margin-top: 0;
  animation: fadeInFaq 0.25s;
}

@keyframes fadeInFaq {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-footer {
  background-color: none;
  padding: 0px;
  border-radius: 0px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1120px;
  margin-top: 30px;
  box-sizing: border-box;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  color: #6c757d;
}

.main-footer a {
  color: #E86740;
  text-decoration: none;
}

.main-footer a:hover {
  text-decoration: underline;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: #fff;
  padding: 24px 16px 16px 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1em;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}

.cookie-banner p {
  margin: 0 0 12px 0;
  text-align: center;
}

.cookie-banner a {
  color: #ffd700;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-buttons button {
  background: #E86740;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.cookie-buttons button:hover {
  background: #d55a35;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.cookie-modal-content {
  background: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-category {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
}

.cookie-category label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cookie-category p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9em;
}

.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.cookie-modal-actions button {
  background: #E86740;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cookie-modal-actions button:hover {
  background: #d55a35;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pwa-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .pwa-title h1 {
    font-size: 1.8em;
  }
  
  .premium-status-bar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .save-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .premium-pricing {
    grid-template-columns: 1fr;
  }
  
  .premium-modal-content {
    padding: 20px;
    margin: 20px;
  }
  
  .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .ad-column {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    gap: 10px;
  }
  
  .ad-block {
    flex: 1 1 auto;
    max-width: 300px;
    min-width: 150px;
    height: 150px;
  }
  
  .main-content {
    width: 100%;
    padding: 0 0px;
    max-width: 600px;
  }
  
  form {
    max-width: none;
  }
  
  .info-section,
  .faq-section {
    max-width: 100%;
    padding: 20px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  
  .pwa-header {
    padding: 10px 10px;
  }
  
  .pwa-title h1 {
    font-size: 1.6em;
  }
  
  form {
    padding: 15px;
  }
  
  .bike-type-buttons {
    justify-content: left;
  }
  
  .bike-type-buttons button {
    padding: 12px 15px;
    font-size: 0.85rem;
  }
  
  .ad-block {
    max-width: 100%;
    height: auto;
    min-height: 100px;
  }
  
  .ad-column {
    gap: 10px;
  }
  
  .info-section,
  .faq-section {
    padding: 10px 0px 10px 0px;
  }
}

@media (max-width: 800px) {
  form .weight-unit-buttons,
  form .ebike-switch-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
}

/* Harmonisation border-radius sur tous les boutons du formulaire */
.bike-type-buttons button,
.weight-unit-buttons button,
.ebike-switch-buttons button,
button[type="submit"],
.save-btn {
  border-radius: 30px !important;
}

/* Border-radius sur les champs du formulaire */
input,
select {
  border-radius: 30px !important;
}

/* PWA Fixed Footer */
.pwa-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 99999;
}

.pwa-footer-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #666;
  font-size: 0.8rem;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  min-width: 60px;
}

.pwa-footer-btn i {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.pwa-footer-btn:hover {
  color: #E86740;
  transform: translateY(-1px);
}

.pwa-footer-btn:active {
  transform: translateY(0);
}

.pwa-footer-btn.active {
  color: #E86740;
}

/* Info Modal Styles */
.info-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.info-modal-content {
  background: white;
  border-radius: 20px;
  max-width: 90vw;
  max-height: 80vh;
  width: 500px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
  margin: 20px;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #e0e0e0;
  background: linear-gradient(135deg, #E86740 0%, #ff8c69 100%);
  color: white;
  border-radius: 20px 20px 0 0;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.info-header h2 {
  margin: 0;
  font-size: 1.3rem;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-info-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.close-info-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.info-body {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
}

.info-section {
  margin-bottom: 10px; 
  margin-top: 10px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.info-section h3 {
  color: #E86740;
  font-size: 1.1rem;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-section p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  color: #555;
}

.info-section ul {
  margin: 10px 0;
  padding-left: 20px;
}

.info-section li {
  margin-bottom: 5px;
  color: #555;
  line-height: 1.5;
}

/* FAQ Styles in Modal */
.info-section .faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.info-section .faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
}

.info-section .faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  text-align: left;
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.info-section .faq-question:hover {
  background: #f0f0f0;
  color: #E86740;
}

.info-section .faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s;
  font-size: 1.5em;
  color: #E86740;
  font-weight: 300;
}

.info-section .faq-question[aria-expanded="true"]::after {
  content: '-';
  transform: translateY(-50%);
}

.info-section .faq-answer {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
  padding: 0 20px 20px 20px;
  margin: 0;
  animation: fadeInFaq 0.25s;
}

.info-section .faq-answer p {
  margin: 10px 0;
}

.info-section .faq-answer ul {
  margin: 10px 0;
  padding-left: 20px;
}

.info-section .faq-answer li {
  margin-bottom: 5px;
}

@keyframes fadeInFaq {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .pwa-footer {
    padding: 12px 0;
  }
  
  .pwa-footer-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .pwa-footer-btn i {
    font-size: 1.1rem;
  }
  
  body {
    padding-bottom: 70px;
  }
}

/* Styles pour la page My Bikes */
.primary-button {
  background-color: #E86740 !important;
  color: white !important;
  border: none !important;
  padding: 14px 20px !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-weight: 600 !important;
  font-size: 0.8em !important;
  text-transform: uppercase !important;
  transition: background-color 0.2s ease !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 120px !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.primary-button:hover {
  background-color: #000000 !important;
  color: #fff !important;
}

.action-button {
  background-color: #000000 !important;
  color: white !important;
  border: none !important;
  padding: 12px 18px !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-weight: 600 !important;
  font-size: 0.8em !important;
  text-transform: uppercase !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 100px !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.action-button:hover {
  background-color: #E86740 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.action-button.secondary {
  background-color: #6c757d !important;
}

.action-button.secondary:hover {
  background-color: #5a6268 !important;
}

.action-button.danger {
  background-color: #dc3545 !important;
}

.action-button.danger:hover {
  background-color: #c82333 !important;
}

.action-button.orange {
  background-color: #E86740 !important;
}

.action-button.orange:hover {
  background-color: #d55a2f !important;
}

/* Empty State Styles */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

.empty-state-icon {
  font-size: 4rem;
  color: #E86740;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: #333;
  margin-bottom: 15px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.5em;
  text-transform: uppercase;
}

.empty-state p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1em;
  line-height: 1.5;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 15px;
  margin: 30px 0;
  flex-wrap: wrap;
  justify-content: center;
}

/* Bike Card Styles */
.bike-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.bike-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.bike-info h3 {
  color: #333;
  margin-bottom: 5px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bike-info h3 i {
  color: #E86740;
}

.bike-type {
  color: #666;
  font-size: 0.9em;
  margin: 0;
}

.bike-actions {
  display: flex;
  gap: 8px;
}

.bike-action-btn {
  background: none;
  border: 1px solid #ddd;
  color: #666;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8em;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.bike-action-btn:hover {
  background-color: #E86740;
  color: white;
  border-color: #E86740;
}

.bike-action-btn.danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
}

.bike-details {
  margin-bottom: 15px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}

.detail-label {
  font-weight: 600;
  color: #333;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8em;
  text-transform: uppercase;
}

.detail-value {
  color: #666;
  font-size: 0.9em;
}

.bike-last-calculation {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
}

.bike-last-calculation h4 {
  color: #333;
  margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bike-last-calculation h4 i {
  color: #E86740;
}

.pressure-results {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.pressure-result {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pressure-label {
  font-weight: 600;
  color: #333;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7em;
  text-transform: uppercase;
}

.pressure-value {
  color: #E86740;
  font-weight: 600;
  font-size: 0.9em;
}

.calc-date {
  color: #666;
  font-size: 0.8em;
  margin: 0;
  font-style: italic;
}

/* Calculations Section */
.calculations-section {
  margin-top: 30px;
}

.calculations-section h3 {
  color: #333;
  margin-bottom: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calculations-section h3 i {
  color: #E86740;
}

.calculation-item {
  background: white;
  border-radius: 15px;
  padding: 15px;
  margin: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 5px 0;
}

.calc-title h4 {
  color: #333;
  margin: 0 0 5px 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1em;
  text-transform: uppercase;
}

.calc-date {
  color: #666;
  font-size: 0.8em;
  margin: 0;
}

.calc-toggle {
  color: #666;
  transition: transform 0.2s ease;
}

.toggle-icon {
  transition: transform 0.2s ease;
}

.calc-content {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.calc-details {
  margin-bottom: 15px;
}

.calc-details p {
  margin: 5px 0;
  font-size: 0.9em;
  color: #666;
}

.calc-details strong {
  color: #333;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8em;
  text-transform: uppercase;
}

.calc-results h5 {
  color: #333;
  margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-results h5 i {
  color: #E86740;
}

.pressure-results-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.calc-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.calc-action-btn {
  background-color: #000000 !important;
  color: white !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-weight: 600 !important;
  font-size: 0.7em !important;
  text-transform: uppercase !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.calc-action-btn:hover {
  background-color: #E86740 !important;
  color: #fff !important;
}

.calc-action-btn.danger:hover {
  background-color: #dc3545 !important;
}

/* Styles pour l'affichage des résultats en colonnes */
.pressure-results-columns {
    display: flex;
    justify-content: space-around; /* Distribue l'espace entre les colonnes */
    gap: 20px; /* Espace entre les colonnes */
    margin-bottom: 15px; /* Espace avant le disclaimer */
    flex-wrap: wrap; /* Permet aux colonnes de passer à la ligne sur petits écrans */
}

.pressure-column {
    flex: 1; /* Chaque colonne prend une part égale de l'espace */
    min-width: 200px; /* Largeur minimale avant de passer à la ligne */
    text-align: center; /* Centre le texte dans chaque colonne */
    padding: 0px;
    background-color: #fff; /* Un léger fond pour distinguer les colonnes */
    border-radius: 5px;
    border: 0px solid #eee;
}

.pressure-column .column-label {
    margin-bottom: 0px;
    color: #000000;
    text-align: center;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
}

.pressure-column .column-value {
    color: #000000;
    font-size: 1.5em;
    font-weight: 500;
    text-align: center;
    font-family: "IBM Plex Mono", monospace;
    margin-top: 15px;
    padding: 16px 10px 16px 10px;
    background-color: #fff; /* Un léger fond pour distinguer les colonnes */
    border-radius: 40px;
    border: 1px solid #D9D9D9;
}

/* Responsive pour les résultats sur mobile */
@media (max-width: 768px) {
  .pressure-results-columns {
    flex-direction: column; /* Les colonnes s'empilent sur les très petits écrans */
    align-items: center; /* Centrer les colonnes empilées */
    gap: 15px; /* Réduire l'espace entre les colonnes empilées */
  }

  .pressure-column {
    width: 100%; /* Chaque colonne prend toute la largeur disponible */
    max-width: 300px; /* Limite la largeur des colonnes empilées pour la lisibilité */
    margin: 0 auto; /* Centrer si le max-width est appliqué */
  }
}

/* Styles pour la page Infos */
.info-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0px;
}

.info-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-section h3 {
  color: #E86740;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.2em;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-section h3 i {
  font-size: 1.1em;
}

.info-section p {
  line-height: 1.6;
  margin-bottom: 10px;
  color: #333;
}

.info-section ul {
  margin: 10px 0;
  padding-left: 20px;
}

.info-section li {
  margin-bottom: 5px;
  line-height: 1.5;
  color: #333;
}

.info-section strong {
  color: #E86740;
  font-weight: 600;
}

/* Styles pour les FAQ dans la page Infos */
.info-section .faq-list {
  margin-top: 15px;
}

.info-section .faq-item {
  margin-bottom: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.info-section .faq-question {
  width: 100%;
  padding: 15px;
  background: #f8f9fa;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9em;
  font-weight: 500;
  color: #333;
  transition: background-color 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-section .faq-question:hover {
  background: #e9ecef;
}

.info-section .faq-question::after {
  content: '+';
  font-size: 1.2em;
  font-weight: bold;
  color: #E86740;
  transition: transform 0.2s ease;
}

.info-section .faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.info-section .faq-answer {
  padding: 15px;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  line-height: 1.6;
  color: #555;
}

.info-section .faq-answer p {
  margin-bottom: 10px;
}

.info-section .faq-answer ul {
  margin: 10px 0;
  padding-left: 20px;
}

.info-section .faq-answer li {
  margin-bottom: 5px;
}

/* Styles pour l'accordéon des calculs */
.calculation-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f8f9fa;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #e0e0e0;
}

.calc-header:hover {
  background: #e9ecef;
}

.calc-title h4 {
  color: #E86740;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.1em;
  margin: 0 0 5px 0;
}

.calc-title .calc-date {
  color: #666;
  font-size: 0.8em;
  margin: 0;
}

.calc-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E86740;
  color: white;
  transition: all 0.3s ease;
}

.toggle-icon {
  transition: transform 0.3s ease;
  font-size: 0.9em;
}

.calc-content {
  padding: 20px;
  background: #fff;
  border-top: 1px solid #e0e0e0;
}

.calc-details {
  margin-bottom: 20px;
}

.calc-details p {
  margin: 8px 0;
  color: #333;
  font-size: 0.9em;
}

.calc-details strong {
  color: #E86740;
  font-weight: 600;
}

.calc-results {
  background: #f8f9fa;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

.calc-results h5 {
  color: #E86740;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1em;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pressure-results-grid {
  display: flex;
  gap: 20px;
  justify-content: space-around;
}

.pressure-results-grid .pressure-result {
  text-align: center;
  flex: 1;
}

.pressure-results-grid .pressure-label {
  display: block;
  font-size: 0.8em;
  color: #666;
  margin-bottom: 5px;
  font-weight: 500;
}

.pressure-results-grid .pressure-value {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  color: #E86740;
  font-family: 'IBM Plex Mono', monospace;
}

.calc-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.calc-action-btn {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 8px 16px;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9em;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
}

.calc-action-btn:hover {
  background: #e9ecef;
  color: #333;
}

.calc-action-btn.primary {
  background: #E86740;
  color: white;
  border-color: #E86740;
}

.calc-action-btn.primary:hover {
  background: #d45a35;
  border-color: #d45a35;
}

.calc-action-btn.danger:hover {
  background: #e74c3c;
  color: white;
  border-color: #e74c3c;
}

/* Responsive pour l'accordéon */
@media (max-width: 768px) {
  .pressure-results-grid {
    flex-direction: column;
    gap: 10px;
  }
  
  .calc-actions {
    justify-content: center;
  }
  
  .calc-action-btn {
    flex: 1;
    justify-content: center;
  }
}
