/*==========================================================
 SMART LINKOS
 Folha de Estilos Principal
 Versão: 1.0
==========================================================*/

/*==========================================================
 RESET
==========================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:Arial, Helvetica, sans-serif;

    background:#f4f6f9;

    color:#333;

    line-height:1.6;

}

/*==========================================================
 VARIÁVEIS
==========================================================*/

:root{

    --cor-primaria:#0d6efd;

    --cor-secundaria:#1f2937;

    --cor-sucesso:#198754;

    --cor-alerta:#ffc107;

    --cor-perigo:#dc3545;

    --cor-claro:#ffffff;

    --cor-fundo:#f4f6f9;

    --cor-texto:#333333;

    --cor-borda:#dcdcdc;

    --sombra:0 4px 15px rgba(0,0,0,.10);

    --raio:10px;

}

/*==========================================================
 LINKS
==========================================================*/

a{

    text-decoration:none;

    color:var(--cor-primaria);

}

a:hover{

    text-decoration:underline;

}

/*==========================================================
 IMAGENS
==========================================================*/

img{

    max-width:100%;

    display:block;

}

/*==========================================================
 CABEÇALHO
==========================================================*/

header{

    width:100%;

    background:var(--cor-secundaria);

    color:#fff;

    padding:20px;

    text-align:center;

    box-shadow:var(--sombra);

}

header h1{

    font-size:34px;

    margin-bottom:5px;

}

header p{

    opacity:.85;

}

/*==========================================================
 NAVEGAÇÃO
==========================================================*/

nav{

    background:#ffffff;

    border-bottom:1px solid var(--cor-borda);

}

nav ul{

    list-style:none;

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

}

nav li{

    margin:0 10px;

}

nav a{

    display:block;

    padding:18px;

    color:#333;

    font-weight:bold;

}

nav a:hover{

    color:var(--cor-primaria);

}

/*==========================================================
 CONTAINER
==========================================================*/

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

    padding:40px 20px;

}

/*==========================================================
 TÍTULOS
==========================================================*/

h1{

    margin-bottom:10px;

}

h2{

    margin-bottom:20px;

    color:var(--cor-secundaria);

}

h3{

    margin:20px 0 10px;

}

/*==========================================================
 PARÁGRAFOS
==========================================================*/

p{

    margin-bottom:15px;

}

/*==========================================================
 BOTÕES
==========================================================*/

button{

    width:100%;

    background:var(--cor-primaria);

    color:#fff;

    border:none;

    padding:15px;

    border-radius:var(--raio);

    cursor:pointer;

    font-size:16px;

    transition:.3s;

}

button:hover{

    background:#0956c5;

}

/*==========================================================
 BOTÕES SECUNDÁRIOS
==========================================================*/

.btn{

    display:inline-block;

    padding:12px 20px;

    border-radius:var(--raio);

    background:var(--cor-primaria);

    color:#fff;

    transition:.3s;

}

.btn:hover{

    background:#0956c5;

    text-decoration:none;

}

/*==========================================================
 SEPARADOR
==========================================================*/

hr{

    margin:30px 0;

    border:none;

    border-top:1px solid var(--cor-borda);

}

/*==========================================================
 CARTÕES
==========================================================*/

.card{

    background:#fff;

    border-radius:var(--raio);

    box-shadow:var(--sombra);

    padding:25px;

    margin-bottom:20px;

}

/*==========================================================
 MENSAGENS
==========================================================*/

.sucesso{

    color:var(--cor-sucesso);

}

.erro{

    color:var(--cor-perigo);

}

.alerta{

    color:#856404;

}

/*==========================================================
 FIM DA PARTE 1
==========================================================*/
/*==========================================================
 LOGIN
==========================================================*/

.login-container{

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

    background:#f4f6f9;

}

/*==========================================================
 CAIXA LOGIN
==========================================================*/

.login-box{

    width:100%;

    max-width:500px;

    background:#ffffff;

    padding:40px;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.10);

}

.login-box h1{

    text-align:center;

    color:#0d6efd;

    margin-bottom:10px;

}

.login-box h2{

    text-align:center;

    margin-bottom:30px;

    color:#444;

}

.login-box p{

    text-align:center;

}

/*==========================================================
 LOGÓTIPO
==========================================================*/

.logo{

    display:block;

    margin:0 auto 20px auto;

    width:120px;

    height:auto;

}

/*==========================================================
 FORMULÁRIOS
==========================================================*/

form{

    width:100%;

}

/*==========================================================
 INPUT GROUP
==========================================================*/

.input-group{

    margin-bottom:20px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    font-weight:bold;

    color:#444;

}

/*==========================================================
 INPUT
==========================================================*/

input{

    width:100%;

    padding:14px;

    border:1px solid #dcdcdc;

    border-radius:8px;

    font-size:15px;

    transition:.3s;

}

