﻿@import url(libs/bootstrap/bootstrap.css); /* Bootstrap. */
@import url(libs/bootstrap/bootstrap-icons.css); /* Bootstrap Icons */


/* ****************** */
/* Global */
/* ****************** */
html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body > div {
  height: 100%;
}

/* ****************** */
/* Layout */
/* ****************** */
.app-layout {
    display: flex;
    min-height: 100vh;
}

.app-layout.collapsed .sidebar {
    width: 70px;
}

.app-layout.collapsed .brand-text {
    display: none;
}

.app-layout.collapsed .sidebar-link span {
    display: none;
}

.app-layout.collapsed .sidebar-link {
    justify-content: center;
    padding: 10px 10px;
}

.app-layout.collapsed .sidebar-link i {
    font-size: 1.2rem;
}

.sidebar {
    width: 260px;
    transition: width 0.25s ease;
    display: flex;
    flex-direction: column;
}

.sidebar-nav {
    margin-top: 15px;
}

.sidebar-footer {
    text-align: center;
    margin-top: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--bs-secondary-color);
}

.sidebar-link:hover {
    background: rgba(var(--bs-primary-rgb), 0.12);
    transform: translateX(2px);
}

.sidebar-link.active {
    background: var(--bs-primary);
    color: white !important;
}

.sidebar-link i {
    width: 24px;
    min-width: 24px;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
    gap: 8px;
}

.sidebar-brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.sidebar-title-container {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid var(--bs-border-color);
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.85;
    white-space: nowrap;
}

.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ****************** */
/* General */
/* ****************** */
.link-card {
    transition: all 0.2s ease;
    border-radius: 10px;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.link-card:active {
    transform: translateY(-1px);
}