main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px; 
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

/* Profile dropdown styles - AdminLTE inspired */
.profile-dropdown-btn {
    color: white !important;
}

.profile-dropdown-btn::after {
    display: none !important;
}

/* Navbar avatar styles */
.navbar-user-image {
    display: flex;
    align-items: center;
}

.navbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.navbar-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
}

.profile-dropdown {
    min-width: 280px;
    padding: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
}

.user-panel {
    width: 100%;
}

.user-header {
    padding: 20px;
    text-align: center;
    background-color: #f4f4f4;
    border-bottom: 1px solid #ddd;
}

.user-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #aaa;
    margin: 0 auto 10px;
    display: block;
}

.user-image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 3px solid #aaa;
    color: #666;
    font-size: 2rem;
}

.user-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.user-designation {
    color: #999;
    font-size: 0.75rem;
}

.user-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    margin-top: 2px;
}

.user-footer {
    padding: 10px;
    background: #f9f9f9;
}

.user-footer .row {
    margin: 0;
}

.user-footer .col-6 {
    padding: 0 5px;
}

.btn-flat {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #ddd;
}

.logout-form-inline {
    margin: 0;
    width: 100%;
}

.logout-form-inline .btn {
    width: 100%;
}