.bonus-calculator-wrapper {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 140px;
    overflow: hidden;
}

/* Background Overlay */
.bonus-calculator-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

/* Layout Container */
.bonus-calculator-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
    justify-content: space-between;
    min-height: 500px;
    max-width: 1001px;
    width: 100%;
}

/* Left Content Area */
.bonus-content-left {
    flex-basis: 50%;
}

/* Main Heading */
.bonus-main-heading {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: white;
}

/* Description Text */
.bonus-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Right Content Area */
.bonus-calculator-right {
    flex-basis: 50%;
}

/* Calculator Widget */
.bonus-calculator-widget {
    background: white;
    padding: 40px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Calculator Title */
.bonus-calculator-heading {
    font-size: 21px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 30px 0;
    color: #333;
    margin: 20px 0 40px 0;
}

/* Form Input Groups */
.bonus-input-group.floating-label {
    margin-bottom: 30px;
    position: relative;
}

/* Input Fields */
.bonus-input-group.floating-label input {
    width: 100%;
    padding: 24px 12px 10px;
    border-radius: 4px 4px 0 0;
    font-size: 16px;
    background-color: #e8e8e8;
    transition: border-color 0.3s ease;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.87);
    color: #333333;
}

/* Placeholder Handling */
.bonus-input-group.floating-label input:focus::placeholder,
.bonus-input-group.floating-label input:focus::-webkit-input-placeholder,
.bonus-input-group.floating-label input:focus::-moz-placeholder,
.bonus-input-group.floating-label input:focus:-ms-input-placeholder {
    opacity: 1;
}

/* Input Labels */
.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;
}

/* Input Focus States */
.bonus-input-group.floating-label input:focus,
.bonus-input-group.floating-label input:focus-visible,
.bonus-input-group.floating-label input:not(:placeholder-shown) {
    outline: none;
    border: none;
    border-bottom: 2px solid #3f51b5;
}

/* Label Animation */
.bonus-input-group.floating-label input:focus+label,
.bonus-input-group.floating-label input:not(:placeholder-shown)+label {
    top: 40%;
    transform: translateY(-100%) scale(0.8);
    color: #4a6fa5;
    left: 0;
    border: none;
}

.bonus-input-group.floating-label input:-webkit-autofill+label {
    top: 15%;
    transform: translateY(-100%) scale(0.8);
    color: #4a6fa5;
}

/* Results Display */
.bonus-result {
    text-align: center;
    margin-bottom: 30px;
}

/* Equals Sign */
.bonus-equals {
    font-weight: 600;
    margin-right: 5px;
    font-size: 35px;
    color: rgb(4, 4, 76);
}

/* Amount Text */
.bonus-amount {
    font-size: 35px;
    font-weight: 600;
}

/* Result Label */
.bonus-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* CTA Button */
.bonus-signup-btn, .bonus-signup-btn:hover {
    padding: 8px 22px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* CTA Button Focus*/
.bonus-signup-btn:focus {
    box-shadow: 0 0 0 4px #000;
    outline: 2px solid #f9f9f9;
    outline-offset: 0;
}

/* Responsive Design */
@media screen and (max-width:959.95px) {
    .bonus-calculator-wrapper{
        padding: 50px 25px;
    }
    .bonus-calculator-container{
        flex-direction: column;
    }
    .bonus-content-left,.bonus-calculator-right{
        flex-basis: 100%;
        width: 100%;
    }
}