/*==========================================================
 SMART LINKOS
 DASHBOARD.CSS
 Dashboard Principal
 Versão 1.0
==========================================================*/

/*==========================================================
 RESET
==========================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/*==========================================================
 VARIÁVEIS
==========================================================*/

:root{

    --sidebar-width:270px;

    --sidebar-collapse:80px;

    --topbar-height:80px;

    --primary:#0d6efd;

    --secondary:#1f2937;

    --success:#198754;

    --warning:#ffc107;

    --danger:#dc3545;

    --info:#0dcaf0;

    --light:#ffffff;

    --background:#f4f6f9;

    --text:#333333;

    --border:#e5e5e5;

    --shadow:0 5px 15px rgba(0,0,0,.08);

    --radius:12px;

    --transition:.30s;

}

/*==========================================================
 BODY
==========================================================*/

body{

    font-family:Arial, Helvetica, sans-serif;

    background:var(--background);

    color:var(--text);

    overflow-x:hidden;

}

/*==========================================================
 LAYOUT
==========================================================*/

.dashboard{

    display:flex;

    min-height:100vh;

}

/*==========================================================
 SIDEBAR
==========================================================*/

.sidebar{

    width:var(--sidebar-width);

    position:fixed;

    top:0;

    left:0;

    bottom:0;

    background:var(--secondary);

    color:#ffffff;

    overflow-y:auto;

    transition:var(--transition);

    box-shadow:3px 0 12px rgba(0,0,0,.10);

    z-index:1000;

}

/*==========================================================
 SIDEBAR COLAPSADA
==========================================================*/

.sidebar.collapsed{

    width:var(--sidebar-collapse);

}

/*==========================================================
 LOGO
==========================================================*/

