body.rebate-page {
    background: #00656b;
}

body.rebate-page .rebate-shell {
    width: min(1180px, calc(100vw - 330px));
    margin-left: 300px;
    padding: 28px 18px 92px;
}

.rebate-hero,
.rebate-panel {
    border: 1px solid rgba(36, 230, 229, 0.26);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 106, 113, 0.96), rgba(0, 50, 58, 0.98));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), 0 0 24px rgba(25, 226, 226, 0.12);
}

.rebate-hero {
    margin-bottom: 18px;
    padding: 24px;
}

.rebate-hero span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #42f4e8;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.rebate-hero h1 {
    margin: 0 0 8px;
    color: #ffce01;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 1000;
    line-height: 1;
    text-shadow: 0 4px 0 rgba(0, 34, 39, 0.72);
}

.rebate-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(232, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.55;
}

.rebate-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px;
    overflow-x: auto;
    border: 1px solid rgba(36, 230, 229, 0.26);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(0, 76, 84, 0.96), rgba(0, 42, 50, 0.98));
    scrollbar-width: none;
}

.rebate-tabs::-webkit-scrollbar {
    display: none;
}

.rebate-tab,
.rebate-refresh-btn,
.rebate-claim-btn {
    min-height: 42px;
    border: 1px solid rgba(36, 230, 229, 0.22);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.rebate-tab {
    flex: 0 0 auto;
    min-width: 160px;
    padding: 0 18px;
    background: rgba(0, 92, 99, 0.78);
    color: #fff;
}

.rebate-tab.is-active {
    background: linear-gradient(180deg, #31efe8, #0799a5);
    border-color: rgba(141, 255, 248, 0.76);
    box-shadow: 0 8px 20px rgba(26, 224, 224, 0.22);
}

.rebate-panel {
    display: none;
    padding: 18px;
}

.rebate-panel.is-active {
    display: block;
}

.rebate-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 14px;
}

.rebate-toolbar label {
    display: grid;
    gap: 6px;
    color: rgba(230, 255, 255, 0.82);
    font-weight: 800;
}

.rebate-toolbar input {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(36, 230, 229, 0.28);
    border-radius: 10px;
    background: rgba(0, 42, 50, 0.72);
    color: #fff;
    outline: 0;
}

.rebate-refresh-btn {
    padding: 0 18px;
    background: #0b8f9a;
    color: #fff;
}

.rebate-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(36, 230, 229, 0.2);
    border-radius: 12px;
    background: rgba(0, 48, 56, 0.78);
}

.rebate-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    color: #fff;
}

.rebate-table th,
.rebate-table td {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(36, 230, 229, 0.14);
    text-align: left;
    vertical-align: middle;
}

.rebate-table th {
    color: #42f4e8;
    font-size: 12px;
    text-transform: uppercase;
}

.rebate-table td {
    color: rgba(241, 255, 255, 0.9);
}

.rebate-amount {
    color: #ffce01;
    font-weight: 1000;
}

.rebate-claim-btn {
    padding: 0 18px;
    border-color: rgba(255, 232, 70, 0.76);
    background: linear-gradient(180deg, #fff85f 0%, #ffce01 52%, #ffab00 100%);
    color: #003a40;
}

.rebate-claim-btn:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.rebate-note {
    margin: 12px 0 0;
    color: rgba(232, 255, 255, 0.72);
    font-size: 13px;
}

@media (max-width: 1024px) {
    body.rebate-page .rebate-shell {
        width: min(100%, calc(100vw - 32px));
        margin-left: auto;
        margin-right: auto;
        padding-top: 18px;
    }
}

@media (max-width: 768px) {
    body.rebate-page .rebate-shell {
        width: 100%;
        padding: 14px 12px 104px;
    }

    .rebate-hero,
    .rebate-panel {
        border-radius: 12px;
        padding: 16px;
    }

    .rebate-tab {
        min-width: 142px;
    }

    .rebate-table {
        min-width: 760px;
    }
}