input:focus{

    outline:none;

    border-color:#0d6efd;

    box-shadow:0 0 5px rgba(13,110,253,.30);

}

/*==========================================================
 SELECT
==========================================================*/

select{

    width:100%;

    padding:14px;

    border-radius:8px;

    border:1px solid #dcdcdc;

    background:#ffffff;

    font-size:15px;

}

/*==========================================================
 TEXTAREA
==========================================================*/

textarea{

    width:100%;

    padding:14px;

    border-radius:8px;

    border:1px solid #dcdcdc;

    resize:vertical;

    font-size:15px;

}

/*==========================================================
 BOTÃO DOS FORMULÁRIOS
==========================================================*/

form button{

    margin-top:10px;

}

/*==========================================================
 LINKS LOGIN
==========================================================*/

.links{

    margin-top:25px;

    text-align:center;

}

.links a{

    color:#0d6efd;

    font-weight:bold;

}

.links a:hover{

    text-decoration:underline;

}

/*==========================================================
 DESCRIÇÃO
==========================================================*/

.descricao{

    margin-bottom:20px;

    color:#666;

    text-align:center;

}

/*==========================================================
 SETUP
==========================================================*/

#setupForm h3{

    color:#0d6efd;

    margin-top:15px;

    margin-bottom:15px;

}

#resultado{

    margin-top:25px;

    padding:15px;

    border-radius:8px;

    text-align:center;

    font-weight:bold;

}

/*==========================================================
 ALERTAS
==========================================================*/

.alert-success{

    background:#d1e7dd;

    color:#0f5132;

    border:1px solid #badbcc;

}

.alert-danger{

    background:#f8d7da;

    color:#842029;

    border:1px solid #f5c2c7;

}

.alert-warning{

    background:#fff3cd;

    color:#664d03;

    border:1px solid #ffecb5;

}

/*==========================================================
 PÁGINAS INSTITUCIONAIS
==========================================================*/

section{

    background:#ffffff;

    padding:30px;

    border-radius:10px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    margin-bottom:30px;

}

section h2{

    color:#0d6efd;

}

section ul{

    margin-top:15px;

    margin-left:25px;

}

section li{

    margin-bottom:8px;

}

/*==========================================================
 CONTACTOS
==========================================================*/

.contacto{

    margin-top:20px;

    padding:20px;

    border-left:5px solid #0d6efd;

    background:#f9f9f9;

}

/*==========================================================
 RODAPÉ
==========================================================*/

footer{

    margin-top:50px;

    padding:20px;

    text-align:center;

    background:#1f2937;

    color:#ffffff;

}

footer p{

    margin:0;

}

/*==========================================================
 FIM DA PARTE 2
==========================================================*/
/*==========================================================
PÁGINA INICIAL
==========================================================*/

