/* Quote Form Styles */
:root {
    --primary-color: #377dff;
    --secondary-color: #71869d;
    --success-color: #00c9a7;
    --background-color: #f8fafd;
    --card-bg: #ffffff;
    --text-color: #1e2022;
    --border-radius: 0.75rem;
    --transition-speed: 0.3s;
}

body {
    background-color: var(--background-color);
}

.quote-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 3rem;
    position: relative;
}

.progress-bar-bg {
    background-color: #e7eaf3;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    background-color: var(--primary-color);
    height: 100%;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

.step-indicator {
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Form Card */
.quote-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    transition: transform var(--transition-speed);
}

.quote-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.quote-header h2 {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.quote-header p {
    color: var(--secondary-color);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e7eaf3;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(55, 125, 255, 0.1);
}

/* Radio Cards (Selection Options) */
.radio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.radio-card-label {
    cursor: pointer;
    position: relative;
    flex: 0 0 200px;
    width: 200px;
}

.radio-card-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #fff;
    border: 2px solid #e7eaf3;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
    height: 100%;
    text-align: center;
}

.radio-card-input:checked+.radio-card-content {
    border-color: var(--primary-color);
    background-color: rgba(55, 125, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(55, 125, 255, 0.1);
}

.radio-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.radio-card-title {
    font-weight: 600;
    color: var(--text-color);
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

.btn-nav {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
}

.btn-prev {
    background-color: #e7eaf3;
    color: var(--text-color);
}

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

.btn-next {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-next:hover {
    background-color: #2b63cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(55, 125, 255, 0.3);
}

.btn-next:disabled {
    background-color: #a0bbf5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Hidden Steps */
.form-step {
    display: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .quote-container {
        padding: 1rem;
        margin-top: 6rem;
    }

    .quote-card {
        padding: 1.5rem;
    }

    .radio-grid {
        flex-direction: column;
    }

    .radio-card-label {
        width: 100%;
        max-width: 100%;
    }
}