:root {
    --bc-primary: #1A6B21;
    --bc-secondary: #FE1633;
    --bc-tertiary: #588FA1;
    --bc-bg: #f8f9fa;
    --bc-card-bg: #ffffff;
    --bc-text: #1a1a2e;
    --bc-text-light: #6c757d;
    --bc-border: #e9ecef;
    --bc-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --bc-shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --bc-radius: 12px;
    --bc-radius-sm: 8px;
    --bc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

.bc-calculator {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--bc-text);
    line-height: 1.6;
}

.bc-input-section {
    background: var(--bc-card-bg);
    border-radius: var(--bc-radius);
    padding: 32px;
    box-shadow: var(--bc-shadow);
    margin: 0 20px 24px;
    margin-top: 24px;
}

.bc-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--bc-text);
}

.bc-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bc-bg);
    border: 2px solid var(--bc-border);
    border-radius: var(--bc-radius-sm);
    transition: border-color var(--bc-transition);
    overflow: hidden;
}

.bc-input-wrapper:focus-within {
    border-color: var(--bc-primary);
}

.bc-currency {
    padding: 14px 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--bc-primary);
    background: var(--bc-bg);
    border-right: 2px solid var(--bc-border);
}

.bc-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 16px;
    font-size: 20px;
    font-weight: 600;
    color: var(--bc-text);
    outline: none;
}

.bc-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.bc-hint {
    font-size: 13px;
    color: var(--bc-text-light);
    margin: 8px 0 20px;
}

.bc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--bc-primary);
    color: #fff;
    border: none;
    border-radius: var(--bc-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--bc-transition);
}

.bc-btn:hover {
    background: #155a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 107, 33, 0.3);
}

.bc-btn:active {
    transform: translateY(0);
}

.bc-btn-icon {
    font-size: 18px;
    transition: transform var(--bc-transition);
}

.bc-btn:hover .bc-btn-icon {
    transform: translateX(4px);
}

.bc-results {
    margin: 0 20px;
}

.bc-summary-card {
    background: linear-gradient(135deg, var(--bc-secondary), #d41028);
    border-radius: var(--bc-radius);
    padding: 40px 32px;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: var(--bc-shadow-lg);
    animation: bc-fadeInUp 0.6s ease-out;
}

.bc-summary-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.bc-summary-label {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.bc-summary-amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.bc-summary-sub {
    font-size: 14px;
    opacity: 0.8;
}

.bc-comparison-visual {
    background: var(--bc-card-bg);
    border-radius: var(--bc-radius);
    padding: 24px;
    box-shadow: var(--bc-shadow);
    margin-bottom: 24px;
    animation: bc-fadeInUp 0.6s ease-out 0.1s both;
}

.bc-bar-container {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    height: 160px;
}

.bc-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
}

.bc-bar-fill {
    width: 100%;
    border-radius: 8px 8px 0 0;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.bc-bar-profit .bc-bar-fill {
    background: linear-gradient(180deg, var(--bc-primary), #158a20);
}

.bc-bar-commission .bc-bar-fill {
    background: linear-gradient(180deg, var(--bc-secondary), #d41028);
}

.bc-bar-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--bc-text-light);
    margin-top: 8px;
}

.bc-bar-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--bc-text);
    margin-top: 4px;
}

.bc-ota-section {
    background: var(--bc-card-bg);
    border-radius: var(--bc-radius);
    padding: 24px;
    box-shadow: var(--bc-shadow);
    margin-bottom: 24px;
    animation: bc-fadeInUp 0.6s ease-out 0.2s both;
}

.bc-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--bc-text);
}

.bc-ota-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--bc-border);
    padding-bottom: 0;
}

.bc-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--bc-text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--bc-transition);
}

.bc-tab:hover {
    color: var(--bc-text);
}

.bc-tab-active {
    color: var(--bc-primary);
    border-bottom-color: var(--bc-primary);
}

.bc-tab-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.bc-ota-panels {
    min-height: 120px;
}

.bc-ota-panel {
    display: none;
}

.bc-panel-active {
    display: block;
    animation: bc-fadeIn 0.3s ease-out;
}

.bc-scenario-card {
    background: var(--bc-bg);
    border-radius: var(--bc-radius-sm);
    padding: 20px;
    margin-bottom: 12px;
    border-left: 4px solid var(--bc-border);
    transition: all var(--bc-transition);
}

.bc-scenario-card:last-child {
    margin-bottom: 0;
}

.bc-scenario-card:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.bc-scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bc-scenario-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--bc-text);
}

