@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Bold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

html {
  font-size: 14px;
  font-family: 'Open Sans';
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
        font-family: 'Open Sans';
    }
}

@media (max-width: 768px) {

    html {
        font-size: 16px;
        font-family: 'Open Sans';
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
        gap: .35rem;
    }

    .action-buttons .btn {
        width: 100%;
        min-width: 70px;
        padding: .45rem .75rem;
        font-size: .85rem;
    }

    .action-buttons .btn i {
        margin-right: .25rem;
    }

    td:last-child {
        min-width: 110px;
    }

    td .d-flex.gap-2 {
        flex-direction: column;
        align-items: stretch;
        gap: .35rem !important;
    }

    td .d-flex.gap-2 .btn {
        width: 100%;
        min-width: 70px;
        padding: .4rem .6rem;
        font-size: .8rem;
        white-space: nowrap;
    }

    td .d-flex.gap-2 .btn i {
        margin-right: .25rem;
    }
     .navbar-brand {
        flex: 1;
        margin-right: 1rem;
    }

    .navbar-toggler {
        margin-left: auto;
        flex-shrink: 0;
    }


    table th:last-child,
    table td:last-child{
        min-width:140px;
    }

    table td:last-child .d-flex{
        display:flex;
        flex-wrap:nowrap;
        justify-content:center;
        gap:.35rem !important;
    }

    table td:last-child .btn{
        min-width:60px;
        white-space:nowrap;
        padding:.35rem .5rem;
        font-size:.8rem;
    }
      .records-table th:last-child,
    .records-table td:last-child {
        width: 120px;
        min-width: 120px;
        text-align: center;
        vertical-align: middle;
    }

    /* Style buttons directly inside the cell */
    .records-table td:last-child > .btn {
        display: block;
        width: 100%;
        margin-bottom: .35rem;
        white-space: nowrap;
        font-size: .8rem;
        padding: .4rem .5rem;
    }

    .records-table td:last-child > .btn:last-child {
        margin-bottom: 0;
    }
}

.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 #500000;
}

body {
    position: relative;
    min-height: 100%;
    background: url('../images/agrilife-cattle.jpg') no-repeat left center fixed;
    background-position: 0 0;
    background-size: cover;
    background-color: #fafafa; /* Fallback color in case image fails to load */
    margin-bottom: 60px;
}

.required-links {
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    line-height: 16px;
}

.required-links a{
    padding: 0px 6px;
    color: #555555;
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-style: bold;
    
}

h2, h3, h4, h5, h6, header{
    font-family: 'Oswald', sans-serif;
    font-style: normal;
}