html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Hover lift effect for cards */
.hover-lift {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Card with stretched link needs position relative */
.card .stretched-link {
    position: static;
}

.card {
    position: relative;
}

/* Brand Logo Sizing */
.brand-logo {
    max-height: 40px !important;
    min-height: 40px !important;
    width: auto !important;
    height: 40px !important;
    display: block;
}

.navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-brand .brand-logo {
    max-height: 40px !important;
    min-height: 40px !important;
    height: 40px !important;
}

/* Sidebar Styles */
.sidebar {
    min-height: calc(100vh - 60px);
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.sidebar-user {
    background-color: #e9ecef;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.sidebar-link:hover {
    background-color: #e9ecef;
    color: #0d6efd;
}

.sidebar-link.active {
    background-color: #0d6efd;
    color: white;
}

.sidebar-link.active:hover {
    background-color: #0b5ed7;
    color: white;
}

.sidebar-sep {
    height: 1px;
    background-color: #dee2e6;
    margin: 0.5rem 0;
}

/* Content Area */
.content-area {
    flex: 1;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 992px) {
    .content-area {
        margin-left: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Header positioning */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* VR Section Sticky Header */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;
}

/* Make table scrollable within viewport */
.vr-table-container {
    max-height: calc(100vh - 600px);
    min-height: 300px;
    overflow-y: auto;
}
