body {
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    margin: 0;
    padding: 0;
}

.header {
    background-color: #009A46; /* Vert foncé CRAT */
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    border-bottom: 3px solid #FAB009; /* Jaune CRAT */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px; 
    margin-right: 30px;
}

.header-content {
    width: 100%;
}

.header-text {
    text-align: left;
}

.header h1 {
    font-size: 24px; 
    margin: 0;
    font-weight: bold;
}

.header p {
    font-size: 13px; 
    margin: 4px 0;
}

.description {
    font-size: 12px;
    cursor: pointer;
    color: #009A46; /* Vert foncé CRAT */
    font-weight: bold;
    transition: color 0.3s;
}

.description:hover {
    color: #EE7E1A; /* Orange CRAT */
}

.description-details {
    position: absolute;
    top: 45.0%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background-color: rgba(255, 255, 255, 0.95); 
    font-size: 13px;
    color: #333;
    padding: 40px; 
    border-radius: 8px;
    border: 2px solid #009A46; /* Vert foncé CRAT */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 530px;
    z-index: 10;
    overflow-y: auto; 
    max-height: 300px; 
    display: none;
}

.container {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    padding: 2px;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 10px;
    gap: 15px; 
}

.number {
    font-size: 12.5px; 
    color: #1b1a1a;
    font-weight: bold; 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); 
}

.numbertable {
    font-size: 11px; 
    color: #1b1a1a;
    font-weight: bold; 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); 
}

.form-section {
    background-color: #e3e6e8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 620px;
}

.form-section h2,
.result-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.form-section label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.form-section input[type="text"],
.form-section input[type="number"],
.form-section select {
    width: calc(100% - 16px);
    padding: 7px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-section button {
    width: 100%;
    padding: 9px;
    background-color: #009A46; /* Vert foncé CRAT */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-section button:hover {
    background-color: #79BD35; /* Vert clair CRAT */
}

#informations_matricule {
    color: #333;
    background-color: #f9f9f9;
    margin-bottom: 20px; 
    padding: 20px; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

#informations_matricule h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

#informations_matricule p {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.info-table {
    margin-top: 20px;
    margin-bottom: -15px;
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    border-radius: 8px; 
    overflow: hidden; 
    font-size: 10px; 
}

.info-table thead {
    background-color: #009A46; /* Vert foncé CRAT */
    color: #fff;
}

.info-table th,
.info-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd; 
}

.info-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

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

.form-group label {
    display: inline-block;
    width: 150px; 
    margin-right: 10px;
    font-weight: bold;
    font-size: 14px; 
    padding-bottom: 12px; 
}

.form-group input[type="number"],
.form-group select {
    width: 82%; 
}

#capital_partiel_input {
    display: none;   
}

.comment {
    font-style: italic;
    margin-top: -10px; 
    margin-bottom: 17px;
    padding-left: 95px;
    color: #333;
    font-size: 0.7em; 
}

.result-section {
    display: flex;
    gap: 20px;
    background-color: #e3e6e8;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 480px;
}

.result-section h2 {
    color: #333;
}

.result-section p {
    line-height: 1.2;
    color: #555;
    margin-bottom: 1px;
}

.result-table td,
.result-table th {
    width: 30%; 
}

.result-table td {
    color: #555;
    padding: 7px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.result-table .note {
    font-style: italic;
    color: #555;
    padding-top: 7px;
    margin-top: 7px;
    border-top: 1px solid #ddd;
}