/**
 * IT Cost Calculator Styles
 */

/* Wrapper */
.calculator-wrapper {
    font-family: 'Montserrat', sans-serif;
}

/* Header with step indicator */
.calculator-header {
    background-color: #3C98D4;
    padding: 30px 40px;
    text-align: center;
}

.calculator-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px !important;
    font-weight: 700;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 25px 0;
}

/* Step Progress Indicator */
.step-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.step-indicator.active .step-circle,
.step-indicator.completed .step-circle {
    border-color: #fff;
    color: #fff;
}

.step-label {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.step-indicator.active .step-label,
.step-indicator.completed .step-label {
    color: #fff;
}

.step-connector {
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    margin-bottom: 20px;
}

.step-connector.active {
    background-color: #fff;
}

/* Form Body */
.calculator-body {
    background-color: #164F6E;
    padding: 40px;
}
.calculator-interior{
    max-width: 600px;
    margin: 0 auto;
}
.calculator-step {
    display: none;
}

.calculator-step.active {
    display: block;
}

/* Labels / Questions */
.calculator-field label {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 20px;
    line-height: 1.4;
    text-transform: uppercase;
}

.required-astrek {
    color: #3C98D4;
    margin-left: 3px;
}

/* Text Inputs */
.calculator-input {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
}

.calculator-input::placeholder {
    color: #999;
}

.calculator-input:focus {
    outline: 2px solid #3C98D4;
    outline-offset: 2px;
}

/* Select Dropdowns */
.calculator-select {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.calculator-select:focus {
    outline: 2px solid #3C98D4;
    outline-offset: 2px;
}

/* Checkboxes */
.checkbox-wrapper {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkbox-wrapper li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.checkbox-wrapper li:last-child {
    margin-bottom: 0;
}

.checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    margin-right: 12px;
}

.checkbox-wrapper input[type="checkbox"]:checked {
    background-color: #3C98D4;
    border-color: #3C98D4;
}

.checkbox-wrapper input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-wrapper span {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #fff;
    line-height: 1.4;
}

/* Button Container */
.calculator-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

/* Buttons */
.next-step-button,
.prev-step-button {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.next-step-button {
    background-color: #3C98D4;
    color: #fff;
}

.next-step-button:hover {
    background-color: #2a7ab8;
}

.prev-step-button {
    background-color: #3C98D4;
    color: #fff;
}

.prev-step-button:hover {
    background-color: #2a7ab8;
}

/* Button arrows */
.next-step-button::after {
    content: '→';
    font-size: 16px;
}

.prev-step-button::before {
    content: '←';
    font-size: 16px;
}

/* Hide previous on step 1 */
.calculator-step-1 .prev-step-button {
    visibility: hidden;
}

/* Contact form grid */
.calculator-field-item-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.calculator-field-item {
    width: 100%;
}

.calculator-field-item:first-child {
    grid-column: 1 / -1;
}

/* Error messages */
.c-error {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Results step */
.above-ct,
.below-ct {
    text-transform: none;
    font-weight: 500;
    font-size: 16px;
}

#estimated_total {
    color: #3C98D4;
    font-weight: 700;
}

/* Thank you step */
.calculator-step-7 label {
    text-transform: none;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .calculator-header {
        padding: 25px 20px;
    }

    .calculator-body {
        padding: 30px 20px;
    }

    .calculator-title {
        font-size: 18px;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .step-connector {
        width: 20px;
    }

    .step-label {
        font-size: 10px;
    }

    .calculator-field label {
        font-size: 16px;
    }

    .calculator-buttons {
        flex-direction: column-reverse;
    }

    .next-step-button,
    .prev-step-button {
        width: 100%;
        justify-content: center;
    }

    .calculator-field-item-wrapper {
        grid-template-columns: 1fr;
    }
}
