/* Technicasoft global calculator styles */
.technicasoft-hesaplama-wrapper {
    --technicasoft-primary: #B1001E;
    --technicasoft-primary-hover: #8F0018;
    --technicasoft-border: #E8CCD2;
    --technicasoft-muted: #7A4E56;
    --technicasoft-bg: #ffffff;
    --technicasoft-panel: linear-gradient(180deg, #ffffff 0%, #FDF5F7 100%);
    --technicasoft-radius: 18px;
    --technicasoft-shadow: 0 12px 34px rgba(177, 0, 30, 0.10);
    --technicasoft-shadow-focus: 0 0 0 4px rgba(177, 0, 30, 0.14);
    --technicasoft-error: #8F0018;
    --technicasoft-error-bg: #FDECEF;
    --technicasoft-success-bg: #FAEEF1;

    max-width: 700px;
    margin: 24px 0;
    color: #372025;
    font: 16px/1.55 "Segoe UI", Arial, Helvetica, sans-serif;
}

.technicasoft-hesaplama-baslik {
    margin: 0 0 8px;
    color: var(--technicasoft-primary);
    font-size: 1.55rem;
    line-height: 1.25;
    font-weight: 700;
}

.technicasoft-hesaplama-aciklama {
    margin: 0 0 16px;
    color: var(--technicasoft-muted);
}

.technicasoft-hesaplama-form,
.technicasoft-hesaplama-sonuc {
    background: var(--technicasoft-panel);
    border: 1px solid var(--technicasoft-border);
    box-shadow: var(--technicasoft-shadow);
}

.technicasoft-hesaplama-form {
    padding: 20px;
    margin-bottom: 16px;
}

.technicasoft-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.technicasoft-form-group {
    margin-bottom: 14px;
}

.technicasoft-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #4A262D;
    font-weight: 600;
    font-size: 0.95rem;
}

.technicasoft-form-group input[type="text"],
.technicasoft-form-group input[type="number"],
.technicasoft-form-group input[type="date"],
.technicasoft-form-group select,
.technicasoft-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--technicasoft-border);
    background: #fff;
    color: #2A151A;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.technicasoft-form-group input:focus,
.technicasoft-form-group select:focus,
.technicasoft-form-group textarea:focus {
    outline: none;
    border-color: var(--technicasoft-primary);
    box-shadow: var(--technicasoft-shadow-focus);
    transform: translateY(-1px);
}

.technicasoft-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.technicasoft-hesaplama-btn {
    appearance: none;
    border: 0;
    background: var(--technicasoft-primary);
    color: #fff;
    cursor: pointer;
    padding: 12px 18px;
    font-size: 0.98rem;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 18px rgba(177, 0, 30, 0.16);
}

.technicasoft-hesaplama-btn:hover {
    background: var(--technicasoft-primary-hover);
    transform: translateY(-1px);
}

.technicasoft-hesaplama-sonuc {
    padding: 18px 20px;
}

.technicasoft-sonuc-baslik {
    margin: 0 0 12px;
    color: var(--technicasoft-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.technicasoft-sonuc-satir {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #F2E1E5;
}

.technicasoft-sonuc-satir:last-of-type {
    border-bottom: 0;
}

.technicasoft-sonuc-satir span {
    color: #724048;
}

.technicasoft-sonuc-satir strong {
    text-align: right;
    color: #2A151A;
}

.technicasoft-sonuc-bilgi {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #E8C9D0;
    background: var(--technicasoft-success-bg);
    color: #372025;
    font-size: 0.94rem;
}

.technicasoft-hata {
    padding: 12px 14px;
    border: 1px solid #E7B5BD;
    background: var(--technicasoft-error-bg);
    color: var(--technicasoft-error);
    font-weight: 600;
}

.technicasoft-loading {
    margin: 0;
    color: var(--technicasoft-muted);
}

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

    .technicasoft-sonuc-satir {
        flex-direction: column;
        gap: 4px;
    }

    .technicasoft-sonuc-satir strong {
        text-align: left;
    }

    .technicasoft-hesaplama-form,
    .technicasoft-hesaplama-sonuc {
        padding: 16px;
    }
}