.tmc-calculator {
    width: 97%;
    padding: 20px;
    border: 1px solid #ffbc00;
    margin: 0px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .tmc-calculator {
        width: 100%;
        padding: 15px; 
        margin: 0 auto; 
    }
}

.tmc-calculator label {
    display: block;
    margin-bottom: 10px;
    color: #130C00;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 2.6em;
}

.tmc-calculator button {
    margin-top: 10px;
    background-color: #ffba00;
    color: #130C00;
    border-style: solid;
    border-width: 0;
    border-radius: 50px;
    padding: 20px 40px;
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.tmc-calculator button:hover {
    background-color: #e5a800;
    color: #ffffff;
    text-transform: uppercase;
    transform: translateY(-1px);
}
.tmc-calculator .co2-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    box-sizing: border-box;
    max-width: 100%;
}
.tmc-calculator .co2-row label {
    flex: 1;
    min-width: 0;
}

.tmc-calculator input, .tmc-calculator optgroup, .tmc-calculator select, .tmc-calculator textarea {
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

.tmc-calculator select,
.tmc-calculator input[type="number"] {
    border-radius: 30px !important;
    max-width: 100%;
    width: 100%;
    outline: none;
    border: 1px #e0e0e0 solid;
    background: transparent;
    box-sizing: border-box;
    padding: 10px 18px;
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: 400;
}
#result {
    margin-top: 24px;
}
.tmc-layout-2col #result {
    margin-top: 0;
}
#result .m-base { color: #666; font-weight: 400; }
#result .reduction { color: #257e3e; }
#result .result-tmc, #result .result-tc { font-size: 1.1em; }
#result .result-tc {margin-top:20px;}

/*Couleur input*/
#power, #power2 {border-color:#d13c60; border-width: 3px; height: 46px;}
#co2, #co2type {border-color:#23964e; border-width: 3px; height: 46px;}
#cylindree {border-color:#d13cc4; border-width: 3px; height: 46px;}
#mma {border-color:#2997d6; border-width: 3px; height: 46px;}
#vehicleTypeGlobal, #vehicleTypeMoto, #vehicleType, #vehicleAge {height: 46px;}

#result {
    margin-top: 24px;
}

.tmc-results-wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.rtrtax-results {
    animation: rtrtax-fadein .3s ease;
}

.rtrtax-results__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 12px;
    flex-wrap: wrap;
}

.rtrtax-results__header h3 {
    display: none;
	margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.rtrtax-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
}

.rtrtax-badge--wallonie {
    background: #fffee4;
    color: #595303;
    border-color: #fdf7a5;
}

.rtrtax-badge--bruxelles {
    background: #ecfdf5;
    color: #0d9488;
    border-color: #d1fae5;
}

.rtrtax-results__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.rtrtax-card {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.rtrtax-card--tc-wallonie {
    background: #fffee4;
    border-color: #fdf7a5;
}
.rtrtax-card--tc-bruxelles {
    background: #ecfdf5;
    border-color: #d1fae5;
}

.rtrtax-card--tmc-wallonie {
    background: #f5f3ff;
    border-color: #ede9fe;
}

.rtrtax-card--tmc-bruxelles {
    background: #f5f3ff;
    border-color: #ede9fe;
}

.rtrtax-card__label {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #6b7280;
    margin-bottom: .5rem;
}

.rtrtax-card__amount {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

.rtrtax-card--tc-wallonie .rtrtax-card__amount {
    color: #595303;
}

.rtrtax-card--tc-bruxelles .rtrtax-card__amount {
    color: #0d9488;
}

.rtrtax-card--tmc-wallonie .rtrtax-card__amount, .rtrtax-card--tmc-bruxelles .rtrtax-card__amount {
    color: #7c3aed;
}

.rtrtax-card__detail {
    margin-top: .4rem;
    font-size: .75rem;
    color: #6b7280;
    line-height: 1.4;
	font-weight: 400;
    word-break: break-word;
}

.rtrtax-card__freq {
    font-size: .65rem;
    font-weight: 400;
    text-transform: none;
    opacity: .7;
    margin-left: 4px;
}

.rtrtax-total {
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid #e5e7eb;
	display: none;
    /*display: flex;*/
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rtrtax-total__label {
    font-size: .9rem;
    color: #4b5563;
    font-weight: 600;
}

.rtrtax-total__amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
}

.rtrtax-disclaimer {
	display: none;
    margin: .9rem 0 0 0;
    font-size: .76rem;
    line-height: 1.45;
    color: #6b7280;
}

@keyframes rtrtax-fadein {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layout 2 colonnes : formulaire à gauche, résultats à droite */
.tmc-layout-2col {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.tmc-layout-2col .tmc-col-form {
    flex: 1;
    min-width: 0;
}
.tmc-layout-2col .tmc-calculator {
    width: 100%;
}
.tmc-layout-2col .tmc-col-result {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .rtrtax-results__cards {
        grid-template-columns: 1fr;
    }

    .rtrtax-card__amount {
        font-size: 1.45rem;
    }

    .rtrtax-total__amount {
        font-size: 1.05rem;
    }

    .tmc-layout-2col {
        flex-direction: column;
    }
    .tmc-layout-2col .tmc-col-form,
    .tmc-layout-2col .tmc-col-result {
        width: 100%;
    }
}