.hero{

    width:100%;

    background:linear-gradient(135deg,#0d6efd,#003d99);

    color:#ffffff;

    padding:90px 20px;

    text-align:center;

}

.hero h1{

    font-size:48px;

    margin-bottom:20px;

    color:#ffffff;

}

.hero p{

    font-size:20px;

    max-width:850px;

    margin:auto;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.hero-buttons .btn{

    min-width:180px;

}

/*==========================================================
SECÇÕES
==========================================================*/

.section{

    padding:70px 20px;

}

.section-title{

    text-align:center;

    margin-bottom:50px;

}

.section-title h2{

    font-size:36px;

}

.section-title p{

    color:#666;

    max-width:700px;

    margin:auto;

}

/*==========================================================
GRELHA
==========================================================*/

.grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

/*==========================================================
CARDS FUNCIONALIDADES
==========================================================*/

.feature-card{

    background:#ffffff;

    padding:35px;

    border-radius:12px;

    text-align:center;

    box-shadow:0 6px 18px rgba(0,0,0,.08);

    transition:.30s;

}

.feature-card:hover{

    transform:translateY(-8px);

}

.feature-card i{

    font-size:48px;

    color:#0d6efd;

    margin-bottom:20px;

}

.feature-card h3{

    margin-bottom:15px;

}

.feature-card p{

    color:#666;

}

/*==========================================================
ESTATÍSTICAS
==========================================================*/

.stats{

    background:#0d6efd;

    color:#ffffff;

    padding:70px 20px;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.stat{

    text-align:center;

}

.stat h2{

    color:#ffffff;

    font-size:42px;

}

.stat p{

    font-size:18px;

}

/*==========================================================
ÁREA DE PERFIS
==========================================================*/

.roles{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

.role-card{

    background:#ffffff;

    border-radius:10px;

    padding:30px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.role-card i{

    font-size:45px;

    color:#0d6efd;

    margin-bottom:20px;

}

.role-card h3{

    margin-bottom:15px;

}

/*==========================================================
TIMELINE
==========================================================*/

.timeline{

    position:relative;

    margin-top:40px;

}

.timeline-item{

    background:#ffffff;

    margin-bottom:25px;

    padding:25px;

    border-left:5px solid #0d6efd;

    box-shadow:0 5px 12px rgba(0,0,0,.06);

}

/*==========================================================
CHAMADA PARA AÇÃO
==========================================================*/

.cta{

    background:#003d99;

    color:#ffffff;

    padding:70px 20px;

    text-align:center;

}

.cta h2{

    color:#ffffff;

    margin-bottom:20px;

}

.cta p{

    max-width:750px;

    margin:auto;

    margin-bottom:30px;

}

/*==========================================================
TABELAS
==========================================================*/

table{

    width:100%;

    border-collapse:collapse;

    background:#ffffff;

    margin-top:20px;

}

table th{

    background:#0d6efd;

    color:#ffffff;

    padding:15px;

    text-align:left;

}

table td{

    padding:15px;

    border-bottom:1px solid #e5e5e5;

}

table tr:hover{

    background:#f8f8f8;

}

/*==========================================================
LISTAS
==========================================================*/

ul.lista{

    list-style:none;

}

ul.lista li{

    padding:12px;

    border-bottom:1px solid #ececec;

}

ul.lista li:last-child{

    border-bottom:none;

}

/*==========================================================
BADGES
==========================================================*/

.badge{

    display:inline-block;

    padding:6px 12px;

    border-radius:20px;

    font-size:13px;

    font-weight:bold;

}

.badge-success{

    background:#198754;

    color:#ffffff;

}

.badge-warning{

    background:#ffc107;

    color:#000000;

}

.badge-danger{

    background:#dc3545;

    color:#ffffff;

}

/*==========================================================
FIM DA PARTE 3
==========================================================*/
/*==========================================================
 DASHBOARDS
==========================================================*/

.dashboard{

    display:flex;

    min-height:100vh;

    background:#f4f6f9;

}

/*==========================================================
 MENU LATERAL
==========================================================*/

.sidebar{

    width:260px;

    background:#1f2937;

    color:#ffffff;

    position:fixed;

    top:0;

    left:0;

    bottom:0;

    overflow-y:auto;

    box-shadow:3px 0 10px rgba(0,0,0,.10);

}

.sidebar .logo{

    padding:30px 20px;

    text-align:center;

    border-bottom:1px solid rgba(255,255,255,.15);

}

.sidebar .logo h2{

    color:#ffffff;

}

.sidebar .logo p{

    color:#cbd5e1;

    margin-top:8px;

}

.sidebar ul{

    list-style:none;

}

.sidebar ul li{

    border-bottom:1px solid rgba(255,255,255,.05);

}

.sidebar ul li a{

    display:flex;

    align-items:center;

    gap:15px;

    padding:18px 25px;

    color:#ffffff;

    transition:.3s;

}

.sidebar ul li a:hover{

    background:#0d6efd;

    text-decoration:none;

}

.sidebar ul li.active a{

    background:#0d6efd;

}

.sidebar i{

    width:22px;

    text-align:center;

}

/*==========================================================
 CONTEÚDO
==========================================================*/

.main-content{

    margin-left:260px;

    width:calc(100% - 260px);

    padding:30px;

}

/*==========================================================
 BARRA SUPERIOR
==========================================================*/

.topbar{

    background:#ffffff;

    border-radius:12px;

    padding:20px 30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    margin-bottom:30px;

}

.user-info{

    display:flex;

    align-items:center;

    gap:15px;

}

.user-info img{

    width:55px;

    height:55px;

    border-radius:50%;

    object-fit:cover;

}

.user-info strong{

    display:block;

}

/*==========================================================
 CARDS DASHBOARD
==========================================================*/

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}

.card{

    background:#ffffff;

    border-radius:12px;

    padding:25px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;

}

.card:hover{

    transform:translateY(-6px);

}

.card i{

    font-size:40px;

    color:#0d6efd;

    margin-bottom:15px;

}

.card h2{

    font-size:34px;

    margin-bottom:10px;

}

.card p{

    color:#666666;

}

/*==========================================================
 WIDGETS
==========================================================*/

.widget{

    background:#ffffff;

    border-radius:12px;

    padding:25px;

    margin-top:30px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.widget h3{

    margin-bottom:20px;

}

/*==========================================================
 PESQUISA
==========================================================*/

.search-box{

    display:flex;

    gap:10px;

    margin-bottom:25px;

}

.search-box input{

    flex:1;

}

.search-box button{

    width:auto;

    padding:14px 25px;

}

/*==========================================================
 NOTIFICAÇÕES
==========================================================*/

.notification{

    display:flex;

    align-items:center;

    gap:15px;

    padding:15px;

    border-bottom:1px solid #ececec;

}

.notification:last-child{

    border-bottom:none;

}

.notification i{

    color:#0d6efd;

    font-size:22px;

}

/*==========================================================
 PROGRESSO
==========================================================*/

.progress{

    width:100%;

    height:12px;

    background:#dddddd;

    border-radius:20px;

    overflow:hidden;

}

.progress-bar{

    height:12px;

    background:#0d6efd;

}

/*==========================================================
 PAGINAÇÃO
==========================================================*/

.pagination{

    display:flex;

    justify-content:center;

    margin-top:30px;

    gap:10px;

}

.pagination a{

    padding:10px 16px;

    border-radius:6px;

    background:#ffffff;

    box-shadow:0 3px 8px rgba(0,0,0,.08);

}

.pagination a:hover{

    background:#0d6efd;

    color:#ffffff;

    text-decoration:none;

}

/*==========================================================
 MODAIS
==========================================================*/

.modal{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    justify-content:center;

    align-items:center;

    z-index:999;

}

.modal-content{

    width:90%;

    max-width:650px;

    background:#ffffff;

    border-radius:12px;

    padding:30px;

}

.close{

    float:right;

    font-size:26px;

    cursor:pointer;

}

/*==========================================================
 TABELAS DOS DASHBOARDS
==========================================================*/

.table-responsive{

    overflow-x:auto;

}

/*==========================================================
 ESTADO
==========================================================*/

.online{

    color:#198754;

}

.offline{

    color:#dc3545;

}

.pending{

    color:#ffc107;

}

/*==========================================================
 FIM DA PARTE 4
==========================================================*/
/*==========================================================
 RESPONSIVIDADE
==========================================================*/

@media screen and (max-width:1200px){

    .container{

        width:95%;

    }

}

/*==========================================================
 TABLETS
==========================================================*/

@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;

    }

    .sidebar i{

        font-size:22px;

        margin:0;

    }

    .main-content{

        margin-left:80px;

        width:calc(100% - 80px);

    }

    .topbar{

        flex-direction:column;

        gap:20px;

        text-align:center;

    }

    .cards{

        grid-template-columns:repeat(2,1fr);

    }

}

/*==========================================================
 TELEMÓVEIS
==========================================================*/

@media screen and (max-width:768px){

    nav ul{

        flex-direction:column;

    }

    .hero{

        padding:60px 20px;

    }

    .hero h1{

        font-size:34px;

    }

    .hero p{

        font-size:18px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .grid{

        grid-template-columns:1fr;

    }

    .cards{

        grid-template-columns:1fr;

    }

    .roles{

        grid-template-columns:1fr;

    }

    .stats-grid{

        grid-template-columns:1fr;

    }

    .login-box{

        padding:25px;

    }

    .main-content{

        padding:20px;

    }

    .topbar{

        padding:20px;

    }

}

/*==========================================================
 TELEMÓVEIS PEQUENOS
==========================================================*/

@media screen and (max-width:480px){

    header h1{

        font-size:26px;

    }

    h2{

        font-size:24px;

    }

    .hero h1{

        font-size:28px;

    }

    .hero p{

        font-size:16px;

    }

    button{

        font-size:15px;

    }

    input,
    select,
    textarea{

        font-size:14px;

    }

}

/*==========================================================
 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%;

}

/*==========================================================
 ANIMAÇÕES
==========================================================*/

.fade-in{

    animation:fadeIn .6s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.zoom{

    transition:.3s;

}

.zoom:hover{

    transform:scale(1.03);

}

.rotate:hover{

    transform:rotate(2deg);

}

/*==========================================================
 SCROLLBAR
==========================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f1f1f1;

}

::-webkit-scrollbar-thumb{

    background:#0d6efd;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#003d99;

}

/*==========================================================
 IMPRESSÃO
==========================================================*/

@media print{

    header,
    nav,
    footer,
    .sidebar,
    button{

        display:none;

    }

    body{

        background:#ffffff;

    }

    .main-content{

        margin:0;

        width:100%;

        padding:0;

    }

}

/*==========================================================
 TEMA ESCURO (PREPARAÇÃO)
==========================================================*/

body.dark{

    background:#1b1b1b;

    color:#ffffff;

}

body.dark .card,
body.dark section,
body.dark .login-box,
body.dark .widget{

    background:#2b2b2b;

    color:#ffffff;

}

body.dark input,
body.dark select,
body.dark textarea{

    background:#3a3a3a;

    color:#ffffff;

    border:1px solid #555555;

}

body.dark .topbar{

    background:#2b2b2b;

}

body.dark footer{

    background:#111111;

}

/*==========================================================
 SMART LINKOS
 STYLE.CSS
 VERSÃO 1.0
 FIM DO FICHEIRO
==========================================================*/
