.sb-rechner-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 500px;
    margin: 0 auto;
    color: #ffffff;
}

.sb-rechner-card {
    background-color: #84533c;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.sb-rechner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.sb-rechner-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sb-header-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.sb-header-titles {
    display: flex;
    flex-direction: column;
}

.sb-main-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.sb-sub-title {
    font-size: 13px;
    opacity: 0.8;
}

.sb-rechner-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sb-total-sign {
    font-size: 32px;
    font-weight: 700;
}

.sb-total-val {
    font-size: 32px;
    font-weight: 700;
}

.sb-total-currency {
    font-size: 20px;
    margin-left: 2px;
}

.sb-toggle-chevron {
    display: inline-block;
}

/* Custom expand/collapsed state icons styling */
.sb-toggle-chevron .sb-icon-expanded {
    display: inline-block;
}
.sb-toggle-chevron .sb-icon-collapsed {
    display: none;
}

.sb-rechner-card.sb-collapsed .sb-icon-expanded {
    display: none;
}
.sb-rechner-card.sb-collapsed .sb-icon-collapsed {
    display: inline-block;
}

.sb-toggle-chevron i,
.sb-toggle-chevron svg {
    width: 1.2em;
    height: 1.2em;
    font-size: 1.2em;
    fill: currentColor;
    color: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.sb-rechner-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 16px 0;
}

.sb-rechner-formulas {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

.sb-formula-item {
    margin-bottom: 6px;
}

.sb-formula-item:last-child {
    margin-bottom: 0;
}

/* Devices Titles */
.sb-devices-title {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Devices list options */
.sb-devices-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.sb-device-row {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.sb-device-row:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.sb-device-row.sb-row-active {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6; /* Accent selection color */
    box-shadow: 0 0 0 1px #3b82f6;
}

/* Custom checkbox elements */
.sb-device-checkbox-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 14px;
}

.sb-device-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.sb-custom-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.sb-device-checkbox:checked ~ .sb-custom-checkbox {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.sb-custom-checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

.sb-device-checkbox:checked ~ .sb-custom-checkbox:after {
    display: block;
}

.sb-custom-checkbox:after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sb-device-label {
    flex-grow: 1;
    font-size: 16px;
    font-weight: 600;
}

.sb-device-rate {
    font-size: 16px;
    font-weight: 700;
    color: #f59e0b; /* Yellow/Gold bonus accent rate */
}

.sb-device-rate small {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer style */
.sb-rechner-footer {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}
