.inbeh-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inbeh-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.inbeh-modal-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.inbeh-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    z-index: 2;
}

.inbeh-modal-close:hover {
    color: #333;
}

.inbeh-modal-content {
    padding: 40px;
}

.inbeh-assessment-container {
    max-width: 100%;
}

.inbeh-progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.inbeh-progress-fill {
    height: 100%;
    background: var(--inbeh-primary-color, #0066cc);
    transition: width 0.3s ease;
}

.inbeh-step {
    animation: fadeIn 0.3s ease;
}

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

.inbeh-step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.3;
}

.inbeh-form-field {
    margin-bottom: 25px;
}

.inbeh-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.inbeh-input:focus {
    outline: none;
    border-color: var(--inbeh-primary-color, #0066cc);
}

.inbeh-question-container {
    margin-bottom: 25px;
}

.inbeh-answer-option {
    display: inline-block;
    padding: 12px 24px;
    margin: 8px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.inbeh-answer-option:hover {
    border-color: var(--inbeh-primary-color, #0066cc);
    background: rgba(0, 102, 204, 0.05);
}

.inbeh-answer-option.selected {
    background: var(--inbeh-primary-color, #0066cc);
    color: #fff;
    border-color: var(--inbeh-primary-color, #0066cc);
}

.inbeh-radio-label {
    display: block;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inbeh-radio-label:hover {
    border-color: var(--inbeh-primary-color, #0066cc);
    background: rgba(0, 102, 204, 0.05);
}

.inbeh-radio-label input[type="radio"] {
    margin-right: 10px;
}

.inbeh-radio-label input[type="radio"]:checked + span {
    font-weight: 600;
}

.inbeh-btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px 0 0;
}

.inbeh-btn-primary {
    background: var(--inbeh-primary-color, #0066cc);
    color: #fff;
}

.inbeh-btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.inbeh-btn-secondary {
    background: #6c757d;
    color: #fff;
}

.inbeh-btn-secondary:hover {
    background: #545b62;
}

.inbeh-cta-button {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    background: var(--inbeh-primary-color, #0066cc);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inbeh-cta-button:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.inbeh-loading {
    text-align: center;
    padding: 40px;
}

.inbeh-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--inbeh-primary-color, #0066cc);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.inbeh-success-message {
    text-align: center;
    padding: 40px 20px;
}

.inbeh-success-message h2 {
    color: #28a745;
    font-size: 28px;
    margin-bottom: 20px;
}

.inbeh-gender-options,
.inbeh-age-options,
.inbeh-month-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (max-width: 768px) {
    .inbeh-modal-content {
        padding: 30px 20px;
    }

    .inbeh-step-title {
        font-size: 20px;
    }

    .inbeh-btn {
        width: 100%;
        margin: 10px 0 0;
    }
}
