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

html {
    background: #1a1a1a;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    color: #000;
    background: #1a1a1a;
}

.phone-container {
    width: 375px;
    height: 812px;
    background: #fff;
    border-radius: 44px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 8px solid #333;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #333;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    flex-shrink: 0;
}

.app-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.app-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
}

.app-content::-webkit-scrollbar,
.search-suggestions::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none;
}

.app-content,
.search-suggestions,
* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.app-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 8px 0 20px 0;
    flex-shrink: 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    font-size: 10px;
    padding: 4px 16px;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.nav-item.active {
    color: #e63946;
}

.app-action-bar {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 16px;
    flex-shrink: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #000;
}

.text-muted {
    color: #888 !important;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.form-control:focus {
    border-color: #ccc;
    box-shadow: none;
}

.input-group-text {
    border: 1px solid #ddd;
    background: #fff;
}

.card {
    border: 1px solid #eee;
    border-radius: 12px;
}

.list-group-item {
    border: 1px solid #eee !important;
    background: #fff;
}

.list-group-item:active {
    background: #f8f8f8;
}

.btn-primary {
    background: #e63946;
    border-color: #e63946;
}

.btn-primary:active {
    background: #d62839;
    border-color: #d62839;
}

.btn-outline-primary {
    color: #e63946;
    border-color: #e63946;
}

.btn-outline-primary:active {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
}

.badge.bg-primary {
    background: #e63946 !important;
}

.text-primary {
    color: #e63946 !important;
}

.bg-light {
    background: #f5f5f5 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.container {
    padding-left: 16px;
    padding-right: 16px;
}

.search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #f5f5f5;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:active {
    background: #f8f8f8;
}

.suggestion-item strong {
    color: #e63946;
}

.filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: flex-end;
}

.filter-modal.show {
    display: flex;
}

.filter-modal-content {
    background: #fff;
    width: 375px;
    max-height: 70%;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    overflow-y: auto;
}

.filter-chip {
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
}

.filter-chip.active {
    background: #000;
    border-color: #000;
    color: #fff;
}

.btn-group .btn.active {
    background: #000;
    border-color: #000;
    color: #fff;
}

.tab-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #666;
}

.tab-btn.active {
    background: #000;
    border-color: #000;
    color: #fff;
}

.friend-item {
    transition: all 0.2s ease;
}

.friend-item:hover {
    background: #f8f8f8;
}

.friend-item.border-primary {
    border-color: #e63946 !important;
    background: #fff5f5;
}

.settings-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e63946;
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.settings-button:hover {
    transform: scale(1.1);
}

.settings-button:active {
    transform: scale(0.95);
}

.move-up {
    margin-top: -80px;
}