.sidebar .logo{

    text-align:center;

    padding:30px 20px;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.sidebar .logo img{

    width:70px;

    margin:auto;

    margin-bottom:15px;

}

.sidebar .logo h2{

    font-size:24px;

    color:#ffffff;

}

.sidebar .logo p{

    margin-top:10px;

    color:#cbd5e1;

    font-size:14px;

}

/*==========================================================
 MENU
==========================================================*/

.sidebar ul{

    list-style:none;

    margin-top:20px;

}

.sidebar ul li{

    width:100%;

}

.sidebar ul li a{

    display:flex;

    align-items:center;

    gap:18px;

    padding:16px 25px;

    color:#ffffff;

    text-decoration:none;

    transition:var(--transition);

}

.sidebar ul li a:hover{

    background:var(--primary);

}

.sidebar ul li.active a{

    background:var(--primary);

}

.sidebar ul li i{

    width:24px;

    text-align:center;

    font-size:18px;

}

/*==========================================================
 SUBMENU
==========================================================*/

.sidebar ul ul{

    display:none;

    background:#273446;

}

.sidebar ul ul.show{

    display:block;

}

.sidebar ul ul li a{

    padding-left:60px;

    font-size:14px;

}

/*==========================================================
 SIDEBAR COLAPSADA
==========================================================*/

.sidebar.collapsed span{

    display:none;

}

.sidebar.collapsed .logo h2{

    display:none;

}

.sidebar.collapsed .logo p{

    display:none;

}

.sidebar.collapsed ul li a{

    justify-content:center;

}

.sidebar.collapsed ul li a i{

    margin:0;

}

/*==========================================================
 SCROLLBAR
==========================================================*/

.sidebar::-webkit-scrollbar{

    width:8px;

}

.sidebar::-webkit-scrollbar-track{

    background:#26313f;

}

.sidebar::-webkit-scrollbar-thumb{

    background:#4a5a70;

    border-radius:20px;

}

.sidebar::-webkit-scrollbar-thumb:hover{

    background:#5d7088;

}

/*==========================================================
 ÁREA PRINCIPAL
==========================================================*/

.main-content{

    flex:1;

    margin-left:var(--sidebar-width);

    min-height:100vh;

    transition:var(--transition);

    background:var(--background);

}

.sidebar.collapsed + .main-content{

    margin-left:var(--sidebar-collapse);

}

/*==========================================================
 CONTAINER
==========================================================*/

.dashboard-container{

    padding:30px;

}

/*==========================================================
 SEPARADORES
==========================================================*/

.divider{

    height:1px;

    background:var(--border);

    margin:25px 0;

}

/*==========================================================
 TÍTULOS
==========================================================*/

.dashboard-title{

    font-size:30px;

    margin-bottom:10px;

}

.dashboard-subtitle{

    color:#666666;

    margin-bottom:25px;

}

/*==========================================================
 FIM DA PARTE 1
==========================================================*/
/*==========================================================
 TOPBAR
==========================================================*/

.topbar{

    height:var(--topbar-height);

    background:#ffffff;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 30px;

    box-shadow:var(--shadow);

    position:sticky;

    top:0;

    z-index:900;

}

/*==========================================================
 BOTÃO MENU
==========================================================*/

.menu-toggle{

    font-size:24px;

    cursor:pointer;

    color:var(--secondary);

    transition:.3s;

}

.menu-toggle:hover{

    color:var(--primary);

}

/*==========================================================
 PESQUISA
==========================================================*/

.search-box{

    flex:1;

    max-width:450px;

    margin:0 40px;

    position:relative;

}

.search-box input{

    width:100%;

    padding:12px 45px 12px 18px;

    border:1px solid var(--border);

    border-radius:30px;

    outline:none;

    transition:.3s;

    background:#fafafa;

}

.search-box input:focus{

    border-color:var(--primary);

    background:#ffffff;

}

.search-box i{

    position:absolute;

    right:18px;

    top:50%;

    transform:translateY(-50%);

    color:#888;

}

/*==========================================================
 TOPO DIREITO
==========================================================*/

.topbar-right{

    display:flex;

    align-items:center;

    gap:25px;

}

/*==========================================================
 NOTIFICAÇÕES
==========================================================*/

.notification{

    position:relative;

    cursor:pointer;

    font-size:22px;

    color:#555;

}

.notification:hover{

    color:var(--primary);

}

.notification .badge{

    position:absolute;

    top:-6px;

    right:-8px;

    background:var(--danger);

    color:#ffffff;

    font-size:11px;

    padding:2px 7px;

    border-radius:50%;

    font-weight:bold;

}

/*==========================================================
 PERFIL
==========================================================*/

.user-profile{

    display:flex;

    align-items:center;

    gap:15px;

}

.user-profile img{

    width:46px;

    height:46px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid var(--primary);

}

/*==========================================================
 AVATAR DENTRO DE .user-info
 PARA QUE SERVE: o HTML usa <div class="user-info"> como o
 contentor de TUDO (imagem + nome/email), mas a regra ".user-info"
 já existente só tratava do texto - a imagem nunca tinha tamanho
 definido, por isso aparecia enorme (tamanho natural do ficheiro).
==========================================================*/

.topbar .user-info{

    flex-direction:row;

    align-items:center;

    gap:15px;

}

.topbar .user-info img{

    width:46px;

    height:46px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid var(--primary);

    flex-shrink:0;

}

.topbar .user-info > div{

    display:flex;

    flex-direction:column;

}

.topbar .user-info p{

    color:#777;

    font-size:13px;

    margin:0;

}

.user-info{

    display:flex;

    flex-direction:column;

}

.user-info strong{

    font-size:15px;

}

.user-info span{

    color:#777;

    font-size:13px;

}

/*==========================================================
 GRID PRINCIPAL
==========================================================*/

.dashboard-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

}

/*==========================================================
 CARTÕES DE KPI (secção "cards"/"card")
 PARA QUE SERVE: o HTML dos dashboards usa <section class="cards">
 e <div class="card"> para os KPIs (Alunos, Professores, Cursos,
 Salas, etc.) - mas essas classes nunca tinham sido escritas aqui,
 só existia ".kpi-card"/".dashboard-grid" (nomes diferentes, nunca
 usados no HTML). Sem isto, os cartões apareciam como uma lista
 simples, sem grelha, sem caixa branca, sem ícone nem sombra.
==========================================================*/

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-bottom:30px;

}

.card{

    background:#ffffff;

    border-radius:var(--radius);

    padding:25px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-6px);

}

.card i{

    font-size:40px;

    color:var(--primary);

    margin-bottom:15px;

}

.card h2{

    font-size:34px;

    margin-bottom:10px;

}

.card p{

    color:#666666;

}

/*==========================================================
 KPI
==========================================================*/

