.kt-simulador {
    background: #ffffff;
    color: #e5e7eb;
    font-family: inherit;
    padding: 48px 24px;
}

.kt-simulador * {
    box-sizing: border-box;
}

.kt-simulador__container {
    margin: 0 auto;
    max-width: 1080px;
}

.kt-simulador__header h2 {
    color: #111827;
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.kt-simulador__header p {
    color: #616060;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 680px;
}

.kt-simulador__grid {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    margin-top: 32px;
}

.kt-simulador__form,
.kt-simulador__resultado {
    background: #020617;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 16px;
    padding: 24px;
}

.kt-simulador__form h3,
.kt-simulador__resultado h3 {
    color: #f9fafb;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 16px;
}

.kt-field {
    display: block;
    font-size: 14px;
    margin-bottom: 16px;
}

.kt-field span {
    color: #f9fafb;
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.kt-field small {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 400;
}

.kt-input-prefix {
    align-items: center;
    background: #020617;
    border: 1px solid #1f2937;
    border-radius: 8px;
    display: flex;
    gap: 6px;
    padding: 9px 12px;
}

.kt-input-prefix span {
    color: #9ca3af;
    margin: 0;
}

.kt-input-prefix input,
.kt-dep-wrapper input {
    background: transparent;
    border: 0;
    color: #e5e7eb;
    min-height: 28px;
    outline: 0;
    width: 100%;
}

.kt-dep-wrapper {
    border-top: 1px solid #1f2937;
    margin-top: 12px;
    padding-top: 12px;
}

.kt-dep-wrapper[hidden] {
    display: none;
}

.kt-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.kt-radio-group label {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    gap: 7px;
}

.kt-radio-group label span {
    color: #f9fafb;
    margin: 0;
}

.kt-radio-group input {
    accent-color: #ef4444;
}

.kt-switch-row {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.kt-switch {
    display: inline-block;
    height: 22px;
    min-width: 44px;
    position: relative;
    width: 44px;
}

.kt-switch input {
    height: 0;
    opacity: 0;
    width: 0;
}

.kt-slider {
    background: #4b5563;
    border-radius: 999px;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.2s;
}

.kt-slider::before {
    background: #ffffff;
    border-radius: 50%;
    bottom: 3px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: 0.2s;
    width: 16px;
}

.kt-switch input:checked + .kt-slider {
    background: #22c55e;
}

.kt-switch input:checked + .kt-slider::before {
    transform: translateX(20px);
}

.kt-btn-primary {
    background: #ef4444;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    margin-top: 8px;
    padding: 12px 16px;
    width: 100%;
}

.kt-btn-primary:hover {
    filter: brightness(1.05);
}

.kt-exemplos {
    color: #e5e7eb;
    font-size: 13px;
    margin-top: 24px;
}

.kt-exemplos p {
    margin: 0 0 10px;
}

.kt-exemplos__grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kt-exemplos__grid button {
    background: #020617;
    border: 1px solid #1f2937;
    border-radius: 12px;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 13px;
    padding: 9px 12px;
    text-align: left;
}

.kt-exemplos__grid button:hover {
    background: #111827;
}

.kt-resumo,
.kt-impostos {
    background: #020617;
    border: 1px solid #1f2937;
    border-radius: 12px;
    margin-top: 12px;
    padding: 12px;
}

.kt-resumo__linha {
    align-items: center;
    display: flex;
    font-size: 14px;
    gap: 12px;
    justify-content: space-between;
    padding: 5px 0;
}

.kt-resumo__linha span {
    color: #9ca3af;
}

.kt-resumo__linha strong {
    color: #f9fafb;
    text-align: right;
    white-space: nowrap;
}

.kt-resumo__linha--total {
    border-top: 1px solid #1f2937;
    margin-top: 5px;
    padding-top: 10px;
}

.kt-aviso {
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.55;
    margin: 16px 0 0;
}

.kojin-tax-dashboard {
    color: #17202a;
    font-family: inherit;
    margin: 0 auto;
    max-width: 1120px;
    width: 100%;
}

.kojin-tax-dashboard__header {
    border-bottom: 1px solid #d9e1e8;
    margin-bottom: 18px;
    padding-bottom: 16px;
}

.kojin-tax-dashboard__eyebrow {
    color: #527084;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.kojin-tax-dashboard__title {
    color: #17202a;
    font-size: 28px;
    line-height: 1.2;
    margin: 0;
}

.kojin-tax-dashboard__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kojin-tax-card {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(23, 32, 42, 0.06);
    min-height: 132px;
    padding: 20px;
}

.kojin-tax-card__label {
    color: #527084;
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.kojin-tax-card__value {
    color: #17202a;
    display: block;
    font-size: 30px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.kojin-tax-card--revenue {
    border-top: 4px solid #24745c;
}

.kojin-tax-card--expense {
    border-top: 4px solid #b94646;
}

.kojin-tax-card--profit {
    border-top: 4px solid #2f6fb2;
}

.kojin-tax-notice {
    background: #fff8e5;
    border: 1px solid #f0d58a;
    border-radius: 8px;
    color: #5f4800;
    font-weight: 700;
    padding: 14px 16px;
}

@media (max-width: 900px) {
    .kt-simulador__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .kt-simulador {
        padding: 32px 16px;
    }

    .kt-simulador__header h2 {
        font-size: 24px;
    }

    .kt-exemplos__grid,
    .kojin-tax-dashboard__grid {
        grid-template-columns: 1fr;
    }

    .kt-resumo__linha {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .kt-resumo__linha strong {
        text-align: left;
        white-space: normal;
    }
}
