* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.website-form-wrapper {
    width: 100%;
}

.website-form-wrapper .form-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    padding: 40px;
    margin: 0;
    position: relative;
    min-height: 500px;
    border: 1px solid #f0f0f0;
    box-sizing: border-box;
}


.website-form-wrapper .progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 40px;
    overflow: hidden;
}

.website-form-wrapper .progress {
    height: 100%;
    background: #131628;
    border-radius: 8px;
    transition: width 0.4s ease;
    width: 0%;
}

.website-form-wrapper .multi-step-form {
    position: relative;
    min-height: 450px;
    width: 100%;
}

/* Sikrer kun et spørgsmål vises ad gangen */
.website-form-wrapper .step {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    position: relative;
}

.website-form-wrapper .step.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

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

.website-form-wrapper .step h2 {
    color: #1a1a1a;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.website-form-wrapper .step-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.website-form-wrapper .options-container {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.website-form-wrapper .option-card {
    display: block;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    background: white;
}

.website-form-wrapper .option-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    background: #fafbff;
}

.website-form-wrapper .option-card input[type="radio"] {
    display: none;
}

.website-form-wrapper .option-card input[type="radio"]:checked + .card-content {
    color: #667eea;
}

.website-form-wrapper .option-card:has(input[type="radio"]:checked) {
    border-color: #667eea;
    background: #f0f4ff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.website-form-wrapper .card-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.website-form-wrapper .option-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.website-form-wrapper .option-card:has(input[type="radio"]:checked) .option-title {
    color: #667eea;
}

.website-form-wrapper .option-description {
    font-size: 14px;
    color: #666;
}

.website-form-wrapper .form-group {
    margin-bottom: 20px;
}

.website-form-wrapper .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.website-form-wrapper .form-group input,
.website-form-wrapper .form-group textarea {
    width: 100%;
    padding: 8px 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-style: solid !important;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    box-sizing: border-box;
    outline: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.website-form-wrapper .form-group input:focus,
.website-form-wrapper .form-group textarea:focus,
.website-form-wrapper .form-group input:active,
.website-form-wrapper .form-group textarea:active {
    outline: none !important;
    border: 2px solid #1356E3 !important;
    border-style: solid !important;
    box-shadow: 0 0 0 3px rgba(19, 86, 227, 0.1);
}

.website-form-wrapper .form-group input:focus-visible,
.website-form-wrapper .form-group textarea:focus-visible {
    outline: none !important;
}

.website-form-wrapper .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.website-form-wrapper .form-group input::placeholder,
.website-form-wrapper .form-group textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* Accessibility - Only show outline for keyboard navigation */
.website-form-wrapper .form-group input:focus-visible,
.website-form-wrapper .form-group textarea:focus-visible {
    outline: 2px solid #1356E3;
    outline-offset: 2px;
}

.website-form-wrapper .submit-btn {
    padding: 12px 30px;
    background: #1356E3;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    max-width: 200px;
    width: auto;
    flex: 0 0 auto;
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.website-form-wrapper .submit-btn:hover {
    background: #0f45b8;
    border-radius: 8px;
    padding: 12px 30px;
    height: 48px;
}

.website-form-wrapper .submit-btn:active {
    background: #0f45b8;
    border-radius: 8px;
    color: white;
    padding: 12px 30px;
    height: 48px;
}

.website-form-wrapper .submit-btn:focus {
    background: #0f45b8;
    border-radius: 8px;
    outline: none;
    color: white;
    padding: 12px 30px;
    height: 48px;
}

.website-form-wrapper .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    border-radius: 8px;
    background: #1356E3;
}

/* Step navigation buttons */
.website-form-wrapper .step-navigation {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    min-height: 68px;
    height: 68px;
}

.website-form-wrapper .step-navigation > div:empty {
    max-width: 200px;
}

.website-form-wrapper .btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
    max-width: 200px;
    width: auto;
    flex: 0 0 auto;
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.website-form-wrapper .btn-back {
    background: #f5f5f5;
    color: #333;
    border-radius: 8px;
}

.website-form-wrapper .btn-back:hover {
    background: #e8e8e8;
    border-radius: 8px;
    padding: 12px 30px;
    height: 48px;
}

.website-form-wrapper .btn-back:focus {
    background: #e8e8e8;
    border-radius: 8px;
    outline: none;
    padding: 12px 30px;
    height: 48px;
}

.website-form-wrapper .btn-back:active {
    background: #e0e0e0;
    border-radius: 8px;
    color: #333;
    padding: 12px 30px;
    height: 48px;
}

.website-form-wrapper .btn-next {
    background: #1356E3;
    color: white !important;
    border-radius: 8px;
    margin-left: auto;
}

.website-form-wrapper .btn-next:hover {
    background: #0f45b8;
    color: white !important;
    border-radius: 8px;
    padding: 12px 30px;
    height: 48px;
}

.website-form-wrapper .btn-next:focus {
    background: #0f45b8;
    color: white !important;
    border-radius: 8px;
    outline: none;
    padding: 12px 30px;
    height: 48px;
}

.website-form-wrapper .btn-next:active {
    background: #0f45b8;
    border-radius: 8px;
    color: white !important;
    padding: 12px 30px;
    height: 48px;
}

.website-form-wrapper .success-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    cursor: pointer;
}

.website-form-wrapper .success-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    cursor: default;
    position: relative;
}

.website-form-wrapper .success-content h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 28px;
}

.website-form-wrapper .success-content p {
    color: #666;
    font-size: 18px;
}

/* Error message styling */
.website-form-wrapper .error-message {
    background: #ff4444;
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .website-form-wrapper .form-container {
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
    }

    .website-form-wrapper .step h2 {
        font-size: 24px;
    }

    .website-form-wrapper .option-card {
        padding: 15px;
    }

    .website-form-wrapper .option-title {
        font-size: 16px;
    }
}
/* Master form title */
.form-container .master-step .master-form-title {
    padding-bottom: 20px;
}

@media (max-width: 480px) {
    .website-form-wrapper .form-group input,
    .website-form-wrapper .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Master form container - fylder hele bredden */
.master-form-container {
    width: 100%;
    max-width: 100%;
}

.master-form-container .website-form-wrapper {
    width: 100%;
    max-width: 100%;
}

.master-form-container .form-container {
    width: 100%;
    max-width: 100%;
}


/* Master form title */
.form-container .master-step .master-form-title {
    font-size: 28px;
}


