/* Makes the error messages red and positions them correctly */
label.error {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: block;
}
/* Adds a red border to the input fields with errors */
input.error, textarea.error {
    border-color: #dc3545;
}

/* Google Translate Styling */
#google_translate_element {
    display: inline-block;
}

.goog-te-gadget {
    font-family: Arial, sans-serif !important;
    font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
    padding: 8px 12px;
    border: 1px solid #198754;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.goog-te-gadget span {
    display: none !important;
}

.goog-logo-link {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-banner-frame {
    display: none !important;
}

/* Hide Google Translate default elements */
.goog-te-banner-frame,
.goog-te-gadget,
.goog-logo-link {
    display: none !important;
}

body {
    top: 0 !important;
}

.skiptranslate iframe {
    display: none !important;
}