.bp-solarform-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px;
}

.bp-solarform-field {
    margin-bottom: 20px;
}

.bp-solarform-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.bp-solarform-field label .required {
    color: #e53e3e;
}

.bp-solarform-field input[type="text"],
.bp-solarform-field input[type="tel"],
.bp-solarform-field input[type="number"],
.bp-solarform-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.bp-solarform-field textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.5;
}

.bp-solarform-field input:focus,
.bp-solarform-field textarea:focus {
    outline: none;
    border-color: #153d65;
    box-shadow: 0 0 0 3px rgba(21, 61, 101, 0.15);
}

.bp-solarform-field input.error {
    border-color: #e53e3e;
}

/* Field description */
.bp-solarform-field-desc {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #888;
}

/* Bill input box */
.bp-solarform-bill-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.bp-solarform-bill-box:focus-within {
    border-color: #153d65;
    box-shadow: 0 0 0 3px rgba(21, 61, 101, 0.12);
}

.bp-solarform-bill-input {
    flex: 1;
    border: none !important;
    outline: none;
    padding: 0 !important;
    font-size: 36px !important;
    font-weight: 700;
    color: #153d65;
    background: transparent;
    line-height: 1;
    box-shadow: none !important;
    min-width: 0;
    width: auto !important;
}

.bp-solarform-bill-input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.bp-solarform-bill-unit {
    font-size: 15px;
    color: #888;
    white-space: nowrap;
    font-weight: 500;
}

/* Bill slider */
.bp-solarform-bill-slider-wrap {
    padding: 0 4px;
}

.bp-solarform-bill-slider-wrap input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #dbe3ee;
    border-radius: 4px;
    outline: none;
    margin-bottom: 10px;
    accent-color: #153d65;
}

.bp-solarform-bill-slider-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #153d65;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.bp-solarform-bill-slider-wrap input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #153d65;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.bp-solarform-bill-ticks {
    position: relative;
    height: 20px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 4px;
}

.bp-solarform-bill-ticks span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* Phase buttons */
.bp-solarform-phase-group {
    display: flex;
    gap: 16px;
}

.bp-solarform-phase-option {
    flex: 1;
    margin: 0;
    cursor: pointer;
    display: block;
    position: relative;
}

.bp-solarform-phase-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.bp-solarform-phase-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 72px;
    padding: 22px 20px;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: #1f2a44;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    transition: all 0.15s ease;
    box-sizing: border-box;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.bp-solarform-phase-option:hover .bp-solarform-phase-btn {
    border-color: #153d65;
    color: #153d65;
}

.bp-solarform-phase-option input[type="radio"]:checked + .bp-solarform-phase-btn {
    background: #153d65;
    color: #fff;
    border-color: #153d65;
    box-shadow: 0 4px 12px rgba(21, 61, 101, 0.3);
}

.bp-solarform-phase-option input[type="radio"]:focus-visible + .bp-solarform-phase-btn {
    outline: 3px solid rgba(21, 61, 101, 0.25);
    outline-offset: 2px;
}

/* Usage slider (day:night) */
.bp-solarform-usage-slider-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 4px;
    margin-bottom: 14px;
}

.bp-solarform-usage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    flex-shrink: 0;
}

.bp-solarform-usage-slider-wrap input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #dbe3ee;
    border-radius: 4px;
    outline: none;
    accent-color: #153d65;
}

.bp-solarform-usage-slider-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #153d65;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.bp-solarform-usage-slider-wrap input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #153d65;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.bp-solarform-usage-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #6b7280;
}

.bp-solarform-usage-label {
    font-size: 14px;
    color: #6b7280;
}

.bp-solarform-usage-value {
    font-size: 24px;
    font-weight: 700;
    color: #153d65;
    min-width: 58px;
    text-align: center;
}

.bp-solarform-usage-colon {
    font-size: 22px;
    font-weight: 700;
    color: #153d65;
}

.bp-solarform-usage-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bp-solarform-usage-preset {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #1f2a44;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.bp-solarform-usage-preset:hover {
    border-color: #153d65;
    color: #153d65;
}

.bp-solarform-usage-preset.is-active {
    background: #153d65;
    color: #fff;
    border-color: #153d65;
    box-shadow: 0 2px 6px rgba(21, 61, 101, 0.25);
}

.bp-solarform-btn {
    width: 100%;
    padding: 12px;
    background: #153d65;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.bp-solarform-btn:hover {
    background: #0f2d4a;
}

.bp-solarform-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.bp-solarform-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.bp-solarform-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.bp-solarform-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
