.donation-form-container {
    max-width: 1301px;
    margin: 0 auto;
    padding: 0px;
    font-family: system-ui, -apple-system, sans-serif;
}

.group-full{
    margin-top: 80px;
    display: flex;
    gap: 20px;
    }
    .group-left{
    width: 20%;
    }
    .group-right{
    width: 80%;
    }

.donation-form-layout {
    margin-top: 120px;
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.section-sub-title {
    margin: 0px;
    color: #1C325D;
    font-weight: 400;
    font-size: 16px;
}
#motif{
    margin-top: 10px;
}






.payment-section-line,
.section-line {
    width: 102px;
    border-bottom: 1px solid #1C325D;
    height: 0;
}

.payment-section-text,
.section-text {
    margin-top: 0px;
    margin-bottom: 0px;
    color: #1C325D;
    font-weight: 600;
    font-size: 24px;
    margin-left: 8px;
    line-height: 1;
}

.donation-form-left {
    width: 100%;
    max-width: 1301px;
    margin: 0 auto;
}

.top-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.amount-section {
    width: 50%;
}

.project-section {
    width: 30%;
    display: flex;
    flex-direction: column;
}

.project-section select {
    background: transparent;
    height: 50px;
    padding: 0 12px;
    border: 1px solid #DFE3E8;
    border-radius: 5px;
    font-size: 14px;
    color: #1C325D;
}

.amount-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.amount-btn {
    flex: 1;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #009FE3;
    background: white;
    color: #009FE3;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amount-btn.active,
.amount-btn:hover {
    background: #009FE3;
    color: white;
}

.form-group {
    gap:20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-group label {
    display: block;
    color: #1C325D;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.input-wrapper {
    flex: 1;
}

.required {
   
    margin-left: 2px;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 50px;
    padding: 0 12px;
    border: 1px solid #DFE3E8;
    border-radius: 5px;
    font-size: 14px;
    color: #1C325D;
    background: white;
}

.phone-input-wrapper {
    display: flex;
    width: 100%;
}

.phone-prefix {
    height: 50px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #DFE3E8;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    color: #1C325D;
    font-size: 14px;
}

.phone-group input {
    border-radius: 0 5px 5px 0;
    border-left: 0;
    flex: 1;
}

input:focus,
select:focus {
    outline: none;
    border-color: #009FE3;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: #009FE3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #0085c7;
}

/* New styles for parrainage form */
.parrainage-form {
    max-width: 1301px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: #1C325D;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 !important;
}

.village-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.type-selection {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.date-selection {
    display: flex;
    gap: 15px;
}

.date-selection .input-wrapper {
    flex: 1;
}

.date-selection select {
    width: 100%;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231C325D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px !important;
	background-size: 12px;
}

input[type="date"] {
    width: 100%;
    height: 50px;
    padding: 0 12px;
    border: 1px solid #DFE3E8;
    border-radius: 5px;
    font-size: 14px;
    color: #1C325D;
    background: white;
}

/* Signature section styles */
.signature-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.signature-row .form-group {
    flex: 1;
}

.signature-container {
    position: relative;
    width: 100%;
    height: 200px;
    border: 1px solid #DFE3E8;
    border-radius: 5px;
    background: white;
    margin-bottom: 10px;
    overflow: hidden;
}

.signature-pad {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    touch-action: none;
    cursor: crosshair;
}
.checkbox-label span{
    font-size: 14px;
    position: relative;
    top: -4px;
    line-height: 18px;
}
.clear-signature {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s ease;
    z-index: 10;
}

.clear-signature:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 6px rgba(28, 50, 93, 0.15);
}

.clear-signature:hover svg path {
    stroke: #009FE3;
}

.signature-container::before {
    content: 'Signez ici';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9CA4B3;
    font-size: 14px;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

@media (max-width: 768px) {
    .donation-form-layout {
        margin-top: 60px;
    }

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

    .checkbox-label {
        font-size: 13px;
    }

    .type-selection {
        flex-direction: column;
        gap: 15px;
    }

    .date-selection {
        flex-direction: column;
        gap: 10px;
    }

    .signature-row {
        flex-direction: column;
        gap: 10px;
    }

    .signature-container {
        height: 150px;
    }
}
