/* ========================================
   BASE STYLES
   Variables, Resets, Body, App Container
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    background: #0a0a0a;
    position: relative;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0 20px 100px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.section-header {
    margin-bottom: 8px;
    margin-top: 0;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #888;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #2a2a2a;
    border-top: 2px solid #24A1DE;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    grid-column: 1 / -1; /* Span all columns in grid view */
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #4a4a4a;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.5;
}

