/* =========================================================
   PAREACLUB PRIVATE INBOX V1
========================================================= */

#pareaRoomsActionsV1 {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

#pareaRoomsActionsV1 #logoutBtn,
#pareaRoomsActionsV1 #settingsBtn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

#pareaPrivateInboxBtnV1 {
    position: relative;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d59824;
    border-radius: 4px;

    background:
        linear-gradient(
            180deg,
            #123452 0%,
            #0b253b 55%,
            #071622 100%
        );

    color: #fff;
    font-size: 17px;
    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.20),
        inset 0 -2px 0 rgba(0,0,0,.55),
        0 1px 2px rgba(0,0,0,.55);
}

#pareaPrivateInboxBtnV1:hover {
    filter: brightness(1.15);
}

#pareaPrivateInboxBadgeV1 {
    position: absolute;
    top: -6px;
    right: -7px;

    min-width: 17px;
    height: 17px;
    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #08111a;
    border-radius: 10px;

    background: #e53935;
    color: #fff;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    box-sizing: border-box;
}

#pareaPrivateInboxBadgeV1[hidden] {
    display: none !important;
}


/* =============================
   INBOX OVERLAY
============================= */

#pareaPrivateInboxOverlayV1 {
    position: fixed;
    inset: 0;
    z-index: 2147483000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 15px;
    box-sizing: border-box;

    background: rgba(0,0,0,.60);
}

#pareaPrivateInboxOverlayV1.open {
    display: flex;
}

#pareaPrivateInboxWindowV1 {
    width: min(520px, 96vw);
    max-height: min(620px, 88vh);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 2px solid #c78920;
    border-radius: 8px;

    background: #0b1622;
    color: #fff;

    box-shadow:
        0 20px 60px rgba(0,0,0,.80),
        0 0 18px rgba(255,169,40,.15);
}

.parea-private-inbox-header-v1 {
    height: 45px;
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 12px;

    border-bottom: 1px solid #8c641d;

    background:
        linear-gradient(
            180deg,
            #142b40,
            #091622
        );

    box-sizing: border-box;
}

.parea-private-inbox-title-v1 {
    font-weight: 800;
    color: #ffd16c;
}

#pareaPrivateInboxCloseV1 {
    width: 30px;
    height: 30px;

    border: 1px solid #834b4b;
    border-radius: 4px;

    background: #401717;
    color: #fff;

    font-size: 18px;
    cursor: pointer;
}

#pareaPrivateInboxListV1 {
    min-height: 150px;
    max-height: 540px;

    overflow-y: auto;

    padding: 7px;
    box-sizing: border-box;
}

.parea-private-thread-v1 {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 10px;

    padding: 10px 11px;
    margin-bottom: 6px;

    border: 1px solid #25394b;
    border-radius: 6px;

    background:
        linear-gradient(
            180deg,
            #102334,
            #0a1722
        );

    color: #fff;
    text-align: left;

    cursor: pointer;
    box-sizing: border-box;
}

.parea-private-thread-v1:hover {
    border-color: #d49a31;
    background:
        linear-gradient(
            180deg,
            #15324b,
            #0b1d2c
        );
}

.parea-private-thread-user-v1 {
    font-size: 14px;
    font-weight: 800;
    color: #61d9ff;
}

.parea-private-thread-time-v1 {
    font-size: 11px;
    color: #8fa9bc;
}

.parea-private-thread-preview-v1 {
    min-width: 0;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    color: #c9d3db;
    font-size: 12px;
}

.parea-private-thread-unread-v1 {
    min-width: 22px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 6px;

    border-radius: 12px;

    background: #d63333;
    color: #fff;

    font-size: 11px;
    font-weight: 800;
}

.parea-private-inbox-empty-v1 {
    padding: 35px 15px;
    text-align: center;
    color: #8195a5;
}


/* Android / mobile */

@media screen and (max-width:1000px) and (orientation:portrait) {

    #pareaPrivateInboxBtnV1 {
        flex-basis: 31px !important;
        width: 31px !important;
        min-width: 31px !important;
        max-width: 31px !important;

        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        font-size: 15px !important;
    }

    #pareaRoomsActionsV1 #logoutBtn,
    #pareaRoomsActionsV1 #settingsBtn {
        font-size: 11px !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }
}

/* =========================================================
   PAREACLUB TOP LEFT BUTTON ORDER FINAL
   ΕΞΟΔΟΣ -> ΦΑΚΕΛΟΣ -> ΡΥΘΜΙΣΕΙΣ
========================================================= */

#pareaRoomsActionsV1 #logoutBtn {
    order: 1 !important;
}

#pareaRoomsActionsV1 #pareaPrivateInboxBtnV1 {
    order: 2 !important;
}

#pareaRoomsActionsV1 #settingsBtn {
    order: 3 !important;
}

#pareaRoomsActionsV1 #pareaDjPlayerProxyV2 {
    order: 4 !important;
}
