﻿.sheet-calculation-section {
    position: relative;
    padding: 70px 0;
    background-color: #f7f8fa;
}

.sheet-calculation-notice {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 18px 22px;
    color: #07184f;
    border: 1px solid rgba(227, 82, 5, 0.25);
    border-left: 4px solid #e35205;
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(7, 24, 79, 0.07);
}

    .sheet-calculation-notice .icon {
        margin-right: 14px;
        color: #e35205;
        font-size: 25px;
    }

.sheet-calculation-row {
    align-items: stretch;
}

.sheet-calculator-card,
.sheet-calculation-image {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(7, 24, 79, 0.09);
}

.sheet-calculator-card {
    padding: 30px;
}

.sheet-field {
    margin-bottom: 16px;
}

    .sheet-field label {
        display: block;
        margin-bottom: 7px;
        color: #343a46;
        font-size: 14px;
        font-weight: 600;
    }

.sheet-field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 95px;
    gap: 10px;
}

.sheet-field input,
.sheet-field select {
    width: 100%;
    height: 48px;
    padding: 8px 13px;
    color: #252a34;
    border: 1px solid #dcdfe4;
    border-radius: 5px;
    background-color: #ffffff;
    font-size: 14px;
}

    .sheet-field input:focus,
    .sheet-field select:focus {
        border-color: #e35205;
        box-shadow: 0 0 0 3px rgba(227, 82, 5, 0.12);
    }

.sheet-calculate-button {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 11px 20px;
    color: #ffffff;
    border: 0;
    border-radius: 25px;
    background-color: #07184f;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.25s ease;
}

    .sheet-calculate-button:hover,
    .sheet-calculate-button:focus {
        color: #ffffff;
        background-color: #07184f;
        box-shadow: 0 7px 18px rgba(7, 24, 79, 0.25);
    }

.sheet-calculation-result {
    display: none;
    margin-top: 22px;
    padding: 18px 20px;
    color: #07184f;
    border: 1px solid rgba(7, 24, 79, 0.15);
    border-radius: 6px;
    background-color: #f4f6fa;
    text-align: center;
}

    .sheet-calculation-result.is-visible {
        display: block;
    }

.sheet-calculation-result-label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.sheet-calculation-result-value {
    display: block;
    color: #e35205;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
}

.sheet-calculation-image {
    display: flex;
    min-height: 500px;
    align-items: center;
    justify-content: center;
}

    .sheet-calculation-image img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 500px;
        object-fit: cover;
    }

.weight-calculation-content {
    padding: 50px 0 75px;
    color: #333333;
    background-color: #ffffff;
    font-size: 16px;
    line-height: 1.85;
}

    .weight-calculation-content h2,
    .weight-calculation-content h3 {
        margin: 30px 0 14px;
        color: #07184f;
        font-weight: 700;
        line-height: 1.4;
    }

    .weight-calculation-content h2 {
        font-size: 28px;
    }

    .weight-calculation-content h3 {
        font-size: 22px;
    }

    .weight-calculation-content p {
        margin-bottom: 17px;
    }

    .weight-calculation-content ul,
    .weight-calculation-content ol {
        margin: 0 0 20px 22px;
    }

    .weight-calculation-content li {
        margin-bottom: 7px;
        list-style: inherit;
    }

@media only screen and (max-width: 991px) {
    .sheet-calculation-image {
        min-height: 380px;
        margin-top: 25px;
    }

        .sheet-calculation-image img {
            min-height: 380px;
        }
}

@media only screen and (max-width: 767px) {
    .sheet-calculation-section {
        padding: 45px 0;
    }

    .sheet-calculator-card {
        padding: 22px 18px;
    }

    .sheet-calculator-title {
        font-size: 21px;
    }

    .sheet-calculation-notice {
        align-items: flex-start;
        padding: 15px;
    }

    .sheet-calculation-image,
    .sheet-calculation-image img {
        min-height: 270px;
    }

    .weight-calculation-content {
        padding: 35px 0 50px;
        font-size: 15px;
    }

        .weight-calculation-content h2 {
            font-size: 23px;
        }
}

.sheet-dimension-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 25px;
}

    .sheet-dimension-image img {
        display: block;
        width: 100%;
        max-width: 300px;
        height: auto;
        object-fit: contain;
    }
/* Hesaplama kartı başlığı ve ölçü görseli */
.sheet-calculator-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e7eaf0;
    text-align: center;
}

.sheet-calculator-title {
    margin: 0;
    color: #071859;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.sheet-dimension-visual {
    width: 380px;
    max-width: 100%;
}

    .sheet-dimension-visual img {
        display: block;
        width: 100%;
        height: 190px;
        margin: 0 auto;
        object-fit: contain;
    }

/* t, W ve L açıklamaları */
.sheet-dimension-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

    .sheet-dimension-legend span {
        display: inline-flex;
        min-width: 105px;
        min-height: 36px;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 6px 10px;
        color: #343a46;
        border: 1px solid #dfe3ea;
        border-radius: 5px;
        background-color: #f7f8fa;
        font-size: 12px;
        text-align: center;
    }

    .sheet-dimension-legend strong {
        color: #e35205;
        font-size: 14px;
        font-weight: 800;
    }

.sheet-field-symbol {
    margin-left: 4px;
    color: #e35205;
    font-weight: 800;
}

@media only screen and (max-width: 767px) {
    .sheet-calculator-header {
        gap: 15px;
    }

    .sheet-calculator-title {
        font-size: 21px;
    }

    .sheet-dimension-visual {
        width: 100%;
    }

        .sheet-dimension-visual img {
            height: 180px;
        }
}

@media only screen and (max-width: 575px) {
    .sheet-calculator-header {
        gap: 14px;
    }

    .sheet-dimension-visual img {
        height: 175px;
    }

    .sheet-dimension-legend span {
        min-width: 95px;
        padding: 6px 8px;
        font-size: 11px;
    }
}

@media only screen and (max-width: 400px) {
    .sheet-dimension-legend {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

        .sheet-dimension-legend span {
            width: 100%;
            min-width: 0;
            min-height: 34px;
            font-size: 12px;
        }
}

.sheet-calculation-result-main {
    text-align: center;
}

.sheet-calculation-result-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #d9dde6;
}

    .sheet-calculation-result-details:not([hidden]) {
        display: grid;
    }

.sheet-result-detail {
    display: flex;
    min-height: 70px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 10px;
    border: 1px solid #e0e3e9;
    border-radius: 6px;
    background-color: #ffffff;
}

    .sheet-result-detail span {
        color: #606879;
        font-size: 12px;
        font-weight: 500;
    }

    .sheet-result-detail strong {
        color: #07184f;
        font-size: 16px;
        font-weight: 700;
    }

@media only screen and (max-width: 400px) {
    .sheet-calculation-result-details {
        grid-template-columns: 1fr;
    }
}

.sheet-field input.is-invalid,
.sheet-field select.is-invalid {
    border-color: #c52c2c;
    box-shadow: 0 0 0 3px rgba(197, 44, 44, 0.12);
}

.sheet-calculation-result.has-error
.sheet-calculation-result-value {
    color: #c52c2c;
    font-size: 15px;
    font-weight: 600;
}

.sheet-reset-button {
    display: inline-flex;
    min-width: 180px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 9px 20px;
    color: #07184f;
    border: 1px solid #07184f;
    border-radius: 22px;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

    .sheet-reset-button:hover,
    .sheet-reset-button:focus {
        color: #ffffff;
        background-color: #07184f;
        box-shadow: 0 6px 16px rgba(7, 24, 79, 0.18);
    }