body {
    font-family: "Source Sans Pro", sans-serif;
    font-optical-sizing: auto;
    background-color: #f9f9f9;
    font-weight: 500;
    font-size: 14px;
    margin:0;
    padding: 0;
}

input,
select,
button {
    font-family: "Source Sans Pro", sans-serif;
}

.form-group input[type=file] {
    border-style: dashed;
}

.container {
    width: 1100px;
    margin: 0 auto;
    padding: 0 30px 30px 30px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#logo {
    display: flex;
    justify-content: center;
}

#logo img {
    width: 160px;
}


#button-receuil {
    display: grid;
    grid-column-gap: 10px;
    grid-template-columns: 20px auto;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: max-content;
    padding: 14px 20px;
    color: #5b6b80;
    text-transform: uppercase;
    background-color: #f5f7fa;
    border-radius: 2px;
    cursor: pointer;
    -webkit-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    pointer-events: none;
    opacity: 0.6;
}

#form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0px;
    color: white;
}


#form-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#form-steps {
    width: 65%;
}

.form-title {
    color: #5b6b80;
    font-weight: 600;
    font-size: 2em;
}

.form-subtitle {
    margin-bottom: 24px;
    color: #263167;
    font-weight: 600;
    font-size: 1.25em;
}



.step {
    display: none;
}

.step.active {
    display: block;
}

.steps-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.step-title {
    width:200px;
    padding: 10px 30px;
    border-radius: 5px;
    color: #263167;
    background-image: url("./img/step-next.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.step-title.active {
    background-image: url("./img/step-current.png");
    color: #fff;
}
.steps-header .step-title:first-child.active {
    padding-left: 20px;
    background-image: url("./img/first-step-current.png");
    color: white;
}

.step-title.completed {
    background-image: url("./img/step-completed.png");
    color: #fff;
}
.steps-header .step-title:first-child.completed {
    padding-left: 20px;
    background-image: url("./img/first-step-completed.png");
    color: white;
}

button {
    background-color: #263167;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    position: relative;
    display: block;
    margin-bottom: 8px;
    color: #2f3742;
    font-weight: 300;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 16px;
    box-sizing: border-box;
    display: block;
    height: 42px;
    color: #2f3742;
    background-color: white;
    border: 1px solid #dee0e8;
    border-radius: 2px;
    font-family: "Source Sans Pro", sans-serif;
}

.form-group input:disabled,
.form-group select:disabled {
    background-color: #e7e7e7;
    cursor: not-allowed;
}

.next-step-container{
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

#warningMessage {
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #f06b6b;
    padding: 12px;
    border-radius: 2px;
    display: none; /* Masqué par défaut */
}

#warningMessage a {
    color: #ffffff;
    font-weight: bold;
}





/* Grid form */
#step-1-1{
    display: grid;
    grid-column-gap: 24px;
    grid-template-areas:
        'area_1 area_1 area_1 area_1 area_1 area_1'
        'area_2 area_2 area_2 area_2 area_3 area_3';
    grid-template-columns: repeat(6, 1fr);
}

#step-1-1 > :nth-child(1) {
    grid-area: area_1;
}

#step-1-1 > :nth-child(2) {
    grid-area: area_2;
}

#step-1-1 > :nth-child(3) {
    grid-area: area_3;
}



#natureFilteredIfOther {
    display: none;
    margin-top: 10px;
}


#step-1-2{
    display: grid;
    grid-column-gap: 24px;
    grid-template-areas:
        'area_1 area_1 area_1 area_2 area_2 area_2'
        'area_3 area_3 area_3 area_3 area_3 area_3';
    grid-template-columns: repeat(6, 1fr);
}

#step-1-2 > :nth-child(1) {
    grid-area: area_1;
}

#step-1-2 > :nth-child(2) {
    grid-area: area_2;
}
#step-1-2 > :nth-child(3) {
    grid-area: area_3;
}


#step-1-3{
    display: grid;
    grid-column-gap: 24px;
    grid-template-areas:
        'area_1 area_1 area_1 area_2 area_2 area_2'
        'area_3 area_3 area_3 area_4 area_4 area_4';
    grid-template-columns: repeat(6, 1fr);
}

#step-1-3 > :nth-child(1) {
    grid-area: area_1;
}

