:root {
    --primary-color: #009E52;
    --secondary-color: #ffd400;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

footer {
    bottom: 0;
    width: 100%;
    position: absolute;
}

body {
    font-family: 'Open Sans', sans-serif;
}

    body header {
        background-color: #F5F4F3 !important;
    }

@media print {
    .print {
        display: block !important;
    }

    .no-print {
        display: none !important;
    }
}

input.input-validation-error, select.input-validation-error, textarea.input-validation-error {
    border: 2px solid red !important;
    background-color: #ffe6e6;
}

label.required:after {
    content: " *";
    color: red;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.nav-link.active {
    font-weight: bold;
    color: var(--primary-color) !important;
}

html {
    position: relative;
    min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

input[type="checkbox"] {
    accent-color: var(--primary-color) !important;
}

.table {
    margin: 0;
    height: fit-content;
}

.paint-table thead tr th, .modal thead tr th {
    font-weight: normal;
    color: white !important;
    background-color: var(--primary-color) !important;
}

thead, tbody, td, tfoot, th, thead, tr {
    vertical-align: middle;
}

.modal-title {
    margin: 0;
}

.card {
    margin: 0 !important;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #fff;
}

    .card .header {
        height: auto;
        color: white;
        padding: 15px;
        font-size: 18px;
        border-radius: 8px 8px 0 0;
        background-color: var(--primary-color);
    }

        .card .header h1, h2, h3, h4, h5 {
            margin: 0 auto;
        }

        .card .header h2 {
            font-size: 20px;
        }

    .card .body {
        height: 100%;
        padding: 20px;
        display: flex;
        background-color: #F5F4F3;
    }

.btn-circle {
    padding: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
}

.btn-white {
    color: #000;
    background-color: white;
    border: 2px solid white;
}

    .btn-white:hover {
        color: #000;
        background-color: #f8f9fa;
    }
