.container {
    max-width: 500px;
}

.card {
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
}

.card-header {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}

.feedback {
    display: none;
    font-size: 0.9rem;
}

.is-valid ~ .valid-feedback {
    display: block;
    color: #28a745;
}

.is-invalid ~ .invalid-feedback {
    display: block;
    color: #dc3545;
}

/* Schmalere Card */
.custom-card {
    max-width: 600px; /* Card schmaler machen */
    margin: 0 auto; /* Zentriert auf der Seite */
    border-radius: 10px;
}

/* Abstand zwischen Vorschau und Drag-and-Drop */
#filePreview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Abstand zwischen den Vorschau-Bildern */
    justify-content: start;
    margin-top: 20px; /* Platz zwischen Dropzone und Vorschau */
}

#filePreview div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#filePreview div:hover {
    transform: scale(1.05); /* Leichter Hover-Effekt */
}

#filePreview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#dropzone {
    margin-top: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#dropzone:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
}
/* Modernes Design für das reCAPTCHA-Feld */
#g-recaptcha-container {
    border: 2px solid #ccc !importent;
    padding: 10px !importent;
    border-radius: 8px !importent;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1)!importent;
    background-color: #f9f9f9 !importent;
    display: inline-block !importent;
    text-align: center !importent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !importent;
}

/* Rot markieren bei Fehler */
#g-recaptcha-container.error {
    border-color: #ff4d4d !importent;
    box-shadow: 0px 4px 10px rgba(255, 77, 77, 0.5) !importent;
}
/* Modernisierung des reCAPTCHA-Badge */
.grecaptcha-badge {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
    z-index: 1000;
}

#g-recaptcha-container {
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#g-recaptcha-container.error {
    border-color: #ff4d4d;
    box-shadow: 0px 4px 10px rgba(255, 77, 77, 0.5);
}
