/* Hesaplama Suite - frontend stiller */
.hc-calculator {
    --hc-front-surface: #ffffff;
    --hc-front-soft: #f7faff;
    --hc-front-border: #dce5f0;
    --hc-front-text: #101828;
    --hc-front-muted: #667085;
    --hc-front-blue: #155eef;
    --hc-front-blue-dark: #0f46b7;
    --hc-front-green: #0f8a5f;
    --hc-front-gold: #c98905;
    --hc-front-red: #c0362c;
    width: 100%;
    max-width: 680px;
    margin: 28px auto;
    padding: 26px;
    border: 1px solid rgba(203, 213, 225, .92);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(248, 251, 255, .96) 100%),
        var(--hc-front-surface);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .10), 0 1px 2px rgba(15, 23, 42, .04);
    color: var(--hc-front-text);
    box-sizing: border-box;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hc-calculator * {
    box-sizing: border-box;
}

.hc-calculator h3 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 16px;
    color: var(--hc-front-text);
    font-size: 24px;
    font-weight: 780;
    line-height: 1.2;
    letter-spacing: 0;
}

.hc-calculator h3::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--hc-front-blue), rgba(15, 138, 95, .48), transparent);
}

.hc-form-group {
    margin-bottom: 16px;
}

.hc-form-group label {
    display: block;
    margin-bottom: 7px;
    color: #253044;
    font-size: 13px;
    font-weight: 760;
}

.hc-form-group input,
.hc-form-group select,
.hc-form-group textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid var(--hc-front-border);
    border-radius: 10px;
    background: #fff;
    color: var(--hc-front-text);
    font-size: 15px;
    line-height: 1.35;
    outline: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hc-form-group input::placeholder,
.hc-form-group textarea::placeholder {
    color: #98a2b3;
}

.hc-form-group input:focus,
.hc-form-group select:focus,
.hc-form-group textarea:focus {
    border-color: #8fb2ff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(21, 94, 239, .11);
}

.hc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--hc-front-blue);
    border-radius: 10px;
    background: linear-gradient(180deg, #1d66ff 0%, var(--hc-front-blue-dark) 100%);
    box-shadow: 0 14px 28px rgba(21, 94, 239, .22);
    color: #fff;
    font-size: 15px;
    font-weight: 780;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.hc-btn:hover,
.hc-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(21, 94, 239, .28);
    color: #fff;
    filter: brightness(1.04);
}

.hc-result {
    display: none;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #dbe7ff;
    border-radius: 16px;
    background:
        linear-gradient(135deg, #f1f6ff 0%, #ffffff 70%),
        #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.hc-result.visible {
    display: block;
}

.hc-result-value {
    display: inline-block;
    color: var(--hc-front-blue-dark);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.05;
}

.hc-result table,
.hc-calculator table {
    width: 100%;
    border-collapse: collapse;
}

.hc-result table td,
.hc-result table th,
.hc-calculator table td,
.hc-calculator table th {
    padding: 10px 8px;
    border-bottom: 1px solid #e6edf5;
    color: #334155;
    font-size: 14px;
}

.hc-result table th,
.hc-calculator table th {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
}

.hc-result table td:last-child {
    text-align: right;
}

.hc-share-panel {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid var(--hc-front-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.hc-share-title {
    margin-bottom: 10px;
    color: #253044;
    font-size: 13px;
    font-weight: 780;
}

.hc-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hc-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 13px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #f8fafc;
    color: #253044;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.hc-share-btn:hover {
    transform: translateY(-1px);
    border-color: #9db8e8;
    background: #fff;
    color: var(--hc-front-blue);
}

.hc-share-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.hc-share-btn-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.hc-share-btn--whatsapp {
    color: #18794e;
}

.hc-share-btn--telegram {
    color: #0b70b7;
}

.hc-share-btn--facebook {
    color: #2456b8;
}

.hc-share-btn--x {
    color: #111827;
}

.hc-share-btn--email {
    color: #6b7280;
}

.hc-share-btn:focus {
    outline: 2px solid var(--hc-front-blue);
    outline-offset: 2px;
}

/* Kredi karti asgari odeme */
.hc-kkao-table {
    width: 100%;
    border-collapse: collapse;
}

.hc-kkao-table td {
    padding: 10px 6px;
    border-bottom: 1px solid #e6edf5;
    font-size: 14px;
}

.hc-kkao-table td:last-child {
    text-align: right;
    font-size: 15px;
}

.hc-kkao-uyari {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #f3cc74;
    border-radius: 12px;
    background: #fff8e7;
    color: #8a5a03;
    font-size: 13px;
}

@media (max-width: 480px) {
    .hc-calculator {
        margin: 18px auto;
        padding: 18px;
        border-radius: 14px;
    }

    .hc-calculator h3 {
        font-size: 21px;
    }

    .hc-result-value {
        font-size: 25px;
    }

    .hc-share-actions {
        flex-direction: column;
    }

    .hc-share-btn {
        width: 100%;
        text-align: center;
    }
}
