* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #2d3748;
}

/* Navigation Bar */
.nav {
    background-color: #ffffff;
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.book {
    font-weight: 700;
    font-size: 24px;
    color: #1b7a6a;
    margin-left: 12px;
    letter-spacing: -0.5px;
}

.vitlogo {
    border-radius: 6px;
    object-fit: cover;
}

.menu-bar {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    padding: 4px;
}

.menu-bar div {
    width: 100%;
    height: 2px;
    background-color: #2d3748;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-menu {
    display: none;
    background-color: #ffffff;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    padding: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    justify-content: end;
    list-style-type: none;
}

.nav-menu li {
    margin: 16px 0;
}

.nav-menu a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    font-size: 16px;
}

.nav-menu a:hover {
    color: #1b7a6a;
}

.nav-menu button {
    height: 36px;
    padding: 0 20px;
    font-size: 16px;
    color: #1b7a6a;
    border: 2px solid #1b7a6a;
    background-color: transparent;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-menu button:hover {
    background-color: #1b7a6a;
    color: white;
    transform: translateY(-1px);
}

.nav-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}


/* Dashboard Layout */
.content {
    padding-top: 64px;
    min-height: 100vh;
    background-color: #f8fafc;
}

.dashboard-container {
    display: flex;
    height: calc(100vh - 64px);
}

/* Vertical Tabs */
.vertical-tabs {
    width: 240px;
    background-color: white;
    padding: 20px 0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    border-right: 1px solid #e2e8f0;
}

.tablink {
    background-color: transparent;
    color: #4a5568;
    border: none;
    padding: 12px 24px;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.tablink:hover {
    background-color: #f7fafc;
    color: #1b7a6a;
}

.tablink.active {
    background-color: #e6fffa;
    color: #1b7a6a;
    border-right: 3px solid #1b7a6a;
}

/* Profile Section */
#profile {
    flex: 1;
    padding: 32px;
    background-color: #f8fafc;
    overflow-y: auto;
}

.your-profile {
    background-color: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.user_info {
    display: grid;
    gap: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.user_info div {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.user_info label {
    font-weight: 600;
    color: #4a5568;
}

/* Tab Content */
.tab-content {
    display: block;
    padding: 32px;
}

.tab-content h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
    text-decoration: none;
    text-align: center;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.your-book {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    gap: 100px;
}

.your-book .user-books {
    padding-left: 40px;
    height: 150px;
    width: 500px;
    overflow-y: auto;
}

.your-book h2 {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .vertical-tabs {
        width: 100%;
        padding: 10px;
    }

    .tablink {
        padding: 10px 16px;
    }

    #profile {
        padding: 16px;
    }

    .your-profile {
        padding: 20px;
    }

    .user_info div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Add icons to tabs */
.tablink::before {
    content: '';
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.tablink:hover::before {
    opacity: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-bold {
        font-size: 28px;
    }

    .text-thin {
        font-size: 16px;
    }

    .search form {
        flex-direction: column;
    }

    .search form input {
        width: 100%;
    }

    .search form button {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .menu-bar {
        display: none;
    }

    .nav-menu {
        display: block;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
    }

    .nav-menu ul {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .nav-menu li {
        margin: 0;
    }
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}