@charset "UTF-8"

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.wrapper{

    display: flex;
    min-height: 100vh;
}

aside{

    width: 250px;
    background-color: #1e293b;
    color: white;
    padding: 20px;
}

main{

    flex: 1;
    background-color: transparent;
    padding: 40px;
    min-height: 100vh;
}

body{

font-family: 'Inter', sans-serif;
background-color: #e2e8f0;

}

aside nav ul {
    list-style: none; /* Tira as bolinhas */
    margin-top: 20px;
}

aside nav ul li {

    margin-bottom: 15px;
}

aside nav ul li a{

    color: #cbd5e1;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    display: block;
    padding: 10px;
    border-radius: 6px;
    transition: 0.3s;    
}

aside nav ul li a:hover {

    background-color: #334155;
    color: white;

}

aside nav ul li a.active {
    background-color: #334155;
    color: white;
    border-left: 4px solid #38bdf8;    
}

.cards-container{

    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.cards-container div{
    flex: 1;
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #38bdf8;

}

.cards-container div h3{
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.cards-container div p{

    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;

}



.table-container {

    margin-top: 40px;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

table{
    width: 100%;
    border-collapse: collapse;
}

table th, table td{

    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

table td{

    color: #334155;
    font-size: 0.95rem;
}

table th{

    background-color: #f8fafc;
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

table tbody tr:hover {

    background-color: #f8fafc;
    transition: 0.2s;
}

table td:last-child{

    color: #10b981;
    font-weight: 600;
    background-color: #ecfdf5;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header-left h1 {
    font-size: 1.8rem;
    color: #1e293b;
    font-weight: 700;
}

.header-left p{
    color:#64748b;
    font-size: 0.9rem;
    margin-top: 5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notifications {
    position: relative;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
}

.notifications .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: #0cef4d;
    border-radius: 50%;
    border:  2px solid #f1f5f9;
}

.user-profile img{
    widht: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}


/* Container do Gráfico */
.chart-container {
    margin-top: 40px;
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.chart-container h3 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 20px;
}


.bar-chart {
    display: flex;
    align-items: flex-end; 
    justify-content: space-around;
    height: 200px;
    padding-top: 20px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 30px;
}

/* A Barra em si */
.bar {
    width: 40px;
    background: linear-gradient(to top, #0ea5e9, #38bdf8); 
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: transform 0.3s ease;
}

.bar:hover {
    transform: scaleY(1.05); 
    cursor: pointer;
}


.bar::after {
    content: attr(data-month);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}