/* ===== JOB FORM STYLES ===== */
.job-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
}

.job-form-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.form-section {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a0aec0'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em;
}



/* Spezifische Stile für das Postleitzahlen-Feld */
.postal-code-group {
    max-width: 150px; /* Oder eine andere gewünschte Breite */
}

.postal-code-input {
    width: 100%; /* Nimmt die volle Breite des parent-Containers (postal-code-group) ein */
}

/* Alternativ: Wenn du es in einem Grid belassen möchtest */
.postal-code-grid {
    display: grid;
    grid-template-columns: auto 1fr; /* Postleitzahl nimmt nur benötigten Platz ein, Rest bleibt flexibel */
    gap: 1rem;
    align-items: start;
}
/* Grid Layout */
.form-grid {
    display: grid;
    gap: 1rem;
}

.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

/* Payment Display */
.payment-display {
    display: flex;
    align-items: center;
    background-color: #f7fafc;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

/* Character Counter */
.char-counter {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.text-success {
    color: #38a169;
}

.text-error {
    color: #e53e3e;
}

/* Helper Text */
.helper-text {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    color: #718096;
}

/* Error States */
.error-message {
    color: #e53e3e;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-error-alert {
    background-color: #fff5f5;
    border-left: 4px solid #e53e3e;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

/* Submit Button */
.submit-button {
    width: 30%;
    color: var(--white);
    background: var(--primary-color);
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s;
    margin: 1rem auto; /* Oben/unten 1rem, links/rechts auto */
    cursor: pointer;
    border: 1px;
    display: block; /* Wichtig für margin: auto */
}

.submit-button:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .two-columns,
    .three-columns {
        grid-template-columns: 1fr;
    }
    
    .job-form-container {
        padding: 1rem;
    }
}