.dvl-wrapper {
    max-width: 700px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Progress Bar */
.dvl-progress {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 0;
    overflow: hidden;
}

.dvl-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1565C0, #42A5F5);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 3px;
}

/* Vehicle Header */
.dvl-vehicle-header {
    background: #1565C0;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.dvl-vh-icon {
    font-size: 1.8rem;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dvl-vh-info {
    display: flex;
    flex-direction: column;
}

.dvl-vh-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dvl-vh-value {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.dvl-vh-reg {
    margin-left: auto;
    background: #FFD600;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border: 2px solid #000;
    letter-spacing: 1px;
}

/* Steps */
.dvl-step {
    display: none;
    padding: 2rem 2rem;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

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

#dvl-step-1 {
    border-top: 1px solid #e8e8e8;
    border-radius: 0 0 12px 12px;
}

.dvl-step-title {
    color: #1a1a2e;
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
}

.dvl-step-subtitle {
    color: #666;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}

/* Form Fields */
.dvl-fields {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.dvl-fields .dvl-field {
    flex: 1;
    min-width: 150px;
}

.dvl-fields-2col .dvl-field {
    flex: 1 1 45%;
}

.dvl-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}

.dvl-req {
    color: #e53935;
}

.dvl-field input,
.dvl-field select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.dvl-field input:focus,
.dvl-field select:focus {
    border-color: #1565C0;
    outline: none;
}

/* Reg input */
.dvl-reg-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.dvl-reg-input:focus {
    border-color: #1565C0;
    outline: none;
}

.dvl-reg-input::placeholder {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: none;
    color: #999;
    letter-spacing: 0;
}

/* Options (radio list) */
.dvl-options {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
}

.dvl-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.dvl-option:hover {
    background: #f5f9ff;
}

.dvl-option:last-child {
    border-bottom: none;
}

.dvl-option input[type="radio"] {
    display: none;
}

.dvl-option input[type="radio"]:checked + .dvl-option-text {
    font-weight: 600;
    color: #1565C0;
}

.dvl-option input[type="radio"]:checked ~ .dvl-option-check {
    opacity: 1;
    color: #4CAF50;
}

.dvl-option-text {
    font-size: 1rem;
    color: #333;
    flex: 1;
}

.dvl-option-check {
    opacity: 0;
    font-size: 1.3rem;
    font-weight: 700;
    transition: opacity 0.2s;
    background: #e8f5e9;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.dvl-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, opacity 0.2s;
}

.dvl-btn-primary {
    background: #1565C0;
    color: #fff;
}

.dvl-btn-primary:hover {
    background: #0D47A1;
}

.dvl-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dvl-btn-back {
    background: transparent;
    color: #333;
    font-weight: 600;
    padding: 0.8rem 1rem;
}

.dvl-btn-back:hover {
    color: #1565C0;
}

.dvl-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* Spinner */
.dvl-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dvl-spin 0.6s linear infinite;
}

@keyframes dvl-spin {
    to { transform: rotate(360deg); }
}

/* Error */
.dvl-error {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Success */
.dvl-success {
    text-align: center;
    padding: 2rem 0;
}

.dvl-success-icon {
    width: 64px;
    height: 64px;
    background: #4CAF50;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.dvl-success-note {
    color: #888;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 600px) {
    .dvl-step {
        padding: 1.5rem 1.2rem;
    }
    .dvl-fields {
        flex-direction: column;
    }
    .dvl-fields-2col .dvl-field {
        flex: 1 1 100%;
    }
    .dvl-vehicle-header {
        gap: 0.8rem;
        padding: 0.8rem 1rem;
    }
    .dvl-vh-reg {
        margin-left: 0;
    }
}
