/* ==============================
   BRAND COLOR VARIABLES
================================= */
:root {
    --primary: #172C4F;
    --secondary: #0b0e12;
    --text-color: #7A7A7A;
    --accent: #61CE70;
    --danger: #C02929;
    --highlight: #FFD867;
}

/* ==============================
   BACKGROUND
================================= */
.pbe-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f4fbff 100%);
    padding: 80px 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: fit-content!important;
}

/* Container */
.pbe-container {
    max-width: 1200px;
    margin: auto;
}

/* ==============================
   HEADER
================================= */
.pbe-header {
    text-align: center;
    margin-bottom: 60px;
}

.pbe-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.pbe-header p {
    font-size: 18px;
    color: var(--text-color);
}

/* ==============================
   GRID
================================= */
.pbe-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: stretch;
}

/* ==============================
   CARD STYLE
================================= */
.pbe-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.pbe-card:hover {
    transform: translateY(-3px);
}

/* ==============================
   FORM FIELDS
================================= */
.pbe-field {
    margin-bottom: 25px;
}

.pbe-field label {
    font-weight: 600;
    color: var(--secondary);
    display: block;
    margin-bottom: 8px;
}

/* Inputs */
.pbe-field input,
.pbe-field select {
    width: stretch;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 15px;
    transition: 0.3s ease;
	background:#fff;
}

.pbe-field input:focus,
.pbe-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(110,193,228,0.2);
    outline: none;
}

/* ==============================
   ROW
================================= */
.pbe-row {
/*     display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; */
}

/* ==============================
   SLIDER
================================= */
.pbe-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pbe-slider-wrapper input[type="range"] {
    flex: 1;
    accent-color: var(--primary);
}

#occupancyValue {
    font-weight: 600;
    color: var(--primary);
}

/* ==============================
   RIGHT PANEL
================================= */
.pbe-result {
    background: var(--secondary);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 20px;
}

.pbe-result-top {
    text-align: center;
    margin-bottom: 20px;
}

.pbe-result h3 {
    color: #fff;
    font-size: 27px;
    font-weight: 700;
}

.pbe-result p {
	font-size:16px;
    opacity: 0.85;
}

/* ==============================
   BUTTON STYLE
================================= */
.pbe-quote-btn {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: var(--highlight);
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pbe-quote-btn:hover {
    background: var(--secondary);
    color: var(--highlight);
	border: 1px solid var(--highlight);
    transform: translateY(-2px);
}

/* Validation */
.pbe-error-text {
    color: #C02929;
    font-size: 13px;
    margin-top: 5px;
}

.pbe-invalid {
    border-color: #C02929 !important;
    box-shadow: 0 0 0 3px rgba(192,41,41,0.15);
}

.pbe-valid {
    border-color: #61CE70 !important;
}

/* ==============================
   MESSAGE STYLES
================================= */
#quoteMessage p {
    margin-top: 15px;
    font-weight: 600;
}

#quoteMessage .success {
    font-weight: 500;
    color: var(--accent);
}

#quoteMessage .error {
    color: var(--danger);
}

/* ==============================
   RESPONSIVE
================================= */
@media (max-width: 992px) {
    .pbe-grid {
        grid-template-columns: 1fr;
    }

    .pbe-card {
        padding: 30px;
    }
        /* Inputs */
    .pbe-field input,
    .pbe-field select {
        width: stretch;
    }
}

@media (max-width: 600px) {
    .pbe-header h1 {
        font-size: 28px;
    }

    .pbe-row {
        grid-template-columns: 1fr;
    }

    /* Inputs */
    .pbe-field input,
    .pbe-field select {
        width: stretch;
    }
}