@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

body{
    font-family:'Nunito',sans-serif;
    margin:0;
    padding:20px;
    min-height:100vh;
    background:linear-gradient(135deg,#6D28D9,#5B21B6,#4C1D95);
    box-sizing:border-box;
}

.main-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
}

h1{
    color:#fff;
    font-size:22px;
    font-weight:800;
    margin-bottom:5px;
    letter-spacing:.5px;
}

h2{
    color:#fff;
    font-size:18px;
    margin-bottom:18px;
}

h3{
    color:#6D28D9;
    text-align:center;
}

.count-info{
    color:#fff;
    font-weight:700;
    margin-bottom:18px;
}

/* Containers */

.container,
.container-tabela{
    background:#fff;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(76,29,149,.18);
    border:1px solid #DDD6FE;
    position:relative;
    overflow:hidden;
}

.container{
    width:100%;
    max-width:470px;
    padding:28px;
    margin:20px auto;
}

.container-tabela{
    width:95%;
    max-width:1200px;
    padding:20px;
    margin:20px auto;
    overflow-x:auto;
}

.container::before,
.container-tabela::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,#b28bf5,#9d59f7);
}

/* Form */

form{
    display:flex;
    flex-direction:column;
}

form label{
    font-size:13px;
    font-weight:700;
    color:#5B21B6;
    margin-bottom:5px;
}

form input,
form select{
    width:100%;
    padding:12px 14px;
    margin-bottom:14px;
    border:1px solid #DDD6FE;
    border-radius:12px;
    background:#FAF8FF;
    font-family:'Nunito',sans-serif;
    font-size:14px;
    transition:.2s;
    box-sizing:border-box;
}

form input:focus,
form select:focus{
    outline:none;
    border-color:#7C3AED;
    box-shadow:0 0 0 3px rgba(124,58,237,.15);
    background:#fff;
}

form button{
    background:linear-gradient(90deg,#7C3AED,#A855F7);
    color:#fff;
    border:none;
    border-radius:12px;
    padding:13px;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    transition:.2s;
}

form button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(124,58,237,.25);
}

/* Mensagem */

.mensagem{
    background:#F3E8FF;
    color:#5B21B6;
    border:1px solid #D8B4FE;
    padding:12px;
    border-radius:12px;
    text-align:center;
    margin-bottom:16px;
    font-weight:700;
}

/* Tabela */

table{
    width:100%;
    border-collapse:collapse;
}

table th{
    background:#7C3AED;
    color:#fff;
    padding:12px;
    font-size:12px;
    text-transform:uppercase;
}

table td{
    padding:11px;
    border-bottom:1px solid #EEE7FF;
    text-align:center;
    color:#2E1065;
}

table tr:nth-child(even){
    background:#FAF8FF;
}

table tr:hover{
    background:#F3E8FF;
}

/* Responsivo */

@media(max-width:768px){

    .container{
        width:95%;
        padding:20px;
    }

    .container-tabela{
        width:95%;
    }

    table th,
    table td{
        font-size:11px;
        padding:8px;
    }

}