/* ═══ ESMS — standalone page ═══ */
.esms-main {
    min-height: 60vh;
    padding: 2.5rem 0 4rem;
}
.esms-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.esms-table-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.esms-table-header {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(135deg, #0c1a35, #1a4db8);
    color: #fff;
}

.esms-table-header-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}

.esms-table-header-title { font-size: 1.02rem; font-weight: 700; }
.esms-table-header-sub   { font-size: .78rem; opacity: .85; margin-top: .1rem; }

.esms-doc-count-pill {
    margin-left: auto;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .7rem;
    border-radius: 20px;
    flex-shrink: 0;
}

.esms-table-wrap { overflow-x: auto; }

.esms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.esms-table thead th {
    text-align: left;
    background: #fafbfc;
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .8rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}
.esms-table tbody td {
    padding: .9rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
    line-height: 1.5;
}
.esms-table tbody tr:last-child td { border-bottom: none; }
.esms-table tbody tr:hover { background: #fafbfc; }

.esms-sno { font-weight: 700; color: #64748b; width: 60px; }
.esms-dl  { width: 110px; }

.esms-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #1a5c38;
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .4rem .8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.esms-dl-btn:hover { background: #144a2d; color: #fff; }

@media (max-width: 640px) {
    .esms-table thead th, .esms-table tbody td { padding: .7rem .9rem; }
}