.kpi-card{

    background:#ffffff;

    border-radius:var(--radius);

    padding:25px;

    box-shadow:var(--shadow);

    transition:.3s;

    position:relative;

    overflow:hidden;

}

.kpi-card:hover{

    transform:translateY(-5px);

}

.kpi-card h3{

    font-size:16px;

    color:#666;

    margin-bottom:15px;

}

.kpi-card h2{

    font-size:34px;

    margin-bottom:10px;

}

.kpi-card p{

    color:#888;

    font-size:14px;

}

.kpi-card i{

    position:absolute;

    top:20px;

    right:20px;

    font-size:42px;

    opacity:.15;

}

/*==========================================================
 CORES KPI
==========================================================*/

.kpi-primary{

    border-left:6px solid var(--primary);

}

.kpi-success{

    border-left:6px solid var(--success);

}

.kpi-warning{

    border-left:6px solid var(--warning);

}

.kpi-danger{

    border-left:6px solid var(--danger);

}

.kpi-info{

    border-left:6px solid var(--info);

}

/*==========================================================
 WIDGETS
==========================================================*/

.widget{

    background:#ffffff;

    border-radius:var(--radius);

    padding:25px;

    box-shadow:var(--shadow);

}

.widget-title{

    font-size:20px;

    margin-bottom:20px;

}

.widget-body{

    min-height:180px;

}

/*==========================================================
 PAINÉIS
==========================================================*/

.panel{

    background:#ffffff;

    border-radius:var(--radius);

    padding:25px;

    box-shadow:var(--shadow);

    margin-bottom:30px;

}

.panel-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.panel-header h2{

    font-size:22px;

}

.panel-actions{

    display:flex;

    gap:10px;

}

/*==========================================================
 ESTATÍSTICAS
==========================================================*/

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

}

.stat-box{

    background:#ffffff;

    border-radius:var(--radius);

    padding:20px;

    text-align:center;

    box-shadow:var(--shadow);

}

.stat-box h2{

    font-size:34px;

    color:var(--primary);

    margin-bottom:10px;

}

.stat-box p{

    color:#666;

}

/*==========================================================
 AÇÕES RÁPIDAS
==========================================================*/

.quick-actions{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

}

.quick-actions a{

    padding:12px 22px;

    background:var(--primary);

    color:#ffffff;

    border-radius:8px;

    text-decoration:none;

    transition:.3s;

}

.quick-actions a:hover{

    background:#084fc7;

}

/*==========================================================
 CAIXA DE INFORMAÇÃO
==========================================================*/

.info-box{

    background:#ffffff;

    border-left:5px solid var(--info);

    padding:20px;

    border-radius:8px;

    box-shadow:var(--shadow);

    margin-bottom:20px;

}

.info-box h4{

    margin-bottom:10px;

}

.info-box p{

    color:#666;

}

/*==========================================================
 FIM DA PARTE 2
==========================================================*/
/*==========================================================
 TABELAS
==========================================================*/

.table-container{

    width:100%;

    overflow-x:auto;

    background:#ffffff;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.table{

    width:100%;

    border-collapse:collapse;

    min-width:900px;

}

.table thead{

    background:var(--primary);

    color:#ffffff;

}

.table thead th{

    padding:16px;

    text-align:left;

    font-weight:600;

}

.table tbody tr{

    border-bottom:1px solid var(--border);

    transition:.25s;

}

.table tbody tr:hover{

    background:#f8f9fa;

}

.table tbody td{

    padding:15px;

    color:#444;

    vertical-align:middle;

}

/*==========================================================
 TABELAS ZEBRADAS
==========================================================*/

.table-striped tbody tr:nth-child(even){

    background:#fafafa;

}

/*==========================================================
 BOTÕES
==========================================================*/

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:10px 20px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    text-decoration:none;

    transition:.3s;

    font-size:15px;

}

.btn-primary{

    background:var(--primary);

    color:#ffffff;

}

.btn-primary:hover{

    background:#0a58ca;

}

.btn-success{

    background:var(--success);

    color:#ffffff;

}

.btn-success:hover{

    background:#157347;

}

.btn-warning{

    background:var(--warning);

    color:#000000;

}

.btn-warning:hover{

    background:#e0a800;

}

.btn-danger{

    background:var(--danger);

    color:#ffffff;

}

.btn-danger:hover{

    background:#bb2d3b;

}

