:root {
    --brand-color: #2E86AB;
    --brand-dark: #1A6A88;
}

body {
    background: #f5f7fb;
    padding: 20px 0;
}

.card {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.brand-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8edf2;
}
.brand-logo {
    height: 44px;
    width: auto;
    margin-right: 10px;
}
.brand-header h1 {
    display: inline-block;
    margin: 0;
    font-size: 24px;
    color: var(--brand-color);
    vertical-align: middle;
}
.back-link {
    float: right;
    margin-top: 10px;
    color: var(--brand-dark);
}

.tab-nav {
    margin-bottom: 16px;
}
.tab-btn {
    margin-right: 6px;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

.subhead {
    margin-bottom: 16px;
    padding: 10px 12px;
    background: #f0f6fa;
    border-left: 4px solid var(--brand-color);
    border-radius: 6px;
    color: #274a5b;
}

.result-panel {
    margin-top: 16px;
    background: #f8fbfd;
    border: 1px solid #e6edf2;
}
.control-label {
    color: #333 !important;
    background: transparent !important;
}
.row-label {
    color: #2a4d61;
    font-weight: 500;
}
.price-row {
    padding: 8px 0;
    border-bottom: 1px solid #eceff3;
}
.price-row:last-child {
    border-bottom: none;
}
.final-row {
    border-top: 2px solid var(--brand-color);
    margin-top: 6px;
    padding-top: 10px;
}
.final-row .value {
    font-size: 18px;
    color: var(--brand-color);
    font-weight: 700;
}
.copy-status {
    margin-top: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    text-align: center;
    background: #eaf7ee;
    color: #2f7a4a;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.copy-status.show { opacity: 1; }

.settings-status {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.settings-status.show { opacity: 1; }
.settings-status.success { background: #eaf7ee; color: #2f7a4a; }
.settings-status.error { background: #fde8e8; color: #c0392b; }

.toast-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2f7a4a;
    color: #fff;
    padding: 10px 16px;
    border-radius: 20px;
    opacity: 0;
    z-index: 9999;
    transition: opacity 0.25s ease;
}
.toast-message.show { opacity: 1; }

@media (max-width: 767px) {
    .back-link {
        float: none;
        display: block;
        margin-top: 8px;
    }
}