/*
 * layout.css - Phone-frame container, topbar, hamburger-menu og tabs.
 * Definerer appens overordnede layout-struktur.
 * Phone-frame simulerer en mobilskærm (375x667px) med afrundede hjørner.
 */

/* ===== PHONE-FRAME ===== */
.phone-frame {
    width: 375px;
    height: 667px;
    background-color: #000;
    border-radius: 40px;
    border: 3px solid #333;
    padding: 20px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

.phone-frame::-webkit-scrollbar {
    display: none;
}

/* ===== TOPBAR ===== */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    width: auto;
    height: auto;
    border-radius: 0;
    cursor: pointer;
}

.topbar-title {
    font-size: 14px;
    color: #888;
}

/* ===== DROPDOWN MENU ===== */
.menu {
    display: none;
    flex-direction: column;
    background-color: #1a1a1a;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    border-bottom: 1px solid #333;
    font-size: 16px;
}

.menu a:last-child {
    border-bottom: none;
}

.menu a:hover {
    background-color: #333;
}

/* ===== TABS (måler + visning) ===== */
.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
}

.tab-btn {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    background-color: #1a1a1a;
    border: none;
    color: #888;
    border-radius: 0;
    cursor: pointer;
}

.tab-btn.active {
    background-color: #2980b9;
    color: white;
}