.btn-info{

    background:var(--info);

    color:#ffffff;

}

.btn-info:hover{

    background:#31d2f2;

}

.btn-secondary{

    background:#6c757d;

    color:#ffffff;

}

.btn-secondary:hover{

    background:#565e64;

}

/*==========================================================
 BOTÕES PEQUENOS
==========================================================*/

.btn-sm{

    padding:7px 14px;

    font-size:13px;

}

/*==========================================================
 BOTÕES GRANDES
==========================================================*/

.btn-lg{

    padding:15px 30px;

    font-size:18px;

}

/*==========================================================
 FORMULÁRIOS
==========================================================*/

.form-group{

    margin-bottom:20px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

.form-control{

    width:100%;

    padding:12px 15px;

    border:1px solid var(--border);

    border-radius:8px;

    outline:none;

    transition:.3s;

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:0 0 6px rgba(13,110,253,.25);

}

/*==========================================================
 SELECT
==========================================================*/

select.form-control{

    cursor:pointer;

}

/*==========================================================
 TEXTAREA
==========================================================*/

textarea.form-control{

    resize:vertical;

    min-height:140px;

}

/*==========================================================
 CHECKBOX
==========================================================*/

.checkbox-group{

    display:flex;

    align-items:center;

    gap:10px;

}

/*==========================================================
 RADIO
==========================================================*/

.radio-group{

    display:flex;

    gap:20px;

    align-items:center;

}

/*==========================================================
 BADGES
==========================================================*/

.badge{

    display:inline-block;

    padding:6px 12px;

    border-radius:20px;

    font-size:12px;

    font-weight:bold;

}

.badge-success{

    background:#d1e7dd;

    color:#146c43;

}

.badge-warning{

    background:#fff3cd;

    color:#997404;

}

.badge-danger{

    background:#f8d7da;

    color:#842029;

}

.badge-info{

    background:#cff4fc;

    color:#055160;

}

.badge-primary{

    background:#cfe2ff;

    color:#084298;

}

/*==========================================================
 PAGINAÇÃO
==========================================================*/

.pagination{

    display:flex;

    justify-content:center;

    gap:10px;

    margin-top:30px;

}

.pagination a{

    width:40px;

    height:40px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#ffffff;

    border-radius:8px;

    text-decoration:none;

    color:#333;

    box-shadow:var(--shadow);

    transition:.3s;

}

.pagination a:hover{

    background:var(--primary);

    color:#ffffff;

}

.pagination .active{

    background:var(--primary);

    color:#ffffff;

}

/*==========================================================
 BARRA DE PESQUISA
==========================================================*/

.table-search{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

    gap:20px;

}

.table-search input{

    width:320px;

    padding:12px;

    border:1px solid var(--border);

    border-radius:8px;

}

/*==========================================================
 FILTROS
==========================================================*/

.filters{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:20px;

}

/*==========================================================
 TOOLBAR
==========================================================*/

.toolbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

    flex-wrap:wrap;

    gap:20px;

}

/*==========================================================
 AÇÕES
==========================================================*/

.actions{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

}

/*==========================================================
 FIM DA PARTE 3
==========================================================*/
/*==========================================================
 MODAIS
==========================================================*/

.modal{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.modal.show{

    display:flex;

}

.modal-content{

    background:#ffffff;

    width:90%;

    max-width:700px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    animation:modalOpen .30s ease;

    overflow:hidden;

}

.modal-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 25px;

    background:var(--primary);

    color:#ffffff;

}

.modal-header h2{

    font-size:22px;

}

.modal-close{

    font-size:26px;

    cursor:pointer;

    transition:.3s;

}

.modal-close:hover{

    transform:rotate(90deg);

}

.modal-body{

    padding:25px;

}

.modal-footer{

    padding:20px 25px;

    display:flex;

    justify-content:flex-end;

    gap:15px;

    border-top:1px solid var(--border);

}

/*==========================================================
 ALERTAS
==========================================================*/

.alert{

    padding:16px 20px;

    border-radius:8px;

    margin-bottom:20px;

    font-weight:500;

}

.alert-success{

    background:#d1e7dd;

    color:#0f5132;

    border-left:5px solid var(--success);

}

.alert-warning{

    background:#fff3cd;

    color:#664d03;

    border-left:5px solid var(--warning);

}

