/**
 * Technicasoft - Tum hesaplama formlari icin ortak modern stil.
 */

.technicasoft-hesaplama-wrapper {
    --technicasoft-primary: #CA2129;
    --technicasoft-primary-hover: #B71E25;
    --technicasoft-border: #EACCCE;
    --technicasoft-sonuc-bg: #ffffff;
    --technicasoft-radius: 12px;
    --technicasoft-shadow: 0 4px 14px rgba(202, 33, 41, 0.10);
    --technicasoft-shadow-focus: 0 0 0 3px rgba(202, 33, 41, 0.22);
    --technicasoft-error: #9C131B;
    --technicasoft-error-bg: #FCEDEF;
    max-width: 700px;
    margin: 1.5em 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #5C2327;
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-baslik {
    margin: 0 0 0.5em;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--technicasoft-primary);
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-aciklama {
    margin: 0 0 1.1em;
    font-size: 0.94rem;
    color: #A24A51;
    line-height: 1.55;
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-form {
    background: var(--technicasoft-sonuc-bg);
    border: 1px solid var(--technicasoft-border);
    border-radius: var(--technicasoft-radius);
    box-shadow: var(--technicasoft-shadow);
    padding: 1.2rem 1.3rem;
    margin-bottom: 1rem;
}

.technicasoft-hesaplama-wrapper .technicasoft-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.technicasoft-hesaplama-wrapper .technicasoft-form-group {
    margin-bottom: 0.9rem;
}

.technicasoft-hesaplama-wrapper .technicasoft-form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #83363C;
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-form input[type="number"],
.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-form input[type="text"],
.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-form input[type="date"],
.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-form select {
    width: 100%;
    padding: 0.62rem 0.8rem;
    font-size: 1rem;
    border: 1px solid var(--technicasoft-border);
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-form input:focus,
.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-form select:focus {
    outline: none;
    border-color: var(--technicasoft-primary);
    box-shadow: var(--technicasoft-shadow-focus);
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-form input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.technicasoft-hesaplama-wrapper .technicasoft-form-actions {
    margin-top: 0.9rem;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-btn {
    display: inline-block;
    padding: 0.66rem 1.3rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--technicasoft-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 6px rgba(202, 33, 41, 0.24);
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-btn:hover {
    background: var(--technicasoft-primary-hover);
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-sonuc {
    background: var(--technicasoft-sonuc-bg);
    border: 1px solid var(--technicasoft-border);
    border-radius: var(--technicasoft-radius);
    box-shadow: var(--technicasoft-shadow);
    padding: 1.15rem 1.3rem;
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-sonuc .technicasoft-sonuc-baslik {
    margin: 0 0 0.9rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--technicasoft-primary);
}

.technicasoft-hesaplama-wrapper .technicasoft-sonuc-satir {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.42rem 0;
    border-bottom: 1px solid #FCF3F4;
    gap: 0.8rem;
}

.technicasoft-hesaplama-wrapper .technicasoft-sonuc-satir:last-child {
    border-bottom: none;
}

.technicasoft-hesaplama-wrapper .technicasoft-sonuc-satir span {
    color: #A24A51;
    font-size: 0.9rem;
}

.technicasoft-hesaplama-wrapper .technicasoft-sonuc-satir strong {
    color: #3A1517;
    font-size: 1rem;
    text-align: right;
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-sonuc.technicasoft-sonuc-hata {
    border-color: #E7B6BA;
    background: var(--technicasoft-error-bg);
}

.technicasoft-hesaplama-wrapper .technicasoft-hesaplama-sonuc.technicasoft-sonuc-hata p {
    margin: 0;
    color: var(--technicasoft-error);
    font-weight: 500;
}

@media (max-width: 680px) {
    .technicasoft-hesaplama-wrapper .technicasoft-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}