:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
}

body { 
    font-family: 'Roboto', sans-serif; 
    background-color: #f4fbff;
}

.container-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: -100px;
    position: relative;
}

.about-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.btn-register {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
}

#paypal-button-container {
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.registration-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.auth-banner {
    background: linear-gradient(135deg, #0d6efd20, #0dcaf020);
    border: 1px solid #0d6efd40;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.auth-banner p {
    margin-bottom: 1rem;
    color: #333;
}

.form-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-section h2 {
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .alert p{
        font-size: small;
    }
    .periode{
        font-size: 0.75em !important;
    }
    .montant{
        font-size: 0.94em !important;
    }
}

.form-group {
    margin-bottom: 1.5rem;
    margin-left: 10.5px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.payment-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.btn-submit {
    background: #0d6efd;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background: #0b5ed7;
}

.price-info {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
}


.is-invalid {
    border-color: #dc3545; /* Rouge pour indiquer une erreur */
}

.section-title {
    background-color: #f8f9fa;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.section-title h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0d6efd;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}


.registration-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.form-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.btn-add-participant {
background-color: #0d6efd;
color: white;
padding: 10px 20px;
border-radius: 8px;
border: none;
font-weight: 500;
transition: all 0.3s ease;
width: 100%;
margin: 20px 0;
cursor: pointer;
}

.btn-add-participant:hover {
background-color: #0b5ed7;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.participant-section {
background-color: #f8f9fa;
padding: 20px;
border-radius: 8px;
margin: 20px 0;
border: 1px solid #dee2e6;
}

.participant-title {
color: #0d6efd;
margin-bottom: 20px;
font-size: 1.2rem;
font-weight: 500;
}


.price-display {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.total-price {
    font-size: 3.5rem;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin: 10px 0;
}

.currency {
    font-size: 2.5rem;
    margin-left: 5px;
}

.price-info {
    font-size: 0.9rem;
    color: #666;
}

/* Style pour les participants ajoutés */
.participant-container {
    margin-bottom: 20px;
}

.participant-container .section-title {
    margin-top: 0 !important;
}

.btn-add-participant {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Ajouter ces styles dans votre fichier CSS/Style.css */
.echelonnement-container {
    margin: 0 auto;
    max-width: 600px;
}

.echeance-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px 10px;
    margin-bottom: 10px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

@media (max-width: 320px) {
    .echeance-card {
        height: 150px;
    }
    .periode{
        font-size: 0.75rem !important;
    }
    .montant{
        font-size: 0.825rem !important;
    }
}

@media (max-width: 430px) {
    .echeance-card {
        height: 110px;
    }
    .periode{
        font-size: 0.75rem !important;
    }
    .montant{
        font-size: 1rem !important;
    }
}
.echeance-card.active {
    background-color: #e6f2ff;
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.montant {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.periode {
    font-size: 0.9rem;
    color: #6c757d;
}

.progress-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.timeline-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #dee2e6;
}

.timeline-dot.active {
    background-color: #007bff;
}

.timeline-line {
    flex-grow: 1;
    height: 3px;
    background-color: #dee2e6;
    margin: 0 5px;
}