.g-recaptcha {
    margin: 15px 0;
    min-height: 78px;
    transition: all 0.3s;
}
[dir="rtl"] .g-recaptcha {
    direction: ltr; /* reCAPTCHA doit rester LTR */
    text-align: left;
    float: right;
}
.local-captcha {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.local-captcha img {
    border: 1px solid #ddd;
    height: 50px;
}

.local-captcha input {
    padding: 8px;
    width: 100px;
}

/* #caw-op-reco input[type="text"] { */
#caw-op-reco input {
	width: 100%;
	background: #e7fff2;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
#caw-op-reco table td {
	text-align: center;
	border: 1px solid #4fc7bf;
}
#caw-op-reco table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
    margin-bottom: 20px;
}
	
#caw-op-reco {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
	margin-bottom: 20px;
    overflow: hidden;
	max-width: 800px;
    padding: 20px;
    background: #f9f9f9;
}

#caw-op-reco .button {
    background: #4fc7bf;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

#caw-op-reco .button:hover {
    background: #3aa89f;
}

/* Style responsive */
@media (max-width: 768px) {
    #caw-op-reco table td {
        display: block;
        width: 100%;
        text-align: left;
    }
}
.caw-results {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.caw-results table {
    width: 100%;
    margin-bottom: 20px;
}

.caw-results th {
    text-align: left;
    padding: 8px;
    background: #eaeaea;
}

.caw-results td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.confirmation-message {
    padding: 15px;
    background: #dff0d8;
    color: #3c763d;
    border-radius: 4px;
}

.alert-message strong {
    margin: 0 20px;
    font-size: 1.2em;
    font-weight: bold;
}

/* new css */
/* Style de base du tableau */
.caw-results table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

/* Alternance des couleurs de ligne */
.caw-results tr:nth-child(even) {
    background-color: #eaeaea;
}

.caw-results tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Style du conteneur du tableau */
.caw-results {
    margin: 20px 0;
}

/* Style de base du tableau */
.caw-results table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

/* Alignement par défaut (pour le français) */
.caw-results th,
.caw-results td {
    padding: 12px 15px !important;
    text-align: left !important;
    border-bottom: 1px solid #e0e0e0;
}

/* Alignement à droite pour l'arabe */
[dir="rtl"] .caw-results th,
[dir="rtl"] .caw-results td {
    text-align: right !important;
}

/* Style spécifique pour l'en-tête */
.caw-results thead th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #d0d0d0; /* Ligne plus épaisse sous l'en-tête */
}

/* Style des lignes du corps du tableau */
.caw-results tbody tr {
    transition: background-color 0.2s ease;
}

/* Alternance des couleurs de ligne */
.caw-results tbody tr:nth-child(even) {
    background-color: #eaeaea;
}

/* Bordure pour la dernière ligne */
.caw-results tbody tr:last-child td {
    border-bottom: 1px solid #d0d0d0;
}

/* Style responsive pour petits écrans */
@media (max-width: 768px) {
    .caw-results table {
        display: block;
        overflow-x: auto;
    }
    
    .caw-results th,
    .caw-results td {
        padding: 8px 10px;
        font-size: 0.9em;
    }
}

button.btn.btn-primary.btn-lg {
    width: 100%;
}

div#recaptcha-error {
    width: 100%;
    display: table;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.card-header {
    background-color: #4fc7bf;
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px 8px 0 0;
	margin-bottom: 20px;
}

.card-header h2, .card-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

p.lead {
    padding: 10px;
	margin-bottom: 20px;
    font-size: 21px;
    font-weight: 200;
    line-height: 30px;
}