.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--light-gray);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
}

.screen {
    display: none;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.screen.active {
    display: flex;
}

.header {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}

.header-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.header-icons {
    display: flex;
    gap: 15px;
    position: relative;
}

.header-icon {
    font-size: 1.2rem;
    cursor: pointer;
}

.content {
    flex: 1;
    overflow-y: auto;
    background-color: var(--light-gray);
}

.tabs {
    display: flex;
    background-color: var(--primary-color);
    justify-content: space-around;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    position: relative;
}

.tab-inner {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.tab.active {
    color: var(--white);
    border-bottom: 3px solid var(--white);
}

.tab-badge {
    position: absolute;
    top: -5px;
    right: -15px;
    background-color: var(--notification-color);
    color: white;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: none;
}

.tab-badge.active {
    display: flex;
}
/* -- Offline Notice Styles -- */
.offline-notice {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #555;
    color: white;
    text-align: center;
    padding: 8px;
    z-index: 9999;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.5s ease;
}

.offline-notice i {
    margin-left: 8px;
}

.offline-notice.show {
    display: block;
}

.app-container .header {
    z-index: 10;
}