/* Version Arabe CSS */
body {
    direction: rtl;
    background-color: #E0C097; /* Beige sable */
    color: #444;
    font-family: 'Balsamiq Sans', sans-serif;
    text-align: center;
}

.hero {
    background: linear-gradient(135deg, #2D6A4F, #D4AF37); /* Vert émeraude et Or pâle */
    padding: 40px 0;
}

.hero-body {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.box {
    background-color: #FFF8E1;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s;
}

.box:hover {
    transform: scale(1.02);
}
#title_converter{
    color: #efe2ca !important;
}
.title {
    color: #2D6A4F !important;
    margin-bottom: 20px;
}

#convertButton {
    background-color: #D4AF37; /* Or pâle */
    color: white;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 20px;
}

#convertButton:hover {
    background-color: #B38B2A;
    transform: scale(1.05);
}

#result {
    font-size: 16px !important;
    font-weight: bold;
    color: #444;
    margin-top: 15px;
    text-align: center;
}

.centered-table {
    max-width: 800px;
    margin: 0 auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #D4AF37; /* Or pâle */
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #B4B4B4; /* Gris clair */
}

th {
    background-color: #2D6A4F; /* Vert émeraude */
    color: white;
}

td {
    background-color: #FFF8E1;
}

tr:hover td {
    background-color: #F1E5D9; /* Clair */
}

.history-text {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.history-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.history-card {
    background-color: #FFE5D9;
    width: 30%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, color 0.3s ease;
}

.history-card:hover {
    transform: scale(1.05);
}

.history-description {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
    margin-top: 10px;
}

.history-card .subtitle {
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

@media (max-width: 768px) {
    .history-cards {
        flex-direction: column;
        align-items: center;
    }

    .history-card {
        width: 45%;
        margin-bottom: 20px;
    }

    .section {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .history-cards {
        flex-direction: column;
        align-items: center;
    }

    .history-card {
        width: 80%;
        margin-bottom: 20px;
    }

    .section {
        padding: 20px;
    }

    h2.title {
        font-size: 1.5em;
    }

    ul li {
        padding: 8px;
    }
}
.p__br{
    padding-bottom: 20px;
}
