html {
    font-size: 14px;
}

@media (min-width: 768px) {
    .form-control {
        width: 100%;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Roboto';
}

.container, #captcha {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

main {
    flex: 1;
    justify-content: center;
    align-items: center;
}

input[type="submit"] {
    padding: 10px;
    padding-left: 50px;
    padding-right: 50px;
}

.form-control {
    width: 100%;
    box-sizing: border-box;
}

.js-select2-multiple {
    width: 100% !important;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1rem;
}

.card {
    border-radius: 10px;
    background-color: white;
    width: 100%;
    max-width: 1600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.jaDontShowExternal {
    display: none;
}

/* BOOTSTRAP OVERIDES */

.alert-info {
    background-color: #f7f7f7;
    border-color: #dfdfdf;
    color: #212529e8;
}

.card-header, .card-footer {
    background-color: #dfdfdf96;
}

.btn-close-custom i {
    color: #DC3545;
}

    .btn-close-custom i:hover {
        color: #A71D2A;
    }

.fa-circle-info {
    color: #0DCAF0 !important;
}

.btn-submit-custom {
    background-color: #222;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .btn-submit-custom:hover {
        background-color: #444;
        color: #fff;
    }

    .btn-submit-custom:disabled,
    .btn-submit-custom[disabled] {
        background-color: #777;
        color: #ccc;
        cursor: not-allowed;
        opacity: 0.6;
        pointer-events: none;
    }

.input-validation-error {
    border: 2px solid #DC3545;
    background-color: #FFF4F4;
}

.field-validation-error {
    color: #DC3545;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.form-control.input-validation-error {
    border-color: #DC3545;
    background-color: #FFF4F4;
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors {
    display: block;
}

    .validation-summary-errors ul {
        margin-bottom: 0;
    }

    .validation-summary-errors li:last-child {
        margin-bottom: 0;
    }

.error-summary-custom {
    background-color: #FFF4F4;
    border-left: 4px solid #DC3545;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-family: Arial, sans-serif;
}

    .error-summary-custom::before {
        content: "\f06a";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        display: inline-block;
        margin-right: 8px;
        font-size: 15px;
        vertical-align: middle;
        color: #d4351c;
    }

.badge-secondary {
    background-color: #e9ecef;
    color: #6D7B8D;
    font-weight: 600;
    font-size: 12px;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
    color: #333;
    font-weight: 500;
}