﻿.form-inline-custom {
    padding: 8px 0px 0px 0px;
}

.content-bar {
    padding: 10px!important;
}


/*notification css*/
.notification-icon {
    display: flex;
    align-items: center;
  
}

    .notification-icon a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.notification-list-container {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item:last-child .dropdown-divider {
    display: none;
}

.notification-link {
    padding: 0.75rem 1rem;
    white-space: normal;
}

    .notification-link:hover {
        background-color: #f8f9fa;
    }

.notification-content {
    min-width: 0; /* Enables text truncation */
}

.notification-header {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-body {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
}

.notification-time {
    font-size: 0.75rem;
    color: #6c757d;
}

.navbar-badge {
    font-size: 0.6rem;
    font-weight: 300;
    padding: 2px 4px;
    position: absolute;
    right: 5px;
    top: 9px;
}

.dropdown-menu-lg {
    min-width: 350px;
}

/* Custom scrollbar for notification list */
.notification-list-container::-webkit-scrollbar {
    width: 6px;
}

.notification-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notification-list-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

    .notification-list-container::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


/*FnAReport download*/

.FnAForm-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 574px) {
    .FnAForm-buttons {
        flex-direction: column !important;
    }

        .FnAForm-buttons button {
            width: 100% !important;
        }
}

/* fna report*/
@media print {
    body {
        margin-bottom: 60px; 
    }

    footer {
        position: fixed;
        bottom: 0;
    }
}

/*search box input select 2 dropdwon*/
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da !important;
    border-radius: 4px;
}

.filter-wrap .select2-selection {
    width: auto;
    /*min-width : 200px*/
}

.filter-wrap .select2-container {
    margin-right: 12px;
}

.thurst-category-filter + .select2 {
    width: auto !important;
    max-width: 460px;
}

@media (max-width: 1620px) {
    .thurst-category-filter + .select2 {
        max-width: 330px;
    }
}

@media (max-width: 1500px) {
    .thurst-category-filter + .select2 {
        max-width: 240px;
    }
}

@media (max-width: 1399px) {
    .thurst-category-filter + .select2 {
        max-width: 240px;
    }
}

@media (max-width: 767px) {
    .card-filter .form-inline .form-control + .select2 {
        margin-bottom: 10px;
    }

    .filter-wrap .select2-container {
        margin-right: 0;
    }

    .card-filter .form-inline .form-control + .select2,
    .thurst-category-filter + .select2 {
        width: 100% !important;
    }

    .thurst-category-filter + .select2 {
        max-width: 100%;
    }
}