/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a; /* Slate 900 */
    color: #e2e8f0; /* Slate 200 */
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent body scroll, let content scroll */
}

/* Hide Scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 
   MODIFIED: .iphone-frame now acts as a full-width container 
   The visual bezel is now handled by index.html's .device-mockup
*/
.iphone-frame {
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-color: #1e293b; /* Content bg */
    position: relative;
    overflow: hidden;
    /* Removed borders, radius, margins, shadows */
}

/* Dynamic Island - Inside the content (optional, or can be part of bezel) */
.dynamic-island {
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 35px;
    background-color: #000;
    border-radius: 20px;
    z-index: 50;
    pointer-events: none; /* Let clicks pass through if needed */
}

.screen-content {
    width: 100%;
    height: 100%;
    background-color: #1e293b; /* Slate 800 */
    overflow-y: auto;
    padding-top: 50px; /* Space for status bar/island */
    padding-bottom: 30px; /* Space for home indicator */
    position: relative;
}

.status-bar-time {
    position: absolute;
    top: 18px;
    left: 45px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    z-index: 51;
}

.status-bar-icons {
    position: absolute;
    top: 18px;
    right: 35px;
    color: white;
    font-size: 12px;
    display: flex;
    gap: 6px;
    z-index: 51;
}

.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 5px;
    background-color: white;
    border-radius: 10px;
    opacity: 0.5;
    z-index: 50;
}

/* Mini Program Navbar Simulation */
.mp-navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    height: 44px;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    padding-right: 100px; /* Space for capsule */
}

.mp-capsule {
    position: absolute;
    right: 16px; /* 7px margin + padding */
    top: 50%; /* Center vertically relative to navbar */
    transform: translateY(-50%); /* Adjust for exact center */
    width: 87px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 52;
}

.mp-capsule-divider {
    width: 1px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Admin Dashboard Specifics */
.admin-body {
    background-color: #f1f5f9; /* Slate 100 */
    color: #334155; /* Slate 700 */
    height: 100vh;
    display: flex;
}