.alert-danger{

    background:#f8d7da;

    color:#842029;

    border-left:5px solid var(--danger);

}

.alert-info{

    background:#cff4fc;

    color:#055160;

    border-left:5px solid var(--info);

}

/*==========================================================
 NOTIFICAÇÕES
==========================================================*/

.notification-list{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.notification-item{

    display:flex;

    align-items:center;

    gap:15px;

    padding:18px;

    background:#ffffff;

    border-radius:10px;

    box-shadow:var(--shadow);

    transition:.3s;

}

.notification-item:hover{

    transform:translateY(-2px);

}

.notification-icon{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--primary);

    color:#ffffff;

    font-size:20px;

}

.notification-text{

    flex:1;

}

.notification-time{

    font-size:12px;

    color:#888;

}

/*==========================================================
 LOADER
==========================================================*/

.loader{

    width:60px;

    height:60px;

    border:6px solid #eeeeee;

    border-top:6px solid var(--primary);

    border-radius:50%;

    animation:spin 1s linear infinite;

    margin:auto;

}

.loading-overlay{

    position:fixed;

    inset:0;

    display:none;

    justify-content:center;

    align-items:center;

    background:rgba(255,255,255,.8);

    z-index:99999;

}

/*==========================================================
 BARRAS DE PROGRESSO
==========================================================*/

.progress{

    width:100%;

    background:#e9ecef;

    border-radius:20px;

    overflow:hidden;

    height:20px;

}

.progress-bar{

    height:100%;

    background:var(--primary);

    color:#ffffff;

    text-align:center;

    font-size:12px;

    line-height:20px;

    transition:width .5s;

}

/*==========================================================
 TIMELINE
==========================================================*/

.timeline{

    position:relative;

    margin-left:30px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:-15px;

    top:0;

    width:3px;

    height:100%;

    background:var(--primary);

}

.timeline-item{

    position:relative;

    margin-bottom:35px;

}

.timeline-item::before{

    content:"";

    position:absolute;

    left:-23px;

    width:16px;

    height:16px;

    border-radius:50%;

    background:var(--primary);

}

.timeline-content{

    background:#ffffff;

    padding:20px;

    border-radius:10px;

    box-shadow:var(--shadow);

}

/*==========================================================
 CALENDÁRIO
==========================================================*/

.calendar{

    background:#ffffff;

    border-radius:var(--radius);

    padding:20px;

    box-shadow:var(--shadow);

}

.calendar-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.calendar-grid{

    display:grid;

    grid-template-columns:repeat(7,1fr);

    gap:10px;

}

.calendar-day{

    min-height:80px;

    border:1px solid var(--border);

    border-radius:8px;

    padding:10px;

    transition:.3s;

}

.calendar-day:hover{

    background:#f5f7fa;

}

.calendar-day.today{

    border:2px solid var(--primary);

}

/*==========================================================
 ESTADOS
==========================================================*/

.online{

    color:var(--success);

}

.offline{

    color:var(--danger);

}

.pending{

    color:var(--warning);

}

/*==========================================================
 AVATAR
==========================================================*/

.avatar{

    width:48px;

    height:48px;

    border-radius:50%;

    object-fit:cover;

}

.avatar-lg{

    width:90px;

    height:90px;

}

.avatar-sm{

    width:32px;

    height:32px;

}

/*==========================================================
 TOOLTIP
==========================================================*/

.tooltip{

    position:relative;

    cursor:pointer;

}

.tooltip:hover::after{

    content:attr(data-title);

    position:absolute;

    left:50%;

    transform:translateX(-50%);

    bottom:120%;

    background:#333333;

    color:#ffffff;

    padding:8px 12px;

    border-radius:6px;

    font-size:12px;

    white-space:nowrap;

}

/*==========================================================
 KEYFRAMES
==========================================================*/

@keyframes spin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

