@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f5f6fa;
    margin: 0;
}

h3 {
    font-size: 25.63px;
    font-weight: 600;
    line-height: 32.41px;
}

p {
    font-size: 12.96px;
    font-weight: 400;
    line-height: 16.2px;
    color: #7E7E7E;
}

@font-face {
    font-family: 'Inter Display';
    src: url('fonts/InterDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* --- Layout --- */
.page-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.main-content {
    flex: 1;
    padding: 32px;
    background: transparent;
    min-height: 100vh;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.main-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 32px;
}

.top-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25.93px;
    width: 100%;
    margin-bottom: 16px;
    padding-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-icon {
    width: 36px;
    height: 36px;
    cursor: pointer;
    vertical-align: middle;
}

/* --- Sidebar --- */
.sidebar {
    width: 250px;
    background: #fff;
    height: 100vh;
    border-right: 0.81px solid #E1E6EA;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    transition: width 0.3s ease-in-out, padding 0.3s ease-in-out;
    overflow: hidden;
}

.logo {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0;
    margin: 32px 0 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
}

.logo .vin {
    color: #1997a4;
    font-weight: 700;
}

.logo .shik {
    color: #111;
    font-weight: 800;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 10px;
}

.sidebar-menu button {
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    padding: 12px 32px;
    font-family: 'Inter Display', 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0;
    color: #555;
    border-radius: 10px;
    cursor: pointer;
    gap: 16px;
    position: relative;
    transition:
        background 0.18s cubic-bezier(.4,0,.2,1),
        color 0.18s cubic-bezier(.4,0,.2,1),
        border-color 0.18s cubic-bezier(.4,0,.2,1),
        box-shadow 0.18s cubic-bezier(.4,0,.2,1);
}

.sidebar-menu button:hover {
    background: #e7f5fb;
    color: #088597;
    box-shadow: 0 2px 8px rgba(24,182,252,0.10);
}

.sidebar-menu button.active {
    background: #e7f5fb;
    color: #088597;
    border: 1.5px solid #088597;
    border-radius: 10px;
    z-index: 2;
}

.sidebar-menu button.active::before {
    content: "";
    position: absolute;
    left: -1.5px;
    top: 4px;
    height: calc(100% - 8px);
    width: 6px;
    background: #088597;
    border-radius: 6px;
    z-index: 3;
}

.sidebar-icon-img {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-right: 16px;
    object-fit: contain;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.18s cubic-bezier(.4,0,.2,1);
    filter: grayscale(1) brightness(0.7) opacity(0.8);
}

.sidebar-menu button:hover .sidebar-icon-img,
.sidebar-menu button.active .sidebar-icon-img {
    filter: brightness(0) saturate(100%) invert(34%) sepia(96%) saturate(700%) hue-rotate(133deg) brightness(101%) contrast(92%);
}

#hide-sidebar-btn {
    position: absolute;
    top: 52px; 
    left: -6px; 
    width: 12px;
    height: 32px;
    cursor: pointer;
    z-index: 10;
    transition: left 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.sidebar.hidden {
    width: 0;
    padding: 0;
}

.sidebar.hidden ~ .main-content #hide-sidebar-btn {
    left: 15px;
    transform: rotate(180deg);
}

/* --- Dashboard Cards --- */
.Dashboard {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.Card {
    background: white;
    border-radius: 10px;
    padding: 10px 20px 20px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 120px;
    position: relative;
    justify-content: space-between;
}

.Card h4 {
    font-size: 11.34px;
    font-weight: 500;
    margin: auto 0 0px 0;
}

.Card-Meta {
    padding-top: 10px;
    display: flex;
    align-items: center;
    gap: 0px;
    margin: 0 0 10px 0;
    line-height: 1;
    font-size: 10.53px;
    opacity: 0.6;
}

.Card-Meta img {
    width: 12.98px;
    height: 12.98px;
    margin-right: 5px;
}

.Card-Change {
    font-size: 10.53px;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
    line-height: 1.2;
}

.Card-Content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 0;
    padding-top: 0;
}

.Card-Value {
    font-size: 25.93px;
    font-weight: 700;
    line-height: 1;
}

.Card-Chart {
    height: 40px;
    margin-left: 10px;
}
