/* Global */
html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #121212; /* dark background */
    color: #e0e0e0;
    overflow: hidden;
}

/* App container */
#app {
    height: 100vh;
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* Main App Container */
#mainApp {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background-color: #101820; /* dark theme background */
}

/* App Content */
#appContent {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Bottom Navigation */
#bottomNav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #1f1f1f;
    border-top: 1px solid #333;
    padding: 8px 0;
}

#bottomNav .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #e0e0e0;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s ease;
}

#bottomNav .tab.active {
    color: #1e90ff;
}

#bottomNav .tabIcon {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
}

/* main container */
#appContainer {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background-color: #102030; /* dark theme */
    color: white;
}

/* top bar */
#topBar {
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 10px;
    background-color: #1a2230;
}

/* main content area */
#mainContent {
    flex: 1;
    width: 100%;
    overflow: auto;
}

/* bottom bar */
#bottomBar {
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #102030;
    color: white;
}

/* bottom bar buttons */
.tabBtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.tabBtn.activeTab {
    background: linear-gradient(145deg, #1a2a3d, #0c1625);
    border-radius: 12px;
    padding: 6px 12px;

    /* 3D raised effect */
    box-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.6),     /* dark lower shadow */
        -3px -3px 6px rgba(255, 255, 255, 0.05); /* subtle top highlight */

    transform: translateY(-3px);           /* lifted upwards */
    color: #4da3ff;
    font-weight: bold;

    transition: all 0.2s ease;
}

/* When pressed (optional) */
.tabBtn.activeTab:active {
    transform: translateY(-1px);
    box-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.6),
        -1px -1px 3px rgba(255, 255, 255, 0.05);
}