#step-1-3 > :nth-child(2) {
    grid-area: area_2;
}

#step-1-3 > :nth-child(3) {
    grid-area: area_3;
}

#step-1-3 > :nth-child(4) {
    grid-area: area_4;
}



/*STEP 2 */

.step-2-1{
    display: grid;
    grid-column-gap: 24px;
    grid-template-areas:
        'area_1 area_1 area_2 area_2 area_2 area_2';
    grid-template-columns: repeat(6, 1fr);
}

.step-2-1 > :nth-child(1) {
    grid-area: area_1;
}

.step-2-1 > :nth-child(2) {
    grid-area: area_2;
}

.step-2-2{
    display: grid;
    grid-column-gap: 24px;
    grid-template-areas:
        'area_1 area_1 area_1 area_2 area_2 area_2'
        'area_3 area_3 area_3 area_3 area_3 area_3'
        'area_4 area_4 area_4 area_4 area_4 area_4';
    grid-template-columns: repeat(6, 1fr);
}

.step-2-2 > :nth-child(1) {
    grid-area: area_1;
}

.step-2-2 > :nth-child(2) {
    grid-area: area_2;
}
.step-2-2 > :nth-child(3) {
    grid-area: area_3;
}
.step-2-2 > :nth-child(4) {
    grid-area: area_4;
}

#addIntervenantBtn {
    color: #5b6b80;
    text-transform: uppercase;
    background-color: #f5f7fa;
    background-image: url("./img/cross.png");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: 16px 16px;
    padding-left: 40px;
}

.intervenant {
    margin-bottom: 20px;
}




/* STEP 3 */

#step-3-1{
    display: grid;
    grid-column-gap: 24px;
    grid-template-areas:
        'area_1 area_1 area_1 area_2 area_2 area_2'
        'area_3 area_3 area_3 area_4 area_4 area_4';
    grid-template-columns: repeat(6, 1fr);
}

#step-3-1 > :nth-child(1) {
    grid-area: area_1;
}

#step-3-1 > :nth-child(2) {
    grid-area: area_2;
}
#step-3-1 > :nth-child(3) {
    grid-area: area_3;
}
#step-3-1 > :nth-child(4) {
    grid-area: area_4;
}



/* STEP 4 */


.message {
    color: #5b6b80;
    background-color: #f5f7fa;
    padding: 18px;
    border-radius: 5px;
}


.step-4-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    color: #333;
    border: 1px solid #e0e0e0;
}

.styled-table thead tr {
    background-color: #f5f6fa;
    color: #333;
    font-weight: bold;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
    text-align: left;
}

.styled-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #e0e0e0;
}

.styled-table tbody tr td:last-child {
    font-weight: bold;
    color: #333;
}

.styled-table thead th:last-child,
.styled-table tbody tr td:last-child {
    text-align: right;
}

.styled-table tbody tr td:last-child strong {
    font-weight: bold;
    color: #333;
}


#downloadQuote {
    background-color: #f5f7fa;
    color: #5b6b80;
    background-image: url("./img/download.png");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: 16px 16px;
    padding-left: 40px;
}

#acceptedQuote {
    background-image: url("./img/check_icon.png");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: 16px 16px;
    padding-left: 40px;
    margin-left: 8px;
}




/* SUMMARY */

#form-summary{
    display: none;
    width: 28%;
    border: 1px solid #eaeaea;
    padding: 12px;
    border-radius: 2px;
}

#form-summary > div {
    margin-bottom: 30px;
    display: none;
}

#form-summary .form-subtitle {
    color: #2f3742;
    border-bottom: 1px solid #eaeaea;
    font-size: 14px;
}

#form-summary ul > li {
    color: #333;
}



/* POPUP */

#overlay {
    display: none;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}


#popup {
    width: 560px;
    min-height: 200px;
    background-color: white;
    margin: 50px auto;
}

#popup-header {
    padding: 20px;
}

#popup-header > h3 {
    margin: 0;
    color: rgb(38, 49, 103);
}

#popup-content {
    padding: 0 20px 20px 20px;
    color: rgb(38, 49, 103);
}

.accessQuote {
    background-color: #f5f7fa;
    color: #5b6b80;
    background-image: url("./img/arrow-right.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20px;
    padding-right: 40px;
    border: 1px solid rgb(222, 224, 232);
}

