﻿
.inbox-card {
    background: rgba(255,255,255,.96);
    /*backdrop-filter: blur(12px);*/
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 8px 12px rgba(0,0,0,.08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.inbox-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.06), 0 10px 20px rgba(0,0,0,.10);
}

/*.inbox-home-box-services {
    position: sticky;
    top: 20px;
}
*/

.inbox-home-box-services {
    position: sticky;
    top: 86px;
    z-index: 10;
}

.inbox-home-box-info {
    position: sticky;
    top: 86px;
    z-index: 10;
}

@media (max-width: 768px) {
    .inbox-home-box-services {
        position: static;
    }

    .inbox-home-box-info {
        position: static;
    }

    .inbox-home-box-news {
        padding-left: 0 !important;
    }
}


.inbox-home-news-info {
    padding: 18px;
    border-left: 5px solid #8a84f1;
}

.inbox-home-news-warning {
    padding: 18px;
    border-left: 5px solid #ffc461;
}

.inbox-home-news-alert {
    padding: 18px;
    border-left: 5px solid #f87474;
}

.inbox-home-news-info,
.inbox-home-news-warning,
.inbox-home-news-alert {
    margin-bottom: 16px;
}

.inbox-home-box-news h1 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: #0f172a;
}

.inbox-home-box-news p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.inbox-home-box-services {
    border: none;
    border-radius: 6px;
    background: linear-gradient( 180deg, #ffffff 0%, #f8fafc 100% );
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.05), 0 10px 12px rgba(0,0,0,.06);
}

.inbox-home-news-info,
.inbox-home-news-warning,
.inbox-home-news-alert {
    position: relative;
}

.inbox-home-box-news h1 {
    padding-right: 80px;
}

.inbox-home-news-info::after,
.inbox-home-news-warning::after,
.inbox-home-news-alert::after {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: .04em;
}

.inbox-home-news-info::after {
    content: "Info";
    position: absolute;
    top: 14px;
    right: 16px;
    font-weight: 600;
    background: rgba(59,130,246,.12);
/*    color: #3b82f6;
*/}

.inbox-home-news-warning::after {
    content: "Warning";
    position: absolute;
    top: 14px;
    right: 16px;
    font-weight: 600;
    background: rgba(245,158,11,.12);
/*    color: #f59e0b;
*/}

.inbox-home-news-alert::after {
    content: "Alert";
    position: absolute;
    top: 14px;
    right: 16px;
    font-weight: 600;
    background: rgba(239,68,68,.12);
/*    color: #ef4444;
*/}

.inbox-home-news-info,
.inbox-home-news-warning,
.inbox-home-news-alert {
    transition: transform .18s ease, box-shadow .18s ease, border-left-width .18s ease;
}

.inbox-home-news-info:hover,
.inbox-home-news-warning:hover,
.inbox-home-news-alert:hover {
    border-left-width: 8px;
}

.inbox-home-box-services {
    background: linear-gradient( 180deg, #ffffff 0%, #f8fafc 100% );
}


/*.inbox-home-box-services {
    background: var(--box-background);
    border: 1px solid var(--box-border-color);
    margin: 0;
    font-size: 14px;
    padding: 12px !important;
    border-radius: 12px !important;
    border-width: 2px !important;
    border-color: #692ced;
}

.inbox-home-box-news {
}

.inbox-home-news-info {
    background: var(--box-background);
    border: 1px solid var(--box-border-color);
    margin: 0;
    font-size: 14px;
    padding: 12px !important;
    border-radius: 12px !important;
    border-width: 2px !important;
    border-color: #692ced;
}

.inbox-home-news-warning {
    background: var(--box-background);
    border: 1px solid var(--box-border-color);
    margin: 0;
    font-size: 14px;
    padding: 12px !important;
    border-radius: 12px !important;
    border-width: 2px !important;
    border-color: orange;
}

.inbox-home-news-alert {
    background: var(--box-background);
    border: 1px solid var(--box-border-color);
    margin: 0;
    font-size: 14px;
    padding: 12px !important;
    border-radius: 12px !important;
    border-width: 2px !important;
    border-color: red;
}
*/

.tenant-homepage-title {
    height: var(--appbar-logo-width);
    width: auto;
    max-width: fit-content;
}