/* AGB Form Wizard Frontend CSS
 * Premium Aesthetics
 */

.agb-form-wizard-wrapper {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #1e293b;
    border: 1px solid #f1f5f9;
}

.agb-wizard-loading {
    padding: 60px;
    text-align: center;
    color: #64748b;
    font-weight: 500;
}

.agb-wizard-step {
    padding: 40px;
}

.agb-fade-in {
    animation: agbFadeIn 0.4s ease-out;
}

@keyframes agbFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.agb-question-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 24px;
    color: #0f172a;
    line-height: 1.3;
}

.agb-question-input {
    margin-bottom: 32px;
}

/* Text, Textarea & Select Inputs */
.agb-text-input,
.agb-textarea-input,
.agb-select-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #f8fafc;
    color: #334155;
    box-sizing: border-box;
}

.agb-textarea-input {
    resize: vertical;
}

.agb-text-input:focus,
.agb-textarea-input:focus,
.agb-select-input:focus {
    border-color: #3b82f6;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Radio & Checkbox Cards */
.agb-radio-label,
.agb-checkbox-label {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    font-size: 1.05rem;
    font-weight: 500;
}

.agb-radio-label:hover,
.agb-checkbox-label:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.agb-radio-label.selected,
.agb-checkbox-label.selected {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
}

.agb-radio-label input,
.agb-checkbox-label input {
    margin-right: 12px;
    transform: scale(1.2);
    cursor: pointer;
}

/* Actions */
.agb-wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
    margin-top: 24px;
}

.agb-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.agb-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.4);
}

.agb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.5);
}

.agb-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.agb-btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Success Screen */
.agb-submit-screen,
.agb-submit-success {
    text-align: center;
}

.agb-success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 16px;
    animation: agbPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes agbPopIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.agb-submit-success h3 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #0f172a;
}