/* ===========================================
   Containly - Main Styles
   Reset, Layout, Utilities
   =========================================== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Disable double-tap-to-zoom on all interactive elements */
a, button, input, select, textarea, label, [role="button"] {
    touch-action: manipulation;
}

/* Body */
body {
    min-height: 100vh;
    background: linear-gradient(180deg, #f0f2f5 0%, #f8f9fb 40%, #ffffff 100%);
    background-attachment: fixed;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Divider */
.divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

/* Content row */
.content-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Small text */
.small-text {
    font-size: 0.75rem;
    font-weight: 400;
    color: #86868b;
}

/* Vertical divider */
.vertical-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Info block */
.info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-number {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: #86868b;
}

/* Impersonate banner */
.impersonate-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px;
    background: #f59e0b;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.impersonate-banner strong {
    font-weight: 700;
}

.impersonate-banner button {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.impersonate-banner button:hover {
    background: rgba(255,255,255,0.3);
}

.impersonate-banner ~ .sidebar,
.impersonate-banner ~ .bottom-nav {
    margin-top: 36px;
}

.impersonate-banner ~ .container,
.impersonate-banner ~ .sidebar ~ .container {
    padding-top: 36px;
}
