.text-left{
    text-align: left!important;
}

.pad20{
    padding: 20px;
}

/*Toast*/
.colored-toast.swal2-icon-success {
    background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
    background-color: #f27474 !important;
}
/*end*/

/*News List*/
.news-images{
    width: 100px;
}

.category-icon {
    width: 75px!important;
}

.select-search-input {
    background: #fff!important;
    color: #000!important;
}

.navbar-vertical.navbar-expand-xs .navbar-collapse {
    height: auto!important;
}

.navbar-vertical.navbar-expand-xs .navbar-nav>.nav-item {
    margin-top: 0rem;
}

.login-bg{
    background-image: url("../../assets/img/nuhark/login-bg.png");
}

.password-icon{
    position: absolute;
    height: 44px;
    margin-left: -16%;
}

.clr-black{
    color: #000;
}

.clr-white{
    color: #ffffff!important;
}

.clr-bg-theme-primary{
    background-color: #3CD48A;
}

.clr-theme-primary{
    color: #3CD48A;
}

.card {
    box-shadow: none!important;
}

.font40{
    font-size: 40px;
}

.btn-theme-default{
    border-bottom-left-radius: 20px;
    background-color: #3CD48A;
    border-top-right-radius: 20px;
    /*width: 45%;*/
    height: 3.2em;
    color: #fff;
}

.btn-theme-default:hover, .btn-theme-default:active, .btn-theme-default:focus {
    border: 1px solid #3CD48A!important;
    color: #fff!important;
    /*width: 45%;*/
    height: 3.2em;
}

.form-switch .form-check-input:checked {
    border-color: #3CD48A;
    background-color: #3CD48A;
}

.bg-black, body{
    background-color: #000000!important;
}


.aside-menu-bg{
    background: #3CD48A;
    border-radius: 25px;
    margin-top: 1rem!important;
}




/*Admin Custom*/
.font16{
    font-size: 16px!important;
}
.font18{
    font-size: 18px!important;
}
.font20{
    font-size: 20px!important;
}
.font24{
    font-size: 24px!important;
}
.font30{
    font-size: 30px!important;
}
.font35{
    font-size: 35px!important;
}

.font40{
    font-size: 40px!important;
}
.font45{
    font-size: 45px!important;
}
.font50{
    font-size: 50px!important;
}
.font60{
    font-size: 60px!important;
}

.font70{
    font-size: 70px!important;
}

.font100{
    font-size: 100px!important;
}

.font200{
    font-weight: 200!important;
}
.font300{
    font-weight: 300!important;
}
.font400{
    font-weight: 400!important;
}

.font600{
    font-weight: 600!important;
}
.font700{
    font-weight: 700!important;
}

.text-right{
    text-align: right!important;
}

.cattle-info {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(185deg, #0a1e1b, #03360d);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);

    margin: auto;
}

.info-container {
    width: 100%;
    padding: 20px;
    border-radius: 15px;
}

.info-item {
    display: grid;
    grid-template-columns: 200px 1fr;  /* 200px for label, remaining space for value */
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #015b4a;
}

.info-label {
    font-weight: bold;
    color: #50f9a0;
    font-size: 18px;
    /*justify-self: end;  !* Align label to the right *!*/
}

.info-value {
    color: #ffffff;
    font-size: 18px;
    /*justify-self: start;  !* Align value to the left *!*/
}

.info-value span{
    padding-left: 15%;
}

.tab-navigation {
    display: flex;
    border-bottom: 2px solid #ddd; /* Adds a border below the tabs */
}

.tab-button {
    flex: 1;
    background-color: #f8f8f8; /* Light background color */
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, border-color 0.3s; /* Smooth transitions */
}

.tab-button:hover {
    background-color: #f1f1f1; /* Slightly darker background on hover */
}

.tab-button.active {
    background-color: #fff; /* Active tab background */
    border-color: #007bff; /* Border color for the active tab */
    font-weight: bold; /* Bold text for the active tab */
}

.tab-button i {
    margin-right: 8px; /* Space between icon and text */
}

.folder {
    float: left;
    width: 80px;
    height: 90px;
    margin-right: 0px;
    margin-bottom: 0px;
    border-radius: 2px;
    cursor: pointer;
}

.folder:hover h1 {
    display: none;
}

.folder:hover p.cooltip {
    opacity: 1;
    top: 0;
}

.folder * {
    text-align: center;
}

.folder i {
    font-size: 100px;
    color: #607D8B;
}

.folder h1 {
    font-size: 20px;
    font-weight: 400;
}

.folder p.cooltip {
    position: relative;
    top: 5px;
    left: -50%;
    background: #212121;
    font-size: 15px;
    color: white;
    border-radius: 4px;
    padding: 10px 20px;
    width: 100px;
    opacity: 0;
}

.folder p.cooltip:before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    margin-left: -5px;
    height: 10px;
    width: 10px;
    border-radius: 2px;
    background-color: #212121;
    transform: rotate(45deg);
}

.scrollable-content {
    max-height: 700px; /* Set the height as per your requirement */
    overflow-y: auto;
    padding-right: 10px; /* Optional: To prevent the scrollbar from overlapping content */
}

.folder-container, .image-grid {
    margin-bottom: 10px; /* Optional: Add spacing between folders and images */
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Adjust gap as needed */
}

.image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px; /* Adjust width as needed */
}

.image-preview {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: rounded corners */
    cursor: pointer;
}

.download-link {
    display: flex;
    align-items: center;
    margin-top: 5px;
    color: #007bff; /* Adjust color as needed */
    text-decoration: none;
}

.download-link i {
    margin-right: 5px;
}

.download-link:hover {
    text-decoration: underline;
}


.camera-video {
    width: 100%;
    height: 500px; /* Adjust height as needed */
    object-fit: cover; /* Ensures the video covers the element */
}

.form-control{
    color: #fff!important;
}

.sidenav {
    transition: transform 0.3s ease;
    transform: translateX(-100%);
}

.sidenav.open {
    transform: translateX(0);
}

.toggle-btn {
    position: fixed;
    top: 15px;
    left: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px;
    z-index: 1000;
    cursor: pointer;
}

.toggle-btn i {
    font-size: 18px;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .sidenav {
        transform: translateX(0);
    }

    .toggle-btn {
        display: none;
    }
}

input.form-control.cattle_search.p-inputtext.p-component {
    color: #000 !important;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.close-btn:focus {
    outline: none;
}