@keyframes modalOpen{

    from{

        opacity:0;

        transform:scale(.90);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

/*==========================================================
 FIM DA PARTE 4
==========================================================*/
/*==========================================================
 RESPONSIVIDADE
==========================================================*/

@media screen and (max-width:1200px){

    .dashboard-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .stats-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

/*==========================================================
 TABLET
==========================================================*/

@media screen and (max-width:992px){

    .sidebar{

        width:80px;

    }

    .sidebar .logo h2,
    .sidebar .logo p,
    .sidebar span{

        display:none;

    }

    .sidebar ul li a{

        justify-content:center;

        padding:18px;

    }

    .sidebar ul li a i{

        margin:0;

        font-size:20px;

    }

    .main-content{

        margin-left:80px;

    }

    .topbar{

        padding:15px 20px;

    }

    .search-box{

        display:none;

    }

    .dashboard-grid{

        grid-template-columns:1fr;

    }

    .stats-grid{

        grid-template-columns:1fr;

    }

}

/*==========================================================
 MOBILE
==========================================================*/

@media screen and (max-width:768px){

    .sidebar{

        left:-270px;

    }

    .sidebar.open{

        left:0;

    }

    .main-content{

        margin-left:0;

    }

    .topbar{

        flex-wrap:wrap;

        height:auto;

        gap:15px;

        padding:20px;

    }

    .topbar-right{

        width:100%;

        justify-content:space-between;

    }

    .dashboard-container{

        padding:20px;

    }

    .panel-header{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .toolbar{

        flex-direction:column;

        align-items:flex-start;

    }

    .table-search{

        flex-direction:column;

        align-items:flex-start;

    }

    .table-search input{

        width:100%;

    }

    .quick-actions{

        flex-direction:column;

    }

    .modal-content{

        width:95%;

    }

}

/*==========================================================
 MOBILE PEQUENO
==========================================================*/

@media screen and (max-width:480px){

    .dashboard-title{

        font-size:24px;

    }

    .topbar{

        padding:15px;

    }

    .user-info{

        display:none;

    }

    .kpi-card{

        padding:20px;

    }

    .widget{

        padding:20px;

    }

    .panel{

        padding:20px;

    }

    .calendar-grid{

        gap:5px;

    }

    .calendar-day{

        min-height:60px;

        font-size:12px;

    }

}

/*==========================================================
 TEMA ESCURO
==========================================================*/

body.dark{

    background:#1b1b1b;

    color:#ffffff;

}

body.dark .topbar,

body.dark .panel,

body.dark .widget,

body.dark .table-container,

body.dark .calendar,

body.dark .modal-content,

body.dark .kpi-card,

body.dark .stat-box,

body.dark .info-box{

    background:#2c2c2c;

    color:#ffffff;

}

body.dark .table tbody tr:hover{

    background:#363636;

}

body.dark .table tbody td{

    color:#dddddd;

}

body.dark .form-control{

    background:#3a3a3a;

    color:#ffffff;

    border:1px solid #555555;

}

body.dark .sidebar{

    background:#111827;

}

body.dark .search-box input{

    background:#3a3a3a;

    color:#ffffff;

}

/*==========================================================
 UTILITÁRIOS
==========================================================*/

.text-center{

    text-align:center;

}

.text-left{

    text-align:left;

}

.text-right{

    text-align:right;

}

.mt-1{

    margin-top:10px;

}

.mt-2{

    margin-top:20px;

}

.mt-3{

    margin-top:30px;

}

.mt-4{

    margin-top:40px;

}

.mt-5{

    margin-top:50px;

}

.mb-1{

    margin-bottom:10px;

}

.mb-2{

    margin-bottom:20px;

}

.mb-3{

    margin-bottom:30px;

}

.mb-4{

    margin-bottom:40px;

}

.mb-5{

    margin-bottom:50px;

}

.p-1{

    padding:10px;

}

.p-2{

    padding:20px;

}

.p-3{

    padding:30px;

}

.w-100{

    width:100%;

}

.d-flex{

    display:flex;

}

.justify-between{

    justify-content:space-between;

}

.align-center{

    align-items:center;

}

.gap-10{

    gap:10px;

}

.gap-20{

    gap:20px;

}

.shadow{

    box-shadow:var(--shadow);

}

.rounded{

    border-radius:var(--radius);

}

.hidden{

    display:none;

}

.visible{

    display:block;

}

/*==========================================================
 IMPRESSÃO
==========================================================*/

@media print{

    .sidebar,

    .topbar,

    .toolbar,

    .actions,

    button{

        display:none;

    }

    .main-content{

        margin:0;

        width:100%;

    }

}

/*==========================================================
 SMART LINKOS
 DASHBOARD.CSS
 VERSÃO 1.0
 FIM DO FICHEIRO
==========================================================*/