@import url("global.css");
.containerRow{
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    align-items: start;
    max-width: 1250px;
    width: 90%;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 100px;

}
.container {
    display: block;
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Header Styles */
.entete {
    background-color: white;
    border-radius: 10px;
    padding: 0px 0 1px 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.entete-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.entete-text {
    flex: 1;
}

.subtitle {
    color: #e67e22;
    font-size: 0.9em;
    margin-bottom: 5px;
    text-align: center;
}
.title{
    border-radius: 10px 10px 0 0;
    background: linear-gradient(90deg, #133b58, #055794);
    padding: 13px; /* Espace autour du texte */
    text-align: center; /* Centrage du texte */
    font-size: 20px; /* Taille de la police du texte */
    font-weight: bold; /* Texte en gras */
    color: #ffff; /* Couleur du texte */
}
h1 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.author {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.event-details {
    color: #7f8c8d;
}

.event-details p {
    margin: 5px 0;
}

.icon {
    margin-right: 10px;
}
p.with-icon {
    display: flex;
    align-items: center;
}

p.with-icon .icon svg {
    width: 30px;
    height: 30px;
}

.entete-image {
    flex: 0 0 500px;
    margin-bottom: -6px;
}

.entete-image img {
    width: 100%;
    border-radius: 0px 10px 10px 0px;
}


/* Form Styles */
.registration-form {
    background-color: white;
    border-radius: 0 0 10px 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 15px;
    border-bottom: 1px solid #eee;
    align-items: center;
}
.h2{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    background: #eee;
    margin-top: 20px;
}
.item-name {
    font-weight: bold;
    font-size: 14px;
}

.info-icon {
    cursor: pointer;
    margin-left: 5px;
}

.item-description {
    color: #7f8c8d;
    font-size: 0.9em;
}

.price {
    color: #2c3e50;
    text-align: center;
}

.quantity {
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 50px;
    justify-self: right;
    text-align: center;
}
.col-prix{
    text-align: center;
}
.col-quantite{
    text-align: right;
}
/* Total Section */
.total-section{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    background: #eee;
    margin-top: 20px;
    border-radius: 10px;
}

.total-label {
    margin-right: 20px;
    font-weight: bold;
    font-size: 16px;
}

.total-amount {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.submit-btn {
    background: linear-gradient(90deg, #133b58, #055794);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background: #b8dae4;
    color: #133b58;
}

/* Footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.language-selector,
.secure-payment {
    color: #7f8c8d;
    font-size: 0.9em;
}

.accordion {
    color: #444;
    cursor: pointer;
    padding: 15px 0 0 0;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}


.accordion.active {
    background-color: #ccc;
}

.section {
    margin-bottom: 10px;
}

.section-header {
    background-color: rgba(189, 209, 216, 0.6);
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    border-radius: 10px;
    font-size: 16px;
    gap: 20px;
}

.section-header:hover {
    background-color: #e8e8e8;
}

.section-header .toggle-icon::after {
    content: '▼';
    transition: transform 0.3s ease;
}

.section-header.active .toggle-icon::after {
    transform: rotate(180deg);
}

.section-content {
    display: none;
    padding: 15px 0px 0px 0px;
}

.subsection {
    margin-left: 20px;
    padding-left: 15px;
    margin-bottom: 10px;
}

.subsection-header {
    cursor: pointer;
    border-radius: 10px;
    padding: 10px 0px 10px 50px;
    background-color: rgba(222, 232, 234, 0.6);
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    gap: 20px;
}

.subsection-header:hover {
    background-color: #f0f0f0;
}

.subsection-header .toggle-icon::after {
    content: '▶';
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.subsection-header.active .toggle-icon::after {
    transform: rotate(90deg);
}

.subsection-content {
    display: none;
    padding: 10px;
}

@media (max-width: 1170px) {
    .containerRow {
        flex-direction: column;
    }
    .menu-btn {
        display: block;
    }
    .navbar, .nav-content, .btn{
        margin: 0;
        padding: 0;
    }
    .logo img{
        margin: 0;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }
    .container {
        padding-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .containerRow {
        width: 95%;
    }
    
}
/* Responsive Design */
@media (max-width: 768px) {
    .entete-content {
        flex-direction: column;
    }
    .item-description {
        width: 100%;
        grid-column: 1 / -1;
    }
    .entete-image {
        margin-left: 0;
        margin-top: 20px;
        flex: 0 0 auto;
        width: 100%;
    }
    .accordion{
        padding: 0;
    }
    .section-content, .subsection{
        padding: 5px 0;
        margin-left: 0;
    }
    .steps {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }
    .step::after {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .navbar, .nav-content, .btn{
        margin: 0;
        padding: 0;
    }
    .logo img{
        margin: 0;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }
    .entete-image{
        display: none;
    }
}
@media (max-width: 999px) {
    .entete-image{
        display: none;
    }
}

.registration-form .event-description {
    padding: 20px;
    line-height: 1.5;
    overflow: auto;
}
