/* ============================================
   GLOBAL THEME — MATCH BLOG POST DESIGN
   ============================================ */

body {
    background: #000;
    color: #f2f2e9;
    margin: 0;
    padding-bottom: 80px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   TITLE
   ============================================ */
.inbox-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    padding: 20px 0;
    margin: 0;
    color: #f2f2e9;
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-container {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.search-icon {
    font-size: 1.4rem;
    cursor: pointer;
    color: #f2f2e9;
}

#searchInput {
    display: none;
    margin-top: 10px;
    width: 80%;
    padding: 10px;
    font-size: 1rem;
    border-radius: 12px;
    border: none;
    background: #1a1a1a;
    color: #f2f2e9;
}

/* ============================================
   INBOX LIST
   ============================================ */

.inbox-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.inbox-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 20px;
    border-bottom: 1px solid #1e1e1e;

    text-decoration: none;
    color: #f2f2e9;

    opacity: 0;
    animation: fadeIn 0.45s forwards;
}

.inbox-item:hover {
    background: #111;
}

.inbox-text {
    display: flex;
    flex-direction: column;
}

.contact-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e6c873; /* Gold highlight to match YOU bubbles */
}

.preview-text {
    margin-top: 4px;
    font-size: 0.95rem;
    color: #cfcfcf;
}

.inbox-date {
    font-size: 0.85rem;
    color: #bcbcbc;
    padding-left: 10px;
    white-space: nowrap;
}

/* ============================================
   NAVIGATION BAR (MATCH BLOG POSTS)
   ============================================ */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    padding: 12px 0;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #1f1f1f;
}

.bottom-nav button {
    background: #111;
    padding: 10px 16px;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    color: #f2f2e9;
    font-size: 0.95rem;
    cursor: pointer;
}

.bottom-nav button:hover {
    background: #1a1a1a;
}

/* ============================================
   FADE-IN ANIMATION
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
