*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    min-height:100%;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#eef6ff;
    color:#164e75;
}


/* =====================================================
   KHUNG
===================================================== */

.container{
    width:100%;
    min-height:100vh;
    padding:30px 42px 40px;
}


/* =====================================================
   HEADER
===================================================== */

.top-header{
    width:100%;

    min-height:110px;

    padding:28px 38px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:linear-gradient(
        90deg,
        #075985,
        #0284c7
    );

    border-radius:16px;

    margin-bottom:22px;

    box-shadow:
        0 5px 15px rgba(7,89,133,.16);
}


.title-left{
    flex:1;
}


.title-left h1{
    color:#fff;

    font-size:29px;

    font-weight:700;

    line-height:1.3;
}


.title-left p{
    margin-top:7px;

    color:#fff;

    font-size:15px;

    font-weight:400;
}


/* =====================================================
   NÚT TRANG CHỦ
===================================================== */

.home-btn{
    min-width:170px;
    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 20px;

    background:#fff;
    color:#075985;

    border-radius:9px;

    text-decoration:none;

    font-size:14px;
    font-weight:700;

    white-space:nowrap;
}

.home-btn:hover{
    background:#e0f2fe;
}


/* =====================================================
   TÌM KIẾM
===================================================== */

.search-box{
    width:100%;

    padding:18px;

    margin-bottom:22px;

    background:#fff;

    border-radius:14px;

    box-shadow:
        0 3px 10px rgba(30,70,100,.07);
}


.search-box form{
    width:100%;

    display:flex;

    gap:12px;
}


.search-box input{
    flex:1;

    height:48px;

    padding:0 16px;

    border:1px solid #cbd5e1;

    border-radius:8px;

    outline:none;

    background:#f9fcff;

    color:#164e75;

    font-family:Arial, Helvetica, sans-serif;

    font-size:15px;

    font-weight:400;
}


.search-box input:focus{
    background:#fff;

    border-color:#0284c7;
}


.search-box button{
    width:140px;

    height:48px;

    border:0;

    border-radius:8px;

    background:#2563eb;

    color:#fff;

    font-size:14px;

    font-weight:700;

    cursor:pointer;
}


.search-box button:hover{
    background:#1d4ed8;
}


/* =====================================================
   KHUNG BẢNG
===================================================== */

.table-box{
    width:100%;

    padding:20px;

    background:#fff;

    border-radius:16px;

    overflow-x:auto;

    box-shadow:
        0 3px 12px rgba(30,70,100,.07);
}


/* =====================================================
   TABLE
===================================================== */

table{
    width:100%;

    border-collapse:collapse;

    table-layout:fixed;
}


/* =====================================================
   HEADER BẢNG
===================================================== */

thead{
    background:#075985;
}


thead th{
    height:50px;

    padding:13px 10px;

    background:#075985;

    color:#fff;

    font-size:14px;

    font-weight:700;

    text-align:center;

    white-space:nowrap;

    border:none;
}


/* =====================================================
   CHIA CỘT
===================================================== */

/* STT */

.col-stt{
    width:7%;
    text-align:center !important;
}


/* TÊN VĂN BẢN */

.col-name{
    width:39%;
}


/* CƠ QUAN BAN HÀNH */

.col-agency{
    width:27%;

    text-align:center !important;
}


/* NGÀY */

.col-date{
    width:17%;

    text-align:center !important;
}


/* THAO TÁC */

.col-action{
    width:10%;

    text-align:center !important;
}


/* =====================================================
   BODY
===================================================== */

tbody tr{
    background:#fff;

    border-bottom:1px solid #d7e3ed;
}


tbody tr:nth-child(even){
    background:#f1f7fc;
}


tbody tr:hover{
    background:#e3f1fa;
}


/* =====================================================
   Ô DỮ LIỆU
===================================================== */

tbody td{
    padding:15px 12px;

    color:#164e75;

    font-family:Arial, Helvetica, sans-serif;

    font-size:14px;

    font-weight:400;

    line-height:1.45;

    vertical-align:middle;

    border:none;

    border-bottom:1px solid #d7e3ed;
}


/* =====================================================
   STT
===================================================== */

tbody td.col-stt{
    color:#164e75;

    font-size:14px;

    font-weight:400;

    text-align:center;
}


/* =====================================================
   TÊN VĂN BẢN
===================================================== */

tbody td.col-name{

    color:#164e75;

    font-size:14px;

    font-weight:500;

    text-align:left;
}


/* =====================================================
   CƠ QUAN BAN HÀNH
   → CĂN GIỮA
===================================================== */

tbody td.col-agency{

    color:#164e75;

    font-size:14px;

    font-weight:400;

    text-align:center !important;

    vertical-align:middle;

    padding-left:10px;

    padding-right:10px;
}


/* =====================================================
   NGÀY BAN HÀNH
   → CĂN GIỮA
===================================================== */

tbody td.col-date{

    color:#164e75;

    font-size:14px;

    font-weight:400;

    text-align:center !important;

    white-space:nowrap;
}


/* =====================================================
   THAO TÁC
===================================================== */

tbody td.col-action{

    text-align:center !important;
}


/* =====================================================
   NÚT XEM
===================================================== */

.view{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:70px;

    height:35px;

    padding:0 16px;

    background:#2563eb;

    color:#fff;

    border-radius:8px;

    text-decoration:none;

    font-size:13px;

    font-weight:700;

    white-space:nowrap;
}


.view:hover{
    background:#1d4ed8;
}


/* =====================================================
   KHÔNG CÓ FILE
===================================================== */

.no-file{
    color:#a16207;

    font-size:12px;

    font-weight:400;
}


/* =====================================================
   KHÔNG CÓ DỮ LIỆU
===================================================== */

.empty{
    height:200px;

    color:#78909c;

    text-align:center !important;

    font-size:15px;

    font-weight:400;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:900px){

    .container{
        padding:20px;
    }

    .top-header{
        flex-wrap:wrap;

        gap:18px;
    }

    .title-left{
        width:100%;
        flex-basis:100%;
    }

}


@media(max-width:650px){

    .container{
        padding:10px;
    }

    .top-header{
        padding:22px;

        flex-direction:column;

        align-items:stretch;
    }

    .home-btn{
        width:100%;
    }

    .search-box form{
        flex-direction:column;
    }

    .search-box input,
    .search-box button{
        width:100%;
    }

    .table-box{
        padding:10px;
    }

    table{
        min-width:950px;
    }
}