/* ==========================================
   ANOMOZ ROOF PITCH CALCULATOR
========================================== */

.anomoz-roof-calculator {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #dce6f0;
    border-radius: 18px;
    overflow: hidden;
    margin: 35px 0;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}


/* LEFT SIDE */

.anomoz-roof-inputs {
    padding: 45px 55px;
    background: #ffffff;
}

.anomoz-roof-inputs h2,
.anomoz-roof-results h2 {
    margin: 0 0 28px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.anomoz-roof-inputs h2 {
    color: #111827;
}


.anomoz-field {
    margin-bottom: 22px;
}

.anomoz-field:last-child {
    margin-bottom: 0;
}


.anomoz-field label {
    display: block;
    margin-bottom: 9px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}


.anomoz-field input {
    width: 100%;
    height: 62px;
    padding: 0 20px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font-size: 18px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


.anomoz-field input:focus {
    border-color: #0874d1;
    box-shadow: 0 0 0 3px rgba(8, 116, 209, 0.10);
}


/* RIGHT SIDE */

.anomoz-roof-results {
    position: relative;
    padding: 45px 55px;
    background: linear-gradient(135deg, #075da8 0%, #0876c9 100%);
    color: #ffffff;
    overflow: hidden;
}


.anomoz-roof-results::after {
    content: "A";
    position: absolute;
    right: 45px;
    bottom: -105px;
    color: rgba(255, 255, 255, 0.055);
    font-size: 390px;
    line-height: 1;
    font-weight: 800;
    pointer-events: none;
}


.anomoz-roof-results h2 {
    position: relative;
    z-index: 1;
    color: #ffffff;
}


.anomoz-result-row {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 0;

    border-bottom: 1px dashed rgba(255, 255, 255, 0.13);
}


.anomoz-result-row:last-child {
    border-bottom: none;
}


.anomoz-result-row > span {
    color: #a9dafc;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
}


.anomoz-result-row strong {
    flex-shrink: 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
}


.anomoz-result-row small {
    font-size: 16px;
    font-weight: 500;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .anomoz-roof-inputs,
    .anomoz-roof-results {
        padding: 35px;
    }

    .anomoz-result-row strong {
        font-size: 23px;
    }

    .anomoz-result-row > span {
        font-size: 14px;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .anomoz-roof-calculator {
        grid-template-columns: 1fr;
        border-radius: 14px;
    }

    .anomoz-roof-inputs,
    .anomoz-roof-results {
        padding: 28px 22px;
    }

    .anomoz-roof-inputs h2,
    .anomoz-roof-results h2 {
        font-size: 22px;
        margin-bottom: 22px;
    }

    .anomoz-field input {
        height: 56px;
        font-size: 16px;
    }

    .anomoz-result-row {
        padding: 15px 0;
    }

    .anomoz-result-row > span {
        font-size: 13px;
    }

    .anomoz-result-row strong {
        font-size: 21px;
    }

    .anomoz-roof-results::after {
        font-size: 280px;
        right: 10px;
    }
}