/* FINAL, COMPLETE & GUARANTEED Filename: /public/css/quote-form-styles.css */
.adq-form-wrapper {
    background-color: #e9eef2;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    margin: 2rem auto;
    font-family: Arial, sans-serif;
}
.adq-form-header h2 {
    text-align: center;
    color: #0a2342;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
}
.adq-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #d0dbe4;
}
.adq-step {
    color: #8896a8;
    display: flex;
    align-items: center;
    font-weight: bold;
    white-space: nowrap;
}
.adq-step.active {
    color: #0a2342;
}
.adq-step span {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #d0dbe4;
    color: #fff;
    text-align: center;
    margin-right: 8px;
    flex-shrink: 0;
    font-size: 14px;
}
.adq-step.active span {
    background-color: #007bff;
}
.adq-form-step {
    display: none;
}
.adq-form-step.active {
    display: block;
}
.adq-form-field {
    margin-bottom: 20px;
}
.adq-form-field label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}
.adq-form-field input[type="text"],
.adq-form-field input[type="date"],
.adq-form-field input[type="time"],
.adq-form-field input[type="tel"],
.adq-form-field input[type="email"],
.adq-form-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d0dbe4;
    border-radius: 4px;
    box-sizing: border-box;
    color: #333333;
    background-color: #ffffff;
}
.adq-form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 10px;
}
.adq-form-buttons button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-grow: 1;
}
.adq-prev-btn {
    background-color: #6c757d;
}
.adq-prev-btn:hover {
    background-color: #5a6268;
}
.adq-next-btn,
.adq-submit-btn {
    background-color: #007bff;
}
.adq-next-btn:hover,
.adq-submit-btn:hover {
    background-color: #0056b3;
}
.adq-submit-btn[disabled] {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* --- THE FINAL RESPONSIVE FIX --- */
@media (max-width: 480px) {
    /* This rule makes the form padding smaller on mobile, which we want to keep. */
    .adq-form-wrapper {
        padding: 20px;
    }

    /*
     * THE FIX IS HERE:
     * The original problematic code that hid the inactive step text has been removed.
     * By removing it, the step text ("Collection", "Delivery", "Details") will now remain visible on mobile.
     * The other responsive styles below are kept to ensure the buttons stack correctly.
     */

    /* These rules stack the buttons vertically on small screens, which we want to keep. */
    .adq-form-buttons {
        flex-direction: column;
    }
    .adq-form-buttons button {
        width: 100%;
    }
    .adq-form-buttons .adq-submit-btn,
    .adq-form-buttons .adq-next-btn {
        margin-bottom: 10px;
    }
}