@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}


.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.layout-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.layout-header {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 0.5rem 1.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    text-decoration: none;
}

.sidebar {
    background: #fff;
    height: 100%;
    overflow-y: auto;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s;
}

.nav-item i {
    font-size: 1.1rem;
}

.nav-item:hover {
    background: #f8f9fa;
    color: #212529;
    text-decoration: none;
}

.nav-item.active {
    background: #0d6efd;
    color: white;
}

.layout-content {
    padding: 15px;
    flex: 1;
    height: 100%;
    overflow-y: auto;
}

.tracking-grid {
    height: calc(100vh - 200px);
}

.grid-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}


.full-height{
    overflow: auto;
}


.nav-group-header {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    padding: 0.75rem 1rem 0.25rem 1rem;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

.nav-group-header:first-child {
    margin-top: 0;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.loading-content {
    text-align: center;
    padding: 2rem 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.loading-content .spinner-border {
    animation: spinner-border 0.75s linear infinite;
}
