* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { background-color: #fafafa; color: #262626; }
.app-container { display: flex; min-height: 100vh; }
.sidebar { width: 245px; border-right: 1px solid #dbdbdb; height: 100vh; position: sticky; top: 0; padding: 24px 16px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; z-index: 10; }
.logo-text { font-family: 'Brush Script MT', cursive, sans-serif; font-size: 32px; font-weight: bold; padding: 0 12px; margin-bottom: 25px; }
.nav-menu { display: flex; flex-direction: column; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 8px; border: none; background: transparent; color: #262626; font-size: 15px; font-weight: 500; cursor: pointer; width: 100%; text-align: left; }
.nav-item i { font-size: 20px; width: 24px; text-align: center; }
.nav-item:hover { background-color: #f2f2f2; }
.nav-item.active { font-weight: 700; }
.main-content { flex: 1; display: flex; justify-content: center; padding: 30px 20px; gap: 50px; }
.feed-wrapper { max-width: 470px; width: 100%; }
.stories-container { display: flex; gap: 16px; overflow-x: auto; padding: 14px 10px; background: #fff; border: 1px solid #dbdbdb; border-radius: 8px; margin-bottom: 24px; }
.story-item { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.story-avatar-ring { width: 62px; height: 62px; border-radius: 50%; padding: 2px; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743); display: flex; align-items: center; justify-content: center; }
.story-avatar-ring img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.empty-state { background: #fff; border: 1px solid #dbdbdb; border-radius: 8px; padding: 50px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty-state i { font-size: 44px; border: 2px solid #262626; border-radius: 50%; padding: 18px; }
.posts-stream { display: flex; flex-direction: column; gap: 20px; }
.post-card { background: #fff; border: 1px solid #dbdbdb; border-radius: 8px; overflow: hidden; }
.post-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.post-author { display: flex; align-items: center; gap: 10px; }
.author-avatar-ring { width: 34px; height: 34px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; }
.post-media { width: 100%; max-height: 580px; object-fit: cover; display: block; }
.post-actions { display: flex; justify-content: space-between; padding: 10px 14px 6px 14px; }
.action-buttons-left { display: flex; gap: 16px; }
.action-btn { background: none; border: none; cursor: pointer; font-size: 22px; color: #262626; }
.post-likes { padding: 0 14px; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.post-caption { padding: 0 14px; font-size: 14px; margin-bottom: 8px; }
.post-caption .username { font-weight: 600; margin-right: 6px; }
.comment-form { border-top: 1px solid #efefef; display: flex; padding: 8px 14px; }
.comment-input { flex: 1; border: none; outline: none; font-size: 13px; background: transparent; }
.comment-submit { border: none; background: none; color: #0095f6; font-weight: 600; cursor: pointer; font-size: 13px; }
.suggestions-sidebar { width: 310px; }
.account-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid #dbdbdb; border-radius: 8px; margin-bottom: 24px; }
.account-avatar { width: 44px; height: 44px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.65); justify-content: center; align-items: center; z-index: 1000; }
.modal-box { background: #fff; border-radius: 14px; width: 440px; max-width: 90%; overflow: hidden; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #dbdbdb; }
.modal-body { padding: 20px; }
.auth-segmented-switch { display: flex; background: #f0f2f5; border-radius: 10px; padding: 4px; gap: 4px; margin-bottom: 20px; }
.segmented-btn { flex: 1; padding: 10px; border: none; border-radius: 8px; font-weight: 600; background: transparent; cursor: pointer; color: #65676b; }
.segmented-btn.active { background: #fff; color: #0095f6; }
.form-group { margin-bottom: 14px; display: flex; flexDirection: column; gap: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #dbdbdb; border-radius: 6px; outline: none; }
.primary-btn { background-color: #0095f6; color: #fff; border: none; padding: 10px 16px; border-radius: 6px; font-weight: 600; cursor: pointer; width: 100%; }
.toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { background: rgba(38,38,38,0.95); color: #fff; padding: 10px 20px; border-radius: 20px; font-size: 14px; }
