/* Bewerberfunnel Styles */
.bf-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bf-modal.bf-active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.bf-modal-content {
    background-color: white;
    width: 90%;
    max-width: 80rem;
    max-height: 90vh;
    border-radius: 1rem;
    position: relative;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.bf-modal.bf-active .bf-modal-content {
    transform: scale(1);
}

.bf-close {
    color: #aaa;
    float: right;
    font-size: 2.8rem;
    font-weight: bold;
    position: absolute;
    right: 2rem;
    top: 1rem;
    z-index: 10;
    cursor: pointer;
    transition: color 0.2s ease;
}

.bf-close:hover,
.bf-close:focus {
    color: #000;
    text-decoration: none;
}

/* Step Container */
.bf-step {
    padding: 3rem;
    min-height: 50rem;
    display: flex;
    flex-direction: column;
}

/* Progress Bar */
.bf-progress {
    width: 100%;
    height: 0.4rem;
    background-color: #e0e0e0;
    border-radius: 0.2rem;
    margin-bottom: 3rem;
    overflow: hidden;
}

.bf-progress-bar {
    height: 100%;
    background-color: var(--primary);
    border-radius: 0.2rem;
    transition: width 0.3s ease;
}

/* Quiz Step */
.bf-question-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--clr-body);
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.3;
}

.bf-answers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    flex: 1;
}

.bf-answer-card {
    background: white;
    border: 0.2rem solid #e0e0e0;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 15rem;
    max-height: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bf-answer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.bf-answer-card:hover {
    border-color: var(--primary);
    transform: translateY(-0.2rem);
    box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.1);
}

.bf-answer-card:hover::before {
    left: 100%;
}

.bf-answer-card.bf-selected {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-0.4rem);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.bf-answer-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.bf-answer-icon i {
    display: block;
}

.bf-answer-text {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Form Step */
.bf-form-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--clr-body);
    text-align: center;
    margin-bottom: 3rem;
}

.bf-form-field {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.bf-field-icon {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.bf-form-field input[type="text"],
.bf-form-field input[type="email"] {
    flex: 1;
    padding: 1.5rem 2rem;
    border: 0.2rem solid #e0e0e0;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    transition: border-color 0.3s ease;
    background: white;
}

.bf-form-field input[type="text"]:focus,
.bf-form-field input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.3rem rgba(var(--primary), 0.1);
}

.bf-form-field input::placeholder {
    color:rgba(0, 0, 0, 0.65)
}

.bf-file-label {
    flex: 1;
    display: block;
    padding: 1.5rem 2rem;
    border: 0.2rem dashed #e0e0e0;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.bf-file-label:hover {
    border-color: var(--primary);
    background-color: rgba(var(--primary), 0.05);
}

.bf-file-label input[type="file"] {
    display: none;
}

.bf-file-label.bf-file-selected {
    border-color: var(--primary);
    background-color: rgba(var(--primary), 0.1);
    color: var(--primary);
}

.bf-privacy-checkbox {
    margin: 3rem 0;
    text-align: center;
}

.bf-privacy-checkbox label {
    display: inline-flex;
    align-items: center;
    font-size: 1.4rem;
    color: var(--clr-body);
    cursor: pointer;
}

.bf-privacy-checkbox input[type="checkbox"] {
    width: 1.8rem;
    height: 1.8rem;
    margin-right: 1rem;
    cursor: pointer;
}

.bf-privacy-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

/* Navigation */
.bf-navigation,
.bf-form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 2rem;
}

.bf-btn {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 12rem;
}

.bf-btn-primary {
    background-color: var(--primary);
    color: white;
}

.bf-btn-primary:hover:not(:disabled) {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.8rem 2rem rgba(var(--primary), 0.3);
}

.bf-btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.bf-btn-secondary {
    background-color: transparent;
    color: var(--clr-body);
    border: 0.2rem solid #e0e0e0;
}

.bf-btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

/* Abort Step */
.bf-abort-step {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bf-abort-message h2 {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--clr-body);
    margin-bottom: 3rem;
    line-height: 1.4;
}

/* Success Step */
.bf-success-step {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bf-success-message {
    max-width: 50rem;
}

.bf-success-icon {
    font-size: 6rem;
    color: #28a745;
    margin-bottom: 2rem;
}

.bf-success-message h2 {
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--clr-body);
    margin-bottom: 1.5rem;
}

.bf-success-message p {
    font-size: 1.8rem;
    color: var(--clr-body);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .bf-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .bf-step {
        padding: 2rem;
        min-height: auto;
    }
    
    .bf-answers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .bf-answer-card {
        min-height: 12rem;
        padding: 2rem;
    }
    
    .bf-question-title {
        font-size: 2.7rem;
        margin-bottom: 2rem;
    }
    
    .bf-form-field {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bf-field-icon {
        width: 100%;
        height: 4rem;
        margin-right: 0;
        margin-bottom: 1rem;
        border-radius: 0.8rem 0.8rem 0 0;
    }
    
    .bf-form-field input[type="text"],
    .bf-form-field input[type="email"],
    .bf-file-label {
        border-radius: 0 0 0.8rem 0.8rem;
    }
    
    .bf-navigation,
    .bf-form-navigation {
        flex-direction: column-reverse;
    }
    
    .bf-btn {
        width: 100%;
        padding: 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .bf-close {
        font-size: 3rem;
        right: 1.5rem;
        top: 0.5rem;
    }
    
    .bf-step {
        padding: 1.5rem;
    }
    
    .bf-question-title {
        font-size: 1.8rem;
    }
    
    .bf-answer-card {
        min-height: 15rem;
        padding: 1.5rem;
    }
    
    .bf-answer-icon {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }
    
    .bf-answer-text {
        font-size: 1.6rem;
    }
}