*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#DEE1DD;
}

/* LAYOUT */

.dashboard{
    display:flex;
    min-height:100vh;
}

/* SIDEBAR */

.sidebar{

    width:280px;

    background:linear-gradient(
    180deg,
    #28363D,
    #2F575D);

    color:white;

    padding:30px 20px;
    display:flex;
    flex-direction:column;
}

.sidebar .menu{
    flex:1;
}

.logo{
    margin-bottom:50px;
}

.logo-container{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:10px;
}

.logo h1{
    font-size:32px;
    margin:0;
}

.logo img{
    width:48px;
    height:48px;
    object-fit:contain;
    filter:brightness(0) invert(100%);
}

.menu{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.menu-item{

    background:transparent;
    border:none;
    color:white;
    text-align:left;
    padding:15px;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
}

.menu-item i{
    margin-right:10px;
}

.menu-item:hover{
    background:#2F575D;
}

.menu-item.active{
    background:#6D9197;
}

/* CONTENT */

.content{
    flex:1;
    padding:40px;
}

.module{
    display:none;
}

.active-module{
    display:block;
}

.page-title{

    margin-bottom:25px;

    color:#28363D;

    font-size:34px;
}

.card{

    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);

    margin-bottom:20px;
}

.card h3{
    margin-bottom:20px;
}

.tip-box{
    background:#f7fcff;
    border-left: 4px solid #6D9197;
    padding:18px 18px 15px;
    margin-bottom:20px;
    border-radius:12px;
}

.tip-box h3{
    margin-top:0;
    margin-bottom:12px;
    color:#28363D;
}

.tip-box p{
    margin-bottom:10px;
    line-height:1.6;
    color:#394647;
}

/* FORM */

input,
textarea,
select{

    width:100%;

    padding:12px;

    border:1px solid #ccc;

    border-radius:10px;

    margin-top:8px;

    margin-bottom:15px;
}

button{

    background:#6D9197;

    color:white;

    border:none;

    padding:12px;

    border-radius:10px;

    cursor:pointer;
}

button:hover{
    background:#2F575D;
}

.result{

    margin-top:20px;

    background:#f5f5f5;

    padding:15px;

    border-radius:10px;
}

table{
    width:100%;
    border-collapse:collapse;
}

th,
td{
    padding:10px;
    text-align:center;
}

th{
    background:#6D9197;
    color:white;
}

.footer{
    text-align:justify;
    padding:20px;
    background:#28363D;
    color:white;
    margin-top:auto;
}

@media (max-width: 768px) {
    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 15px 12px;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        margin-bottom: 0;
        width: 100%;
    }

    .logo-container {
        gap: 10px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .menu {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .menu-item {
        flex: 1 1 calc(50% - 16px);
        padding: 12px 10px;
        font-size: 14px;
    }

    .menu-item i {
        margin-right: 8px;
    }

    .footer {
        display: none;
    }

    .content {
        padding: 20px;
    }
}
