/* Base styles */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E3D4F1; /* Lavande plus soutenue */
}



.container {
    background: #FFFFFF; /* Blanc pur pour aérer */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 1000px;
    margin: 20px auto;
    margin-top: 80px;
}

.scroll {
    width: 100%;
    overflow-x: scroll;
}

h1, h2 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h1 {
    color: #D77FC5; /* Rose plus soutenu pour les titres */
}

p {
    margin-bottom: 20px;
}

a.button, .home-button {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #D77FC5; /* Rose plus soutenu */
    border-radius: 4px;
    transition: background-color 0.3s;
}

a.button:hover, .home-button:hover {
    background-color: #BA5EA6; /* Rose plus foncé pour le survol */
}

.home-button {
    position: absolute;
    top: 10px;
    left: 10px; 
}

.footer {
    margin-top: 20px;
    font-size: 0.9em;
    color: #555555;
}

.large {
    width: 97%;

}
.section {
    margin-top: 10px;
}

/* Forms and inputs */
form {
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 5px 0;
}

input,
button,
textarea {
    padding: 10px;
    margin: 5px 0;
    margin-right: 10px;
    border-radius: 4px;
    border: 1px solid #C08BB0; /* Bordure plus contrastée */
}

textarea {
    width: 97%;
    height: 200px;
    font-size: 16px;
}

button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #D77FC5; /* Rose plus soutenu */
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #BA5EA6; /* Rose plus foncé pour le survol */
}

.small-button {
    font-size: 11px;
    padding: 10px;
}

.side2side {
    display: flex;
    flex-direction: row;
    align-items: center;
}

fieldset,
.accordion {
    border: 1px solid #C08BB0; /* Bordure plus contrastée */
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.accordion legend {
    cursor: pointer;
    background-color: #E2A9CE; /* Teinte légèrement plus foncée */
    padding: 10px;
    border-radius: 5px;
}

.accordion .content {
    display: none;
}

#responseContainer {
    margin-top: 20px;
    border: 1px solid #C08BB0;
    padding: 10px;
    background-color: #F6CCE2; /* Rose plus léger mais plus prononcé */
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

#soapRequestDisplay {
    width: 100%;
    height: 200px;
    border: 1px solid #C08BB0;
    padding: 10px;
    font-family: monospace;
    white-space: pre-wrap;
}

/*home*/

.home-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.home-icon {
    animation: orbit 3s alternate infinite;
    width: 200px;
    height: 150px;
    margin: 10px;
    background-image: url(./soap.png);
    background-repeat: no-repeat, repeat;
    background-size: contain;
}

.home-title {
    text-align: center;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #FFFFFF;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #C08BB0;
    width: 80%;
    border-radius: 5px;
}

.close-button {
    color: #D77FC5; /* Rose plus soutenu */
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: #BA5EA6; /* Rose plus foncé pour le survol */
    text-decoration: none;
    cursor: pointer;
}

/* Modal image gallery styles */
.altern div:nth-child(even) {
    background-color: #E6A8D0; /* Teinte plus foncée pour alternance */
    padding-top: 10px;
    margin-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.modal-content .photo-formats a {
    display: block;
    margin-bottom: 5px;
}

.modal-content .photo-formats {
    margin-top: 10px;
}

.modal-content .photo-item {
    margin-bottom: 20px;
}

/* Bouton pour les photos */
.view-photos-button {
    background-color: #D77FC5; /* Rose plus soutenu */
    color: #FFFFFF;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.view-photos-button:hover {
    background-color: #BA5EA6; /* Rose plus foncé pour le survol */
}

/* Output and gallery */
.output {
    margin-top: 20px;
}

.output h2 {
    margin-top: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.output table, th, td {
    border: 1px solid #C08BB0; /* Bordure plus contrastée */
}

.output th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #D77FC5; /* Rose plus soutenu */
    color: #FFFFFF;
    padding: 8px;
}

.gallery img {
    max-width: 150px;
    margin: 5px;
    border: 1px solid #C08BB0;
}

/* Pricing */
.original-flex-price {
    text-decoration: line-through;
    color: #888888;
    margin-right: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #BA5EA6; /* Rose plus foncé pour les prix barrés */
    margin-right: 10px;
}

.final-price {
    color: #D77FC5; /* Rose plus soutenu */
}

.badge {
    display: inline-block;
    background-color: #BA5EA6; /* Rose plus foncé */
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.nano-text {
    margin-left: 5px;
    font-size: 10px;
    color: #666666;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 5px;
}

.checkbox-item label {
    margin-right: 20px;
    white-space: nowrap;
}

/* Couleurs conditionnelles */
.recent {
    background-color: #E2A9CE; /* Rose plus soutenu pour les éléments récents */
    color: #000000;
}

.past-six-months {
    background-color: #D292BC; /* Rose plus foncé pour les éléments intermédiaires */
    color: #000000;
}

.past-year {
    background-color: #BA5EA6; /* Rose intense pour les éléments plus anciens */
    color: #FFFFFF;
}

legend {
    font-size: large;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Styles pour les éléments select */
select {
    padding: 10px;
    padding-right: 30px;
    margin: 5px 0;
    margin-right: 10px;
    border-radius: 4px;
    border: 1px solid #C08BB0; /* Bordure plus contrastée */
    background-color: #FFFFFF; /* Fond blanc pour le contraste */
    font-size: 16px;
    color: #333333; /* Texte sombre pour la lisibilité */
    cursor: pointer;
    appearance: none; /* Retire le style par défaut des navigateurs */
    background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M7 10l5 5 5-5H7z" fill="%2111111" /%3E%3C/svg%3E') no-repeat right 10px center;
    background-size: 1em;
}

select:focus {
    border-color: #D77FC5; /* Bordure rose pour le focus */
    outline: none;
}

option {
    padding: 10px;
}

.floatingbutton {
    position: fixed;
    bottom: 20px;
    left: 20px;
}

.no-height {
    height: initial;
}

.no-width {
    width: initial;
}

.notes {
    font-size: small;
    padding: 12px;
    background-color: #EEE;
}

ul {
    margin: 0;
}

/* CSS for the toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fade-in 0.5s, fade-out 0.5s 2.5s;
}

/* Fade-in and fade-out animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        max-width: 100%;
    }

    textarea,
    button {
        width: 100%;
    }

    table {
        font-size: 12px;
    }
}


@keyframes float {
	0% {
		transform: translatey(10px);
	}
	50% {
		transform: translatey(-10px);
	}
	100% {
		transform: translatey(10px);
	}
}

@-webkit-keyframes orbit {
    from {  -webkit-transform: rotate(0deg) translateX(10px) rotate(0deg); }
    to   {  -webkit-transform: rotate(360deg) translateX(10px) rotate(-360deg); }
}

@keyframes fallingsparkles {
    from {
      transform: translateY(0);
    }
  
    to {
      transform: translateY(50px);
    }
  }