/* Form Styles */

.funnel-sc-wrapper {
    max-height: 100vh;
    padding: 5rem 0;
    overflow-y: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.funnel-sc-wrapper::-webkit-scrollbar {
    display: none;
  }

.karrieren-bewerbung-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--body-font);
}

.form-field-wrapper {
    margin-bottom: 24px;
}

.form-title {
    margin: 2rem 0;
    text-align: center;
}

/* Labels */
.karrieren-bewerbung-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

/*
.form-field-wrapper.required label:after {
    content: "*";
    color: var(--button-bg-dunkel);
    margin-left: 4px;
}
*/

/* Input fields */
.karrieren-bewerbung-form input[type="text"],
.karrieren-bewerbung-form input[type="email"],
.karrieren-bewerbung-form input[type="tel"],
.karrieren-bewerbung-form select,
.karrieren-bewerbung-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.karrieren-bewerbung-form input[type="text"]:focus,
.karrieren-bewerbung-form input[type="email"]:focus,
.karrieren-bewerbung-form input[type="tel"]:focus,
.karrieren-bewerbung-form select:focus,
.karrieren-bewerbung-form textarea:focus {
    outline: none;
    border-color: var(--button-bg-dunkel);
    box-shadow: 0 0 0 3px rgba(227, 30, 60, 0.1);
}

/* Textarea specific */
.karrieren-bewerbung-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* File upload */
.karrieren-bewerbung-form input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    background: #f8f8f8;
    cursor: pointer;
}

.karrieren-bewerbung-form input[type="file"]:hover {
    border-color: var(--button-bg-dunkel);
    background: #fff;
}

/* Checkbox styling */
.karrieren-bewerbung-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
}


/* Select styling */
.karrieren-bewerbung-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Submit button */
.karrieren-bewerbung-form button[type="submit"] {
    background-color: var(--button-bg-dunkel);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.karrieren-bewerbung-form button[type="submit"]:hover {
    background-color: var(--button-bg-dunkel);
    transform: translateY(-1px);
}

.karrieren-bewerbung-form button[type="submit"]:active {
    transform: translateY(0);
}

/* Loading state */
.karrieren-bewerbung-form.loading button[type="submit"] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Messages */
.form-messages {
    margin-top: 20px;
}

.form-messages .success {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    border-radius: 6px;
    text-align: center;
}

.form-messages .error {
    background-color: var(--button-bg-dunkel);
    color: white;
    padding: 16px;
    border-radius: 6px;
    text-align: center;
}

/* Invalid state */
.karrieren-bewerbung-form input.invalid {
    border-color: var(--button-bg-dunkel);
    background-color: rgba(227, 30, 60, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .karrieren-bewerbung-form {
        padding: 16px;
    }

    .form-field-wrapper {
        margin-bottom: 20px;
    }

    .karrieren-bewerbung-form input[type="text"],
    .karrieren-bewerbung-form input[type="email"],
    .karrieren-bewerbung-form input[type="tel"],
    .karrieren-bewerbung-form select,
    .karrieren-bewerbung-form textarea {
        padding: 10px 14px;
        font-size: 15px;
    }

    .karrieren-bewerbung-form button[type="submit"] {
        width: 100%;
        padding: 12px 24px;
    }
}

/* Placeholder styling */
.karrieren-bewerbung-form ::placeholder {
    color: #999;
    opacity: 1;
}

/* Checkbox container for better alignment */
.karrieren-bewerbung-form .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px;
}


/* -------------- */ 

/* Multistep Funnel Styles */
.answer-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.answer-option {
    background-color: var(--button-bg-dunkel);
    border: none;
    border-radius: 8px;
    padding: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    min-height: 150px;
    min-width: 200px;
}

.answer-option:hover {
    filter: brightness(0.9) saturate(1.05);
    transform: translateY(-2px);
}

.answer-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 100%;
}

.answer-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.answer-icon i {
    font-size: 32px;
}

.answer-text {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.question-text {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

.nav-button {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0);
    /* border: 1px solid black; */
    color: rgb(41, 41, 41);

}

/* Mobile Responsive */
@media (max-width: 768px) {
    .answer-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .answer-option {
        min-height: 100px;
    }

    .question-text {
        font-size: 20px;
        margin-bottom: 20px;
    }
}