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;
}

.bg-red {
    background-color: orangered;
    color: white;
}

.bg-green {
    background-color: green;
    color: white;
}

.bg-blue {
    background-color: blue;
    color: white;
}
/* Headings */
h1, h2, h3 {
    color: #343a40;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-transform: uppercase;
}

.btn-success {
    background-color: #28a745; /* Green for success */
    border: none;
    color: #fff;
}

.btn-warning {
    background-color: #ffc107; /* Yellow for warning */
    border: none;
    color: #212529;
}

.btn-primary {
    background-color: #007bff; /* Blue for primary actions */
    border: none;
    color: #fff;
}

.btn:hover {
    opacity: 0.9;
    transition: 0.2s;
}

/* Forms */
form {
    background: #ffffff;
    border: 1px solid #ced4da;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

    form label {
        font-weight: bold;
        margin-bottom: 5px;
        display: block;
    }

    form input[type="text"],
    form input[type="file"],
    form select,
    form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ced4da;
        border-radius: 4px;
        background-color: #f8f9fa;
    }

    form input[readonly] {
        background-color: #e9ecef;
    }

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

    .table th,
    .table td {
        text-align: left;
        padding: 12px;
        border: 1px solid #dee2e6;
    }

    .table th {
        background-color: #343a40; /* Dark header */
        color: #ffffff;
    }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa; /* Light grey for alternate rows */
}

.table-hover tbody tr:hover {
    background-color: #e9ecef;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}
