/* ==================================================
   VibinBro Shared Theme
   ================================================== */


/* --------------------------------------------------
   Global
-------------------------------------------------- */

* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}


body {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #eef3ff 0%,
            #ffffff 50%,
            #f2f7ff 100%
        );

    color: #111827;

}


/* --------------------------------------------------
   Main App Container
-------------------------------------------------- */

.app {

    width: 100%;
    max-width: 600px;

    min-height: 100vh;

    margin: 0 auto;

    padding:
        18px
        16px
        30px;

}


/* --------------------------------------------------
   Header
-------------------------------------------------- */

.header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 24px;

}


.logo {

    font-size: 30px;
    font-weight: 900;

    letter-spacing: -1px;

    color: #0033FF;

}


.menu-button {

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.10);

    font-size: 23px;

    cursor: pointer;

}


/* --------------------------------------------------
   Welcome
-------------------------------------------------- */

.welcome {

    margin-bottom: 20px;

}


.welcome-small {

    margin: 0 0 4px;

    font-size: 16px;

    color: #64748b;

    font-weight: 600;

}


.welcome-name {

    margin: 0;

    font-size: 32px;

    font-weight: 900;

    letter-spacing: -1px;

}


/* --------------------------------------------------
   Viber Status Card
-------------------------------------------------- */

.status-card {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0033FF,
            #315cff
        );

    color: #ffffff;

    border-radius: 26px;

    padding: 28px 22px;

    margin-bottom: 22px;

    box-shadow:
        0 14px 35px rgba(0, 51, 255, 0.25);

}


.status-card::before {

    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.10);

    top: -80px;
    right: -60px;

}


.status-card::after {

    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);

    bottom: -50px;
    left: -30px;

}


.level-label {

    position: relative;

    z-index: 1;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    opacity: 0.85;

}


.viber-title {

    position: relative;

    z-index: 1;

    margin-top: 5px;

    font-size: 29px;

    font-weight: 900;

}


.level-number {

    position: relative;

    z-index: 1;

    margin-top: 3px;

    font-size: 16px;

    font-weight: 700;

    opacity: 0.9;

}


.stats {

    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 24px;

}


.stat {

    background: rgba(255, 255, 255, 0.15);

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 18px;

    padding: 16px;

}


.stat-label {

    font-size: 13px;

    font-weight: 700;

    opacity: 0.85;

}


.stat-value {

    margin-top: 4px;

    font-size: 25px;

    font-weight: 900;

}


/* --------------------------------------------------
   Main Send Button
-------------------------------------------------- */

.send-button {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 82px;

    padding: 18px;

    border: none;

    border-radius: 24px;

    background: #0033FF;

    color: #ffffff;

    text-decoration: none;

    font-size: 22px;

    font-weight: 900;

    letter-spacing: 0.2px;

    box-shadow:
        0 10px 24px rgba(0, 51, 255, 0.25);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;

    cursor: pointer;

    margin-bottom: 16px;

}


.send-button:active {

    transform: scale(0.97);

    box-shadow:
        0 5px 12px rgba(0, 51, 255, 0.20);

}


.send-icon {

    font-size: 28px;

    margin-right: 10px;

}


/* --------------------------------------------------
   Secondary Buttons
-------------------------------------------------- */

.secondary-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

}


.secondary-button {

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    min-height: 105px;

    padding: 15px;

    background: #ffffff;

    border-radius: 22px;

    text-decoration: none;

    color: #111827;

    font-size: 16px;

    font-weight: 800;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.15s ease;

}


.secondary-button:active {

    transform: scale(0.97);

}


.secondary-icon {

    font-size: 30px;

    margin-bottom: 7px;

}


/* --------------------------------------------------
   Logout
-------------------------------------------------- */

.logout {

    display: block;

    margin-top: 26px;

    text-align: center;

    color: #64748b;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    padding: 12px;

}


.logout:active {

    color: #0033FF;

}


/* --------------------------------------------------
   Future Animation Area
-------------------------------------------------- */

.animation-overlay {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 9999;

    display: none;

}


/* --------------------------------------------------
   Desktop Enhancement
-------------------------------------------------- */

@media (min-width: 700px) {

    .app {

        padding-top: 35px;
        padding-bottom: 50px;

    }

    .header {

        margin-bottom: 30px;

    }

    .welcome-name {

        font-size: 38px;

    }

}


/* ==================================================
   VibinBro - Recent Incoming Vibes
   Stage 2.9.30
================================================== */

.recent-vibes-panel {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dce3f0;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.recent-vibes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.recent-vibes-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0033ff;
}

.recent-vibes-unread-count {
    display: inline-block;
    padding: 5px 10px;
    background: #e7edff;
    color: #0033ff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.recent-vibes-scroll {
    max-height: 264px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #e4e9f2;
    border-radius: 12px;
    scrollbar-width: thin;
    scrollbar-color: #b8c7eb #f4f6fb;
}

