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

:root {
    --dark-grey: #333333;
    --light-grey: #999999;
    --light-pink: #FCC3C1;
    --medium-pink: #F1749E;
    --dark-pink: #EC407A;
    --verde-menta: #D5F5E3;
    --dark-title: #2D3748;
    --dark-subtitle: #4C5667;
    --card-bg: #FFFFFF;
    --border-light: #E2E8F0;
    --water-bar-start: #94D9F8;
    --water-bar-end: #81E6D9;
    --water-bar-bg: #E2F5FF;
    --chip-bg: #F7FAFC;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #F7FAFC;
    color: var(--dark-title);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 100px;
    min-height: 100vh;
}

.container {
    max-width: 768px;
    margin: 0 auto;
    padding: 24px 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.greeting {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-title);
    letter-spacing: -0.5px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2C7A7B, #319795);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(44, 122, 123, 0.2);
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-title);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Loader */
.loader {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
    width: 100%;
}

.loader.active {
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--dark-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--light-grey);
}

.no-results svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-results p {
    font-size: 18px;
    font-weight: 600;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px 16px;
    border: none;
    background: none;
    color: var(--light-grey);
    transition: all 0.3s ease;
    flex: 1;
    max-width: 120px;
    text-decoration: none;
}

.nav-item.active {
    color: var(--dark-pink);
}

.nav-item:hover {
    color: var(--medium-pink);
}

.nav-icon {
    transition: transform 0.3s ease;
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
}

.nav-label {
    font-size: 12px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }

    .greeting {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .greeting {
        font-size: 22px;
    }

    .nav-label {
        font-size: 11px;
    }
}