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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.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;
}

/* General Reset */
body {
    font-family: 'Segoe UI', sans-serif;
    /*  background: linear-gradient(135deg, #007bff, #6610f2);*/
    min-height: 100vh;
}

/* Center login card */
.login-wrapper {
    min-height: 100vh;
}

/* Card styling */
.login-card {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
    background-color: #fff;
}

/* Input focus style */
.form-control:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
}

/* Button hover */
/*.btn-primary {
    background-color: #6f42c1;
    border: none;
    transition: all 0.2s ease-in-out;
}

    .btn-primary:hover {
        background-color: #59359c;
    }*/

/* Small responsive tweak */
@media (max-width: 576px) {
    .login-card {
        margin: 1rem;
        padding: 2rem 1rem;
    }
}

.navbar {
    font-size: 1rem;
}

.nav-link {
    color: #ffffff !important;
    transition: all 0.3s ease-in-out;
}

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 6px;
    }

table.dataTable thead {
    background-color: #343a40 !important;
    color: white;
}

table.dataTable tbody tr:hover {
    background-color: #f1f1f1;
}

/*validation error for modal*/
.input-error {
    border-color: #dc3545; /* red */
}

.error-text {
    color: #dc3545;
    font-size: 13px;
    margin-top: 2px;
    display: none;
}