.recent-vibe-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 10px 12px;
    box-sizing: border-box;
    text-decoration: none;
    color: #263247;
    background: #ffffff;
    border-bottom: 1px solid #edf0f5;
}

.recent-vibe-item:last-child {
    border-bottom: none;
}

.recent-vibe-item:hover,
.recent-vibe-item:focus-visible {
    background: #eef3ff;
}

.recent-vibe-unread {
    background: #f5f8ff;
}

.recent-vibe-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.recent-vibe-sender {
    font-size: 14px;
    font-weight: 700;
    color: #18243b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-vibe-date {
    font-size: 12px;
    color: #64748b;
}

.recent-vibe-new {
    padding: 4px 7px;
    border-radius: 6px;
    background: #0033ff;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
}

.recent-vibe-read-label {
    font-size: 11px;
    color: #64748b;
}

.recent-vibe-play {
    font-size: 17px;
    color: #0033ff;
    margin-left: 2px;
}

.recent-vibes-empty {
    margin: 0;
    padding: 20px 12px;
    color: #64748b;
    font-size: 14px;
    text-align: center;
}

.recent-vibes-view-all {
    display: block;
    margin-top: 12px;
    padding: 10px;
    border-radius: 10px;
    background: #0033ff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.recent-vibes-view-all:hover,
.recent-vibes-view-all:focus-visible {
    background: #0026bf;
}

@media (max-width: 400px) {
    .recent-vibes-panel {
        padding: 12px;
    }

    .recent-vibe-item {
        padding: 10px;
    }

    .recent-vibe-date {
        font-size: 11px;
    }
}


/* ==================================================
   VibinBro - Notification Bell
   Stage 2.9.30
================================================== */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.notification-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.notification-bell:hover,
.notification-bell:focus-visible {
    background: rgba(255, 255, 255, 0.18);
}

.notification-bell-count {
    position: absolute;
    top: -2px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff304f;
    color: #ffffff;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    border: 2px solid #0033ff;
}


/* ==================================================
   VibinBro - Vibe Inbox
   Stage 2.9.30
================================================== */

.vibe-inbox {
    margin-top: 20px;
    margin-bottom: 24px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dce3f0;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.vibe-inbox h1 {
    margin: 0 0 18px;
    color: #0033ff;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}

/* All Vibes / Unread tabs */

.vibe-inbox-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.vibe-inbox-tabs a {
    flex: 1;
    padding: 12px 8px;
    background: #eef2ff;
    color: #0033cc;
    border: 1px solid #dce3ff;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.vibe-inbox-tabs a.active {
    background: #0033ff;
    color: #ffffff;
    border-color: #0033ff;
}

.vibe-inbox-tabs a:hover:not(.active) {
    background: #dce5ff;
}

/* Vibe rows */

.vibe-inbox-list {
    border: 1px solid #e4e9f2;
    border-radius: 12px;
    overflow: hidden;
}

.vibe-inbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    min-height: 66px;
    box-sizing: border-box;
    text-decoration: none;
    border-bottom: 1px solid #edf0f5;
    color: #263247;
}

.vibe-inbox-item:last-child {
    border-bottom: none;
}

.vibe-inbox-item.unread {
    background: #f5f8ff;
}

.vibe-inbox-item.read {
    background: #ffffff;
}

.vibe-inbox-item:hover,
.vibe-inbox-item:focus-visible {
    background: #eaf0ff;
}

.vibe-inbox-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.vibe-inbox-sender {
    font-size: 15px;
    font-weight: 700;
    color: #18243b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vibe-inbox-date {
    font-size: 12px;
    color: #64748b;
}

.vibe-inbox-new {
    padding: 5px 8px;
    border-radius: 6px;
    background: #0033ff;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
}

.vibe-inbox-read {
    font-size: 12px;
    color: #64748b;
}

.vibe-inbox-play {
    color: #0033ff;
    font-size: 18px;
    margin-left: 4px;
}

/* Empty inbox */

.vibe-inbox-empty {
    padding: 24px 12px;
    margin: 0;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* Pagination */

.vibe-inbox-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 18px;
}

.vibe-inbox-pagination a {
    padding: 9px 12px;
    background: #eef2ff;
    color: #0033ff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.vibe-inbox-pagination span {
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

/* Back to Home */

.vibe-inbox-home {
    display: block;
    margin-top: 20px;
    padding: 13px;
    background: #0033ff;
    color: #ffffff;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.vibe-inbox-home:hover {
    background: #0026bf;
}

/* Small mobile screens */

@media (max-width: 400px) {
    .vibe-inbox {
        padding: 12px;
    }

    .vibe-inbox h1 {
        font-size: 20px;
    }

    .vibe-inbox-item {
        padding: 12px 10px;
    }

    .vibe-inbox-date {
        font-size: 11px;
    }
}
