.mail-header{
    background: linear-gradient(135deg,#4fd1ff,#4a6bff);
    border-radius:16px;
    padding:24px 28px;
    color:#fff;
    display:flex;
    align-items:center;
    gap:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.mail-header .icon{
    width:44px;
    height:44px;
    background:rgba(255,255,255,0.2);
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* ===== Tabs ===== */
.mail-tabs .btn{
    border-radius:30px;
    padding:8px 22px;
    font-size:14px;
}

.btn-mail.active{
    background:#ffb020;
    color:#fff;
    box-shadow:0 6px 15px rgba(255,176,32,.4);
}

.btn-mail{
    background:#fff;
    border:1px solid #e5eaf3;
}

/* ===== Filters ===== */
.filter-box{
    background:#fff;
    border-radius:16px;
    padding:14px;
    box-shadow:0 10px 40px rgba(0,0,0,0.05);
}

.filter-input{
    border-radius:30px;
    font-size:13px;
}

/* ===== Mail Card ===== */
.mail-card{
    background:#fff;
    border-radius:16px;
    padding:16px 20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:14px;
}

.avatar{
    width:50px;
    height:50px;
    border-radius:50%;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
}

.bg-blue{background:#3b6cff;}
.bg-orange{background:#ff9800;}
.bg-green{background:#00b67a;}
.bg-purple{background:#8b5cf6;}

.mail-content{
    flex:1;
}

.mail-title{
    font-weight:600;
    font-size:14px;
    color:#2563eb;
}

.mail-desc{
    font-size:13px;
    color:#6b7280;
}

.badge-custom{
    font-size:11px;
    padding:4px 10px;
    border-radius:20px;
}

.badge-official{background:#e7f3ff;color:#2563eb;}
.badge-notify{background:#fff4e5;color:#ff9800;}
.badge-payment{background:#e6fbf4;color:#00b67a;}
.badge-support{background:#f2edff;color:#8b5cf6;}

.file-link{
    font-size:12px;
    color:#6b7280;
    white-space:nowrap;
}

/* ===== Footer ===== */
.mail-footer{
    font-size:12px;
    color:#94a3b8;
}

.pagination .page-link{
    border-radius:50%;
    margin:0 4px;
    font-size:13px;
}

.tooltip-wrap {
    position: relative;
    cursor: pointer;
}

.tooltip-full {
    visibility: hidden;
    position: absolute;
    background: #7ba5c9;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    max-width: 700px;
    font-size: 13px;
    z-index: 1000;
    top: 100%;
    left: 0;
    white-space: normal;
}

.tooltip-wrap:hover .tooltip-full {
    visibility: visible;
}

.uppercase-display {
    text-transform: uppercase;
}

ul.reference-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}
.breadcrumb-item a{
    text-decoration: none;
    color: #0e62b9;
    font-size: 14px;
    font-weight: 400;
}
.card-body{
    padding: 0.4rem, 1rem;
}
