/**
 * Ambassadors Form Styles
 */

.donation-form-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.donation-form-layout {
    display: flex;
    flex-direction: column;
}

.donation-form-left {
    flex: 1;
}

.donation-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
}

.group-full {
    display: flex;
    margin-bottom: 30px;
    margin-top: 0;
}

.group-left {
    flex: 0 0 30%;
    padding-right: 20px;
    width: 100%;
}

.group-right {
    flex: 0 0 70%;
}

.section-title, .payment-section-title {
    margin-bottom: 20px;
}

.section-line, .payment-section-line {
    height: 1px;
    background-color: #1C325D;
    width: 102px;
    margin-right: 10px;
}

.section-text, .payment-section-text {
    color: #1C325D;
    font-weight: 600;
    margin: 0;
}

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

.form-group label {
    min-width: 110px;
    display: block;
    margin-bottom: 5px;
    color: #1C325D;
    font-weight: 400;
    text-align: left;
}

.input-wrapper {
    position: relative;
    text-align: left;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #DFE3E8;
    font-size: 16px;
    color: #1C325D;
    text-align: left;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    text-align: left;
}

.input-wrapper select,
.select-wrapper select {
    height: 50px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C325D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #DFE3E8;
    font-size: 16px;
    color: #1C325D;
    text-align: left;
}

.input-wrapper select option:first-child,
.select-wrapper select option:first-child {
    color: #9CA4B3;
}

.input-wrapper select,
.select-wrapper select {
    color: #1C325D;
}

.input-wrapper select[value=""],
.select-wrapper select[value=""] {
    color: #9CA4B3;
}

.select-placeholder {
    color: #9CA4B3 !important;
}

.input-wrapper select::-ms-expand,
.select-wrapper select::-ms-expand {
    display: none;
}

.input-wrapper textarea {
    resize: vertical;
    
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
}
.phone-input-wrapper input {
    border-left: none;
}

.phone-prefix {
    background-color: #fff;
    padding: 12px 15px;
    border-left: 1px solid #DFE3E8;
    border-right: none;
    border-radius: 5px 0 0 5px;
    color: #1C325D;
    font-weight: 500;
}

.phone-input-wrapper input {
    border-radius: 0 5px 5px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-left: 15px;
    margin-top: 3px;
    width: auto;
}

.checkbox-label span {
    color: #1C325D;
    font-size: 14px;
}

.disponibilite-options,
.competences-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.required {
    color: #000;
    margin-left: 3px;
}

.submit-button {
    background-color: #1C325D;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #152544;
}

.success-message {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

.success-message h2 {
    color: #2e7d32;
    margin-bottom: 10px;
}

/* New form questions styles */
.form-questions {
    margin-bottom: 30px;
}

.form-question {
    margin-bottom: 30px;
}

.form-question label {
    display: block;
    margin-bottom: 15px;
    color: #1C325D;
    font-size: 18px;
    font-weight: 400;
}

.question-inputs {
    display: flex;
    gap: 20px;
}
.ambassadors-form-submit{
    background-color: #009FE3!important;
    color: #fff;
    border: none;
    border-radius: 9px!important;
    padding: 0px!important;
    font-size: 14px;
    font-weight: 600!important;
    cursor: pointer!important;
    transition: background-color 0.3s;
    max-width: 310px;
    width: 100%!important;
    margin-top: 20px;
    height: 50px;
}
.ambassadors-form-submit:hover {
    background-color: #152544;
}
.input-w-310px{
    width: 100%!important;
    max-width: 310px!important;
    height: 50px!important;
}
.question-inputs .input-wrapper {
    flex: 1;
}

.select-wrapper {
    position: relative;
}

.select-wrapper:after {
    display: none;
}

.clear-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
	.input-w-310px{
		max-width:100%!important;
	}
	.group-right{
		width:100%!important
	}
    .form-group{
        display: block; 
    }
    
    .group-full {
        flex-direction: column;
    }
    
    .group-left, .group-right {
        flex: 0 0 100%;
        padding-right: 0;
    }
    
    .disponibilite-options,
    .competences-options {
        grid-template-columns: 1fr;
    }
    
    .question-inputs {
        flex-direction: column;
    }
}
