:root {
    --form-max-width: 800px;
    --input-border-color: rgba(155, 89, 182, 0.2);
    --input-focus-color: var(--primary-color);
    --error-color: #ff4444;
}

.apply-content {
    max-width: var(--form-max-width);
    margin: 0 auto;
    padding: 2rem;
}

.apply-header {
    text-align: center;
    margin-bottom: 3rem;
}

.apply-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.apply-form {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--input-border-color);
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.1);
}

/* Honeypot Feld verstecken */
.hp-field {
    display: none;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--input-border-color);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--input-focus-color);
    box-shadow: 0 0 5px rgba(155, 89, 182, 0.3);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Fehlermeldungen */
.error {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

input.error,
select.error,
textarea.error {
    border-color: var(--error-color);
}

/* reCAPTCHA Container */
.g-recaptcha {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

option{
    color:black;
}

@media (max-width: 768px) {
    .apply-content {
        padding: 1rem;
    }

    .apply-header h1 {
        font-size: 2rem;
    }

    .apply-form {
        padding: 1.5rem;
    }

    .btn-primary {
        width: 100%;
    }
}