.lastz-hq-calc-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 30px;
    color: #fff;
}

/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.hq-hero {
    margin-bottom: 20px;
}

.hq-hero h1 {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: .03em;
}

.hq-hero p {
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 16px;
}

/*
|--------------------------------------------------------------------------
| Cards
|--------------------------------------------------------------------------
*/

.hq-card {
    background: rgba(15, 18, 24, .92);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    backdrop-filter: blur(4px);
}

.hq-section-title {
    margin-bottom: 18px;
}

.hq-section-title h2 {
    color: #ffc400;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hq-section-title p {
    color: rgba(255,255,255,.75);
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| Grid
|--------------------------------------------------------------------------
*/

.hq-grid {
    display: grid;
    gap: 20px;
}

.hq-grid-2 {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 700px;
}

.hq-grid-5 {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
}

/*
|--------------------------------------------------------------------------
| Fields
|--------------------------------------------------------------------------
*/

.hq-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #fff;
    font-size: 14px;
}

.hq-field input,
.hq-field select {
    width: 100%;
    height: 48px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: 0 14px;
    font-size: 15px;
    transition: .15s ease;
}

.hq-field input:focus,
.hq-field select:focus {
    outline: none;
    border-color: #ffc400;
    box-shadow: 0 0 0 3px rgba(255,196,0,.15);
}

.hq-field input::placeholder {
    color: rgba(255,255,255,.4);
}

/*
|--------------------------------------------------------------------------
| Summary Cards
|--------------------------------------------------------------------------
*/

.hq-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.hq-stat-card {
    background: rgba(15, 18, 24, .92);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.hq-stat-card span {
    display: block;
    color: #ffc400;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: .06em;
}

.hq-stat-card strong {
    display: block;
    font-size: 38px;
    line-height: 1;
    margin-bottom: 12px;
    font-weight: 900;
    color: #fff;
}

.hq-stat-card small {
    display: block;
    color: #ff5a5a;
    font-size: 15px;
    font-weight: 700;
}

#heroCapGain {
    color: #41d65c;
}

/*
|--------------------------------------------------------------------------
| Table
|--------------------------------------------------------------------------
*/

.hq-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.hq-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1100px;
}

.hq-table thead th {
    background: rgba(0,0,0,.55);
    color: #ffc400;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    white-space: nowrap;
}

.hq-table tbody td {
    padding: 16px 15px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: #fff;
    font-weight: 600;
    vertical-align: middle;
}

.hq-table tbody tr:hover td {
    background: rgba(255,255,255,.03);
}

.hq-total-row td {
    background: rgba(255,196,0,.08);
    font-weight: 900;
}

.hq-after-row td {
    background: rgba(65,214,92,.08);
    font-weight: 900;
}

.hq-save-row {
    margin-top: 18px;
}

.hq-save-status {
    padding: 10px 14px;
    border-radius: 6px;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.75);
    font-weight: 700;
}

.hq-save-status a {
    color: #ffc400;
    font-weight: 900;
}

.hq-save-status.is-saving {
    color: #ffc400;
}

.hq-save-status.is-saved {
    color: #41d65c;
}

.hq-save-status.is-error {
    color: #ff5a5a;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1200px) {

    .hq-grid-5,
    .hq-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .lastz-hq-calc-wrap {
        padding-bottom: 20px;
    }

    .hq-hero h1 {
        font-size: 30px;
    }

    .hq-card {
        padding: 16px;
    }

    .hq-grid-2,
    .hq-grid-5,
    .hq-summary-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .hq-stat-card strong {
        font-size: 30px;
    }

    .hq-table {
        min-width: 900px;
    }
}