.bc-scenario-rate {
    font-size: 20px;
    font-weight: 800;
    color: var(--bc-secondary);
}

.bc-scenario-detail {
    font-size: 13px;
    color: var(--bc-text-light);
    margin-bottom: 12px;
}

.bc-scenario-numbers {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.bc-scenario-num {
    display: flex;
    flex-direction: column;
}

.bc-scenario-num-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bc-text-light);
}

.bc-scenario-num-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--bc-text);
}

.bc-scenario-num-value.bc-commission-value {
    color: var(--bc-secondary);
}

.bc-table-section {
    background: var(--bc-card-bg);
    border-radius: var(--bc-radius);
    padding: 24px;
    box-shadow: var(--bc-shadow);
    margin-bottom: 24px;
    animation: bc-fadeInUp 0.6s ease-out 0.3s both;
}

.bc-table-wrapper {
    overflow-x: auto;
}

.bc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.bc-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bc-text-light);
    border-bottom: 2px solid var(--bc-border);
}

.bc-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--bc-border);
}

.bc-table tbody tr:hover {
    background: var(--bc-bg);
}

.bc-table tbody tr:last-child td {
    border-bottom: none;
    font-weight: 700;
    color: var(--bc-primary);
}

.bc-col-booking { color: #003580 !important; }
.bc-col-airbnb { color: #FF5A5F !important; }
.bc-col-vrbo { color: #1A1A2E !important; }

.bc-savings-section {
    background: var(--bc-card-bg);
    border-radius: var(--bc-radius);
    padding: 24px;
    box-shadow: var(--bc-shadow);
    margin-bottom: 24px;
    animation: bc-fadeInUp 0.6s ease-out 0.4s both;
}

.bc-savings-intro {
    font-size: 15px;
    color: var(--bc-text-light);
    margin-bottom: 20px;
}

.bc-savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.bc-savings-card {
    background: var(--bc-bg);
    border-radius: var(--bc-radius-sm);
    padding: 16px;
    text-align: center;
    transition: all var(--bc-transition);
    cursor: default;
}

.bc-savings-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--bc-shadow);
}

.bc-savings-pct {
    font-size: 28px;
    font-weight: 800;
    color: var(--bc-primary);
    margin-bottom: 4px;
}

.bc-savings-label {
    font-size: 12px;
    color: var(--bc-text-light);
    margin-bottom: 8px;
}

.bc-savings-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--bc-text);
}

.bc-savings-highlight {
    background: linear-gradient(135deg, var(--bc-primary), #158a20);
    border-radius: var(--bc-radius-sm);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}

.bc-highlight-icon {
    font-size: 32px;
}

.bc-highlight-text {
    font-size: 16px;
    line-height: 1.5;
}

.bc-cta-section {
    margin-bottom: 24px;
    animation: bc-fadeInUp 0.6s ease-out 0.5s both;
}

.bc-cta-card {
    background: linear-gradient(135deg, var(--bc-tertiary), #4a7a8a);
    border-radius: var(--bc-radius);
    padding: 32px;
    text-align: center;
    color: #fff;
}

.bc-cta-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
}

.bc-cta-text {
    font-size: 15px;
    opacity: 0.9;
    margin: 0 0 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.bc-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: var(--bc-tertiary);
    text-decoration: none;
    border-radius: var(--bc-radius-sm);
    font-size: 16px;
    font-weight: 700;
    transition: all var(--bc-transition);
}

.bc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    background: var(--bc-primary);
    color: #fff;
}

.bc-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--bc-border);
}

.bc-footer-text {
    font-size: 12px;
    color: var(--bc-text-light);
    margin: 0 0 4px;
}

.bc-footer-brand {
    font-size: 13px;
    color: var(--bc-text);
    margin: 0;
}

@keyframes bc-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bc-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 600px) {
    .bc-calculator {
        margin: 0;
    }

    .bc-input-section,
    .bc-results,
    .bc-ota-section,
    .bc-table-section,
    .bc-savings-section {
        margin-left: 0;
        margin-right: 0;
        padding: 20px 16px;
    }

    .bc-title {
        font-size: 22px;
    }

    .bc-summary-amount {
        font-size: 36px;
    }

    .bc-input {
        font-size: 18px;
    }

    .bc-ota-tabs {
        flex-wrap: wrap;
    }

    .bc-tab {
        padding: 10px 12px;
        font-size: 13px;
    }

    .bc-scenario-numbers {
        flex-direction: column;
        gap: 8px;
    }

    .bc-bar-container {
        height: 120px;
    }

    .bc-savings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bc-savings-highlight {
        flex-direction: column;
        text-align: center;
    }
}
