﻿
.gst-page {
    background: #fff;
    color: #24443f;
    padding: 25px 0 45px;
}

.gst-wrap {
    width: min(1100px, calc(100% - 32px));
    margin: auto;
}

.gst-crumb {
    font-size: 12px;
    color: #81938f;
    margin-bottom: 20px;
}

    .gst-crumb a {
        color: #0F766E;
        text-decoration: none;
        font-weight: 600;
    }

.gst-heading {
    text-align: center;
    margin-bottom: 24px;
}

    .gst-heading > span {
        font-size: 10px;
        letter-spacing: 2px;
        font-weight: 800;
        color: #14B8A6;
    }

    .gst-heading h1 {
        font-size: clamp(27px, 4.5vw, 39px);
        margin: 7px 0;
        color: #115e59;
    }

    .gst-heading p {
        color: #748985;
        font-size: 14px;
        margin: 0;
    }

.gst-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: start;
}

.gst-panel,
.gst-result {
    padding: 20px 23px;
    border: 1px solid #dcebe8;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(15, 118, 110, .07);
}

    .gst-panel h2 {
        margin: 0 0 15px;
        font-size: 19px;
        color: #115e59;
    }

    .gst-panel label {
        display: block;
        margin: 12px 0 5px;
        font-size: 12px;
        font-weight: 700;
        color: #31534e;
    }

    .gst-panel input,
    .gst-panel select {
        width: 100%;
        height: 40px;
        border: 1px solid #d7e7e3;
        border-radius: 8px;
        padding: 0 11px;
        background: #fff;
        color: #24443f;
        font-size: 13px;
        outline: none;
        transition: border-color .2s, box-shadow .2s;
    }

        .gst-panel input:focus,
        .gst-panel select:focus {
            border-color: #14B8A6;
            box-shadow: 0 0 0 3px rgba(20, 184, 166, .12);
        }

.gst-toggle,
.gst-rates {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
}

.gst-toggle {
    padding: 4px;
    background: #edf7f5;
    border-radius: 10px;
}

    .gst-toggle button,
    .gst-rates button {
        border: 1px solid #d7e7e3;
        border-radius: 8px;
        padding: 10px;
        background: #fff;
        color: #31534e;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        transition: .2s;
    }

        .gst-toggle button.active,
        .gst-rates button.active {
            background: #d8f5ef;
            border-color: #0F766E;
            color: #0F766E;
        }

.gst-rates {
    grid-template-columns: repeat(4, 1fr);
}

    .gst-toggle button:hover,
    .gst-rates button:hover {
        border-color: #14B8A6;
    }

.gst-result {
    background: linear-gradient(145deg, #0F766E, #115e59);
    color: #fff;
    border: 0;
    position: relative;
    overflow: hidden;
}

    .gst-result::after {
        content: "";
        position: absolute;
        width: 125px;
        height: 125px;
        right: -40px;
        top: -55px;
        border-radius: 50%;
        background: rgba(20, 184, 166, .2);
        pointer-events: none;
    }

.gst-result-top {
    padding: 8px 0 19px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    position: relative;
    z-index: 1;
}

    .gst-result-top span {
        display: block;
        color: #c8f4eb;
        font-size: 10px;
        letter-spacing: 1.4px;
        font-weight: 800;
    }

    .gst-result-top strong {
        display: block;
        font-size: clamp(28px, 4vw, 38px);
        margin: 8px 0;
        overflow-wrap: anywhere;
    }

    .gst-result-top small {
        color: #c8f4eb;
        font-size: 11px;
    }

.gst-breakdown {
    padding: 10px 0;
}

    .gst-breakdown div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        font-size: 12px;
    }

    .gst-breakdown span {
        color: #c8f4eb;
    }

    .gst-breakdown b {
        color: #fff;
    }

.gst-result > button {
    width: 100%;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}

    .gst-result > button:hover {
        background: #14B8A6;
        color: #073b37;
        border-color: #14B8A6;
    }

.gst-info {
    max-width: 850px;
    margin: 25px auto 0;
    line-height: 1.7;
    color: #657c77;
    font-size: 13px;
}

    .gst-info h2 {
        color: #115e59;
        font-size: 21px;
    }

/* Tablet and Mobile */
@media (max-width: 700px) {
    .gst-page {
        padding: 20px 0 35px;
    }

    .gst-crumb {
        margin-bottom: 16px;
    }

    .gst-heading {
        margin-bottom: 20px;
    }

    .gst-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gst-panel,
    .gst-result {
        padding: 18px 16px;
        border-radius: 13px;
    }

        .gst-panel h2 {
            margin-bottom: 12px;
        }

        .gst-panel label {
            margin: 10px 0 5px;
        }

        .gst-panel input,
        .gst-panel select {
            height: 42px;
        }

    .gst-toggle button,
    .gst-rates button {
        padding: 10px 7px;
    }

    .gst-result-top {
        padding-bottom: 16px;
    }

    .gst-breakdown div {
        padding: 9px 0;
    }

    .gst-info {
        margin-top: 22px;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .gst-wrap {
        width: calc(100% - 22px);
    }

    .gst-panel,
    .gst-result {
        padding: 15px 12px;
    }

    .gst-heading h1 {
        font-size: 26px;
    }

    .gst-rates {
        gap: 5px;
    }

        .gst-rates button {
            font-size: 11px;
            padding: 9px 4px;
        }

    .gst-result-top strong {
        font-size: 27px;
    }
}
