.bonus-calculator-wrapper {
    min-height: 500px;
    background: linear-gradient(135deg, #4a6fa5 0%, #166ba0 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px 20px;
    overflow: hidden;
}

.bonus-calculator-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.3;
    pointer-events: none;
}

.bonus-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.bonus-content-left {
    flex: 1;
    color: white;
}

.bonus-main-heading {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: white;
}

.bonus-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.bonus-calculator-right {
    flex: 0 0 400px;
}

.bonus-calculator-widget {
    background: white;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bonus-calculator-heading {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 30px 0;
    color: #333;
}

.bonus-input-group.floating-label {
    margin-bottom: 30px;
    position: relative;
}

.bonus-input-group.floating-label input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    background-color: #f5f5f5;
    transition: border-color 0.3s ease;
}

.bonus-input-group.floating-label label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    background: transparent;
    transition: all 0.2s ease;
    pointer-events: none;
    font-size: 16px;
    color: #757575;
    margin: 0;
    padding: 0;
}

.bonus-input-group.floating-label input:focus,
.bonus-input-group.floating-label input:not(:placeholder-shown) {
    border-color: '#4a6fa5';
}

.bonus-input-group.floating-label input:focus+label,
.bonus-input-group.floating-label input:not(:placeholder-shown)+label {
    top: 25%;
    transform: translateY(-100%) scale(0.8);
    color: '#4a6fa5';
}

/* Add support for autofill */
.bonus-input-group.floating-label input:-webkit-autofill+label {
    top: 25%;
    transform: translateY(-100%) scale(0.8);
    color: '#4a6fa5';
}

.bonus-result {
    text-align: center;
    margin-bottom: 30px;
}

.bonus-equals {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

.bonus-amount {
    font-size: 36px;
    font-weight: bold;
    color: #4a6fa5;
}

.bonus-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.bonus-signup-btn {
    width: 100%;
    padding: 15px 30px;
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.bonus-signup-btn:hover {
    background-color: #3a5a95;
}
.bonus-calculator-wrapper {
            position: relative;
            overflow: hidden;
        }
        .bonus-calculator-wrapper::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
            transition: all 0.3s ease;
        }
        .bonus-calculator-container {
            position: relative;
            z-index: 2;
        }
/* Responsive Design */
@media (max-width: 768px) {
    .bonus-calculator-container {
        flex-direction: column;
        gap: 40px;
    }

    .bonus-calculator-right {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

    .bonus-main-heading {
        font-size: 36px;
        text-align: center;
    }

    .bonus-description {
        text-align: center;
    }

    .bonus-calculator-wrapper {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .bonus-calculator-widget {
        padding: 30px 20px;
    }

    .bonus-main-heading {
        font-size: 28px;
    }

    .bonus-calculator-heading {
        font-size: 20px;
    }
}


.bonus-amount.bonus-updated {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.bonus-amount {
    transition: transform 0.3s ease, color 0.3s ease;
}

.bonus-amount.bonus-zero {
    color: #999;
}

.bonus-amount.bonus-low {
    color: #4a6fa5;
}

.bonus-amount.bonus-medium {
    color: #2e8b57;
}

.bonus-amount.bonus-high {
    color: #228b22;
    font-weight: bold;
}

.bonus-price-input:focus {
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.bonus-calculator-widget {
    transition: box-shadow 0.3s ease;
}

.bonus-calculator-widget:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}