/* Importa uma fonte moderna */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background: linear-gradient(135deg, #ffe4f2, #f3e8ff, #dff7ff);
    min-height:100vh;
    padding:40px;
}

/* Container */

.container{
    background:#ffffff;
    width:650px;
    max-width:95%;
    margin:30px auto;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:.3s;
}

.container:hover{
    transform:translateY(-5px);
}

/* Títulos */

h3{
    text-align:center;
    color:#8e44ad;
    margin-bottom:25px;
    font-size:28px;
}

/* Formulário */

form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

label{
    color:#555;
    font-weight:500;
}

input[type=text],
select{
    width:100%;
    padding:12px;
    border:none;
    border-radius:12px;
    background:#f5f6ff;
    font-size:15px;
    transition:.3s;
}

input[type=text]:focus,
select:focus{
    outline:none;
    background:#ffffff;
    box-shadow:0 0 0 3px #d8b4fe;
}

/* Botões */

button,
input[type=submit]{
    padding:13px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#ff66b3,#8b5cf6);
    color:white;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

button:hover,
input[type=submit]:hover{
    transform:scale(1.05);
    box-shadow:0 8px 20px rgba(139,92,246,.35);
}

/* Tabela */

table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
    overflow:hidden;
    border-radius:15px;
}

table tr:first-child{
    background:linear-gradient(90deg,#ff66b3,#8b5cf6);
    color:white;
}

table td{
    padding:12px;
    text-align:center;
    border-bottom:1px solid #ececec;
}

table tr:nth-child(even){
    background:#faf7ff;
}

table tr:hover{
    background:#ffe6fa;
    transition:.2s;
}

/* Links */

a{
    color:#8b5cf6;
    text-decoration:none;
    font-weight:600;
}

a:hover{
    color:#ff4fa1;
}

/* Mensagens */

.erro{
    background:#ffd6d6;
    color:#c0392b;
    padding:12px;
    border-radius:10px;
    margin-top:15px;
}

.sucesso{
    background:#d5ffd7;
    color:#2e7d32;
    padding:12px;
    border-radius:10px;
    margin-top:15px;
}

/* Responsividade */

@media(max-width:700px){

    body{
        padding:15px;
    }

    .container{
        padding:20px;
    }

    h3{
        font-size:22px;
    }

}