/* Form styles */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
    background-color: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: #00BFFF;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.form-input.border-red-500 {
    border-color: #ef4444;
}

.form-input.border-red-500:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* FAQ styles */
.faq-content {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

/* Product card styles */
.product-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 16rem;
    background-color: #f9fafb;
    padding: 1rem;
}

.product-image-container img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
}

/* Multi-step form styles */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0 1rem;
    position: relative;
}

.stepper-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #e0e0e0;
    z-index: 0;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    z-index: 1;
}

.stepper-item::before,
.stepper-item::after {
    display: none;
}

.step-counter {
    background-color: white;
    color: #6b7280;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    border: 3px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stepper-item.completed .step-counter {
    background-color: #00BFFF;
    color: white;
    border-color: #00BFFF;
}

.step-name {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stepper-item.completed .step-name {
    color: #0A2F50;
    font-weight: 600;
}

/* Progress bar that replaces the lines */
.stepper-progress {
    position: absolute;
    top: 20px;
    left: 0;
    height: 3px;
    background-color: #00BFFF;
    z-index: 1;
    transition: width 0.4s ease;
}

.form-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Form buttons */
.btn-next, .btn-prev, .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-next {
    background-color: #00BFFF;
    color: white;
}

.btn-next:hover {
    background-color: #0099cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-prev {
    background-color: #e5e7eb;
    color: #4b5563;
}

.btn-prev:hover {
    background-color: #d1d5db;
}

.btn-submit {
    background-color: #7ED957;
    color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
}

.btn-submit:hover {
    background-color: #6bc248;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form progress bar */
.form-progress {
    margin-top: 2rem;
}

.progress-bar {
    height: 0.5rem;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #00BFFF;
    border-radius: 9999px;
    transition: width 0.4s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.step-label {
    font-size: 0.875rem;
    color: #6b7280;
    transition: all 0.3s ease;
}

.step-label.active {
    color: #0A2F50;
    font-weight: 600;
}

/* Form container */
#water-quote-form {
    margin-bottom: 2rem;
}

/* Form inputs */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2.5rem;
}

textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

input[type="checkbox"] {
    border-radius: 0.25rem;
    border-color: #d1d5db;
}

input[type="checkbox"]:checked {
    background-color: #00BFFF;
    border-color: #00BFFF;
}

/* Form status message */
#form-status {
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

#form-status.text-green-600 {
    background-color: rgba(16, 185, 129, 0.1);
}

#form-status.text-red-600 {
    background-color: rgba(239, 68, 68, 0.1);
}