﻿body {
    color: #5c636a;
}
.main {
    padding-top: 6rem;
}

.login {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login form{
    width: 22rem !important;
}
.login .logo {
    width: 15rem;
}




/* General styles */
.header {
    top: 0;
    z-index: 1000;
    position: fixed;
    background-color: #f4f4f4;
    padding: 10px;
}
.header .logo {
    width: 12rem;
}
.header .menusection {
    display: flex;
    align-items: center;
    position: relative;
    gap: 1rem;
}
.header .icon {
    cursor: pointer;
    font-size: 1.3rem;
}



/* Default States */
.menu {
    transition: all ease-in-out 600ms;
    display: block;
}
.closeMenuBar {
    transition: all ease-in-out 600ms;
    display: none !important;
}
.menu, .closeMenuBar {
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
}
.menu.visibility {
    display: none;
}
.closeMenuBar.visibility {
    display: block !important;
}


.menubar {
    padding-top: 1rem;
  /*  padding-top: 10rem;*/
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 255px !important;
    background-color: #ffffff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform ease-in-out 600ms;
    z-index: 900;
    overflow-y: auto;
    overflow-x: hidden;
}
.menubar.visibility {
    transform: translateX(0);
}
.menubar::-webkit-scrollbar {
    width: 0px; /* Customize scrollbar width */
}
.menubar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3); /* Style scrollbar thumb */
    border-radius: 2px;
}
.menubar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5); /* Change color on hover */
}
.menubar .menuTitle {
    text-transform: uppercase;
    padding: 15px 10px 5px 10px;
    color: #333;
    font-weight: bold;
}

.menubar .menuitem {
    cursor: pointer;
    display: flex;
    flex-direction:column;
    justify-content: space-between;
    align-items: center;
    line-height: 2rem;
}
.menubar .menuitem:hover {
    background-color: #f5f5f5;
}
.menubar .menuitem.active {
    background-color: #5c636a;
    color: white;
}
.menubar .menuitem .menu-toggle {
    color: #333;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 10px 10px;
}
.menubar .menuitem a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    width: 100%;
}
.menubar .menuitem .icon {
    font-size: 1.2rem;
}
.menubar .menuitem.active .icon{
    color: white;
}
.menubar .menuitem.active span{
    color: white;
}
.menubar .menuitem .arrow {
    transition: transform 0.3s ease-in-out;
}
.menubar .menuitem .collapse {
    width: 100%;
    max-height: 0;
    transition: all 0.5s ease-in-out;
}
.menubar .menuitem .collapse.show {
    max-height: 500px;
}
.menubar .menuitem .collapse ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
    box-sizing: border-box;
}
.menubar .menuitem .collapse ul li {
    border-top: 1px solid white;
    background: #7c7f81;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}
.menubar .menuitem .collapse ul li a {
    display: block;
    width: 100%;
    padding: 05px 18px;
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
    box-sizing: border-box;
}
.menubar .menuitem .collapse.show .arrow {
    transform: rotate(180deg);
}


.account {
    position: fixed;
    top: 4.5rem;
    right: 0;
    width: 250px;
    background-color: #ffffff;
    box-shadow: 5px 3px 9px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 900;
}
.account.visibility {
    transform: translateX(0);
}
.account ul {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}
.accountItem {
    width: 100%;
    gap: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    text-decoration: none;
    color: black;
    border: 0.2px solid rgba(0, 0, 0, 0.1);
}
.accountItem:hover {
    color: black;
    background-color: #f0f0f0;
}


.formandos table button {
    background: #212529;
    color: white;
}
.inscricoes {
}


/** DASHBOARD PAGE **/
.dashboard .card {
    transition: transform 0.2s ease-in-out;
}
.dashboard .card:hover {
    transform: translateY(-5px);
}
.dashboard .icon {
    font-size: 2.5rem;
}
.chart-placeholder {
    color: #aaa;
    font-size: 1.1rem;
    border: 2px dashed #ddd;
    border-radius: 0.5rem;
}


.criarCurso .container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.criarCurso form {
    background-color: #f9f9f9;
    padding: 2rem;
}
.criarCurso, .registrarFormando, .inscreverFormando, .categoriaCurso form label {
    font-weight: 600;
}
.criarCurso input, textarea, select {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px;
}
.criarCurso input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.criarCurso input[type="submit"]:hover {
    background-color: #0056b3;
}


.criarUsuario {
/*    height: 100vh;*/
    display: flex;
    justify-content: center;
    align-items: center;
}
.criarUsuario form{
    width: 20rem;
}