body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-bg-canvas, #fcfbfe);
    color: var(--color-text-primary, #271b35);
    min-height: 100vh;
    padding: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

.dashboard {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.app-main-header {
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(74, 50, 103, 0.04);
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--color-border, #E5DFEC);
    width: 100%;
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.header-search-box {
    display: flex;
    align-items: center;
    background: #FAF7FC;
    border: 1.5px solid #DDD6E5;
    border-radius: 20px;
    padding: 3px 4px 3px 12px;
    max-width: 320px;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.logo-shield {
    background: linear-gradient(135deg, #DE638A 0%, #4A3267 100%);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(222, 99, 138, 0.25);
}

.logo-s {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.logo-text {
    color: #4A3267;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logout-btn {
    background-color: #F8F3FA;
    color: #4A3267;
    border: 1px solid #E2DBE8;
    padding: 5px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.logout-btn:hover {
    background-color: #ef4444;
    color: white;
    border-color: #ef4444;
}

.page-title {
    text-align: center;
    color: #4A3267;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(74, 50, 103, 0.03);
    border: 1px solid var(--color-border, #E5DFEC);
    width: 100%;
}

@media (max-width: 650px) {
    body {
        padding: 8px 8px 85px 8px;
    }
    .app-main-header {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 10px;
        gap: 8px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
    .header-top-row {
        width: 100%;
    }
    .header-search-box {
        max-width: 100%;
        width: 100%;
        padding: 2px 3px 2px 10px;
    }
    .card {
        padding: 14px 12px !important;
        border-radius: 10px;
        margin-bottom: 10px;
    }
    .page-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
}
