:root {
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 80px;
}

body {
    overflow-x: hidden;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(85deg, rgb(43, 103, 201) 0%, rgb(44, 46, 172) 50%, rgb(18, 11, 139) 100%);
    transition: all 0.3s ease;
}

.sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
}

.sidebar-link {
    color: #a0a3bd;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 16px;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sidebar-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.logo-text {
    background: linear-gradient(45deg, #6b8cff, #8b9fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}

.notification-badge {
    background: #ff6b6b;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.profile-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.seting-section {
    border-top: 1px solid rgba(207, 234, 236, 0.2);
}

.main-content {
    margin-left: var(--sidebar-width);
    padding: 30px;
    transition: all 0.3s ease;
}

.collapsed~.main-content {
    margin-left: var(--sidebar-width-collapsed);
}

.toggle-btn {
    position: absolute;
    right: 0;
    top: 20px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collapsed .toggle-btn {
    transform: rotate(180deg);
}

.collapsed .hide-on-collapse {
    opacity: 0;
    visibility: hidden;
    width: 0 !important;
    height: auto;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.3s ease, width 0.3s ease;
    display: none;
}

.collapsed .logo-text {
    opacity: 0;
}

.collapsed .profile-info {
    opacity: 0;
}

.collapsed .sidebar-link {
    text-align: center;
    padding: 1rem !important;
    margin: 4px 8px;
}

.collapsed .sidebar-link i {
    margin: 0 !important;
}

.profile-info {
    transition: opacity 0.2s ease;
}


.bd-pontilhado {
    background-image: url('/Public/Images/fundo-pontilhado.jpg');
}

.texto-sombra {
    text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.4);
}

.bg-base-site {
    background-color: #0f386e;
}

.text-justified {
    text-align: justify;
}

.GreatVibes {
    font-family: "Great Vibes", cursive;
    font-style: normal;
}

.Suranna {
    font-family: "Suranna", cursive;
    font-style: normal;
}

.CormorantInfant {
    font-family: "Cormorant Infant", cursive;
    font-style: normal;
}

.zinde-1 {
    z-index: -1;
}

.zinde-2 {
    z-index: 2;
}

.h1 {
    font-size: 3rem;
}

.h2 {
    font-size: 2.4rem;
}

.h3 {
    font-size: 1.4rem;
}

.h4 {
    font-size: 0.8rem;
}

.fld-red {
    color: #e74c3c;
}

.fld-roxo {
    color: #8e44ad;
}

.fld-azul {
    color: #3498db;
}

.fld-verde {
    color: #2ecc71;
}

.fld-amarelo {
    color: #f1c40f;
}

pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
}

.sombra {
    text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.4);
}

.gradient-bg {
    background: linear-gradient(135deg, rgb(43, 103, 201) 0%, rgb(44, 46, 172) 50%, rgb(18, 11, 139) 100%);
}

.mao {
    cursor: zoom-in;
}