/* Calculator Form Styles - ELM Living */
.calculator-form-page {
    min-height: 100vh;
    background: #f5f5f5;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: var(--font-manrope);
}

.calculator-form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.calculator-footer {
    background: var(--white-color);
    padding: 12px 0;
    margin-top: auto;
    border-top: 1px solid var(--borders-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 999;
    margin-top: 70px;
}

.calculator-header {
    background: var(--white-color);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.calculator-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

.calculator-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.calculator-logo a {
    display: block;
}

.calculator-logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
}

.calculator-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    max-width: 1000px;
    margin: 0 30px;
    min-width: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    min-width: 0;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: var(--borders-color);
    z-index: 0;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.completed::after {
    background: var(--primary-color1);
}

.progress-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--borders-color);
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    position: relative;
    z-index: 1;
    border: 2px solid var(--borders-color);
}

.progress-step.active .progress-circle {
    background: var(--primary-color1);
    color: var(--white-color);
    border-color: var(--primary-color1);
}

.progress-step.completed .progress-circle {
    background: var(--primary-color1);
    color: var(--white-color);
    border-color: var(--primary-color1);
}

.progress-step.completed .progress-circle::before {
    content: '✓';
    font-size: 16px;
}

.progress-label {
    margin-top: 8px;
    font-size: 10px;
    color: var(--text-color);
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
    word-break: break-word;
}

.progress-step.active .progress-label {
    color: var(--primary-color1);
    font-weight: 600;
}

.step-counter {
    font-size: 13px;
    color: var(--text-color);
    font-weight: 600;
    flex-shrink: 0;
    min-width: 35px;
    text-align: right;
}

.calculator-content {
    max-width: 700px;
    margin: 20px auto 90px;
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 28px;
    min-height: auto;
    position: relative;
}

.calculator-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color1) 0%, var(--primary-color2) 100%);
    border-radius: 12px 12px 0 0;
}

.calculator-step {
    display: none;
}

.calculator-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-title::before {
    content: '';
    width: 3px;
    height: 20px;
    background: var(--primary-color1);
    border-radius: 2px;
}

.step-subtitle {
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-left: 11px;
    line-height: 1.5;
}

.step-subtitle a {
    color: var(--primary-color1);
    text-decoration: none;
}

.step-subtitle a:hover {
    text-decoration: underline;
}

.bhk-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bhk-option {
    border: 2px solid var(--borders-color);
    border-radius: 10px;
    background: var(--white-color);
    margin-bottom: 0;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.bhk-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, var(--primary-color1) 0%, var(--primary-color2) 100%);
    transition: width 0.3s ease;
}

.bhk-option:hover {
    border-color: var(--primary-color1);
    box-shadow: 0 3px 12px rgba(var(--primary-color1-opc), 0.1);
    transform: translateY(-1px);
}

.bhk-option.selected {
    border-color: var(--primary-color1);
    box-shadow: 0 4px 15px rgba(var(--primary-color1-opc), 0.15);
}

.bhk-option.selected::before {
    width: 3px;
}

.bhk-option-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.bhk-option.selected .bhk-option-header {
    background: rgba(var(--primary-color1-opc), 0.02);
}

.bhk-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: var(--primary-color1);
    cursor: pointer;
    flex-shrink: 0;
}

.bhk-option label {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--title-color);
    cursor: pointer;
    margin: 0;
    letter-spacing: 0.2px;
}

.bhk-expand-icon {
    margin-left: auto;
    transition: transform 0.3s;
    color: var(--text-color);
}

.bhk-option.expanded .bhk-expand-icon {
    transform: rotate(180deg);
}

.bhk-sub-options {
    display: none;
    padding: 0 14px 14px 48px;
    gap: 10px;
}

.bhk-option.expanded .bhk-sub-options {
    display: flex;
}

.bhk-sub-option {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 2px solid var(--borders-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--white-color);
    position: relative;
    overflow: hidden;
}

.bhk-sub-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(var(--primary-color1-opc), 0.08) 0%, rgba(var(--primary-color2-opc), 0.05) 100%);
    transition: width 0.3s ease;
}

.bhk-sub-option:hover::before {
    width: 100%;
}

.bhk-sub-option.selected {
    border-color: var(--primary-color1);
    background: linear-gradient(135deg, rgba(var(--primary-color1-opc), 0.06) 0%, rgba(var(--primary-color2-opc), 0.03) 100%);
    box-shadow: 0 2px 8px rgba(var(--primary-color1-opc), 0.1);
    transform: scale(1.01);
}

.bhk-sub-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: var(--primary-color1);
    cursor: pointer;
    flex-shrink: 0;
}

.bhk-sub-option-content {
    flex: 1;
}

.bhk-sub-option-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 3px;
}

.bhk-sub-option-desc {
    font-size: 12px;
    color: var(--text-color);
    margin: 0;
}

.room-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 2px solid var(--borders-color);
    border-radius: 10px;
    background: var(--white-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.room-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(var(--primary-color1-opc), 0.05) 0%, rgba(var(--primary-color2-opc), 0.03) 100%);
    transition: width 0.3s ease;
}

.room-item:hover {
    border-color: var(--primary-color1);
    box-shadow: 0 3px 12px rgba(var(--primary-color1-opc), 0.08);
    transform: translateX(3px);
}

