/* Reset */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f4f4f4;
    padding:30px;
}

/* ====== Bảng ====== */

table{
    width:85%;
    margin:0 auto 40px;
    border-collapse:collapse;
    background:#fff;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
}

caption{
    font-size:32px;
    font-weight:bold;
    margin-bottom:15px;
    text-transform:uppercase;
}

th{
    background:#003cff;
    color:white;
    padding:12px;
    border:1px solid #ccc;
}

td{
    padding:10px;
    border:1px solid #ccc;
}

tr:nth-child(even){
    background:#f8f8f8;
}

tr:hover{
    background:#eef4ff;
}

/* ====== Form ====== */

.container{
    width:480px;
    margin:0 auto;
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 10px 20px rgba(0,0,0,.2);
}

.container h1{
    text-align:center;
    color:#444;
    font-size:30px;
    margin-bottom:25px;
}

label{
    display:block;
    margin-top:15px;
    margin-bottom:6px;
    font-weight:bold;
    font-size:14px;
}

input,
select,
textarea{
    width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:4px;
    outline:none;
    font-size:14px;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#2196f3;
    box-shadow:0 0 5px rgba(33,150,243,.3);
}

textarea{
    resize:vertical;
}

button{
    width:100%;
    margin-top:20px;
    padding:12px;
    border:none;
    border-radius:4px;
    background:#2d9bf0;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#1976d2;
}

/* Responsive */

@media(max-width:768px){

    table{
        width:100%;
        display:block;
        overflow-x:auto;
    }

    .container{
        width:100%;
    }

    caption{
        font-size:24px;
    }

    .container h1{
        font-size:24px;
    }
}