.room-item:hover::before {
    width: 100%;
}

.room-item:hover .room-icon {
    background: var(--primary-color1);
    color: var(--white-color);
    transform: scale(1.1);
}

.room-label-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.room-icon {
    font-size: 18px;
    color: var(--primary-color1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-color1-opc), 0.1);
    border-radius: 6px;
    flex-shrink: 0;
}

.room-item label {
    font-size: 15px;
    font-weight: 600;
    color: var(--title-color);
    margin: 0;
    cursor: default;
}

.room-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-color1);
    background: var(--white-color);
    color: var(--primary-color1);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.counter-btn i {
    font-size: 16px;
    line-height: 1;
}

.counter-btn:hover {
    background: var(--primary-color1);
    color: var(--white-color);
    transform: scale(1.1);
}

.counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.counter-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--title-color);
    min-width: 30px;
    text-align: center;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.package-card {
    border: 2px solid var(--borders-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--white-color);
    position: relative;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(90deg, var(--primary-color1) 0%, var(--primary-color2) 100%);
    transition: height 0.3s ease;
    z-index: 1;
}

.package-card:hover {
    border-color: var(--primary-color1);
    box-shadow: 0 6px 20px rgba(var(--primary-color1-opc), 0.15);
    transform: translateY(-3px);
}

.package-card:hover::before {
    height: 3px;
}

.package-card.selected {
    border-color: var(--primary-color1);
    box-shadow: 0 6px 25px rgba(var(--primary-color1-opc), 0.25);
    transform: translateY(-2px);
}

.package-card.selected::before {
    height: 3px;
}

.package-card input[type="radio"] {
    margin: 12px 12px 6px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color1);
    position: relative;
    z-index: 2;
}

.package-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--title-color);
    margin: 0 12px 6px;
    position: relative;
    z-index: 2;
}

.package-price {
    font-size: 11px;
    color: var(--text-color);
    margin: 0 12px 8px;
    position: relative;
    z-index: 2;
}

.package-description {
    font-size: 12px;
    color: var(--text-color);
    margin: 0 12px 12px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.package-image {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.package-features {
    padding: 12px;
    list-style: none;
    margin: 0;
    position: relative;
    z-index: 2;
}

.package-features li {
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-features li::before {
    content: '✓';
    color: var(--primary-color3);
    font-weight: 700;
    font-size: 14px;
}

.quote-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 4px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid var(--borders-color);
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.3s;
    font-family: var(--font-manrope);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color1);
}

.phone-input-wrapper {
    position: relative;
}

.phone-input-wrapper .country-code {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-color);
}

.phone-input-wrapper .country-code img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.phone-input-wrapper input {
    padding-left: 65px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color1);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 12px;
    color: var(--text-color);
    cursor: pointer;
    margin: 0;
}

.legal-text {
    font-size: 10px;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.legal-text a {
    color: var(--primary-color1);
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

.navigation-buttons {
    display: none;
    justify-content: space-between;
    margin-top: 0;
    padding: 0;
    border-top: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white-color);
    padding: 14px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navigation-buttons.active {
    display: flex;
}

.navigation-buttons .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-back {
    background: transparent;
    color: var(--primary-color1);
    border: 2px solid var(--primary-color1);
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-manrope);
}

.btn-back::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color1);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.btn-back:hover {
    background: var(--primary-color1);
    color: var(--white-color);
    box-shadow: 0 3px 12px rgba(var(--primary-color1-opc), 0.3);
    transform: translateY(-1px);
}

.btn-back:hover::before {
    width: 300px;
    height: 300px;
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, var(--primary-color1) 0%, var(--primary-color2) 100%);
    color: var(--white-color);
    border: none;
    padding: 10px 32px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 12px rgba(var(--primary-color1-opc), 0.3);
    position: relative;
    overflow: hidden;
    font-family: var(--font-manrope);
}

.btn-next::after,
.btn-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-next:hover,
.btn-submit:hover {
    box-shadow: 0 5px 18px rgba(var(--primary-color1-opc), 0.4);
    transform: translateY(-1px);
}

.btn-next:hover::after,
.btn-submit:hover::after {
    width: 300px;
    height: 300px;
}

.btn-next:disabled,
.btn-submit:disabled {
    background: var(--borders-color);
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .calculator-content {
        padding: 20px 15px;
        margin: 15px auto 80px;
        max-width: 100%;
    }
    
    .calculator-progress-bar {
        gap: 6px;
        margin: 0 10px;
        max-width: 100%;
    }
    
    .progress-label {
        font-size: 9px;
        line-height: 1.1;
    }
    
    .progress-circle {
        width: 30px;
        height: 30px;
        font-size: 11px;
        font-size: 11px;
    }
    
    .package-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .step-counter {
        display: none;
    }
    
    .calculator-header-inner {
        padding: 0 15px;
    }
    
    .calculator-logo img {
        height: 35px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .bhk-option-header {
        padding: 12px;
    }
    
    .room-item {
        padding: 12px;
    }
    
    .navigation-buttons .container {
        padding: 0 15px;
    }
    
    .btn-back,
    .btn-next,
    .btn-submit {
        padding: 9px 20px;
        font-size: 12px;
    }
}

