@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding-top: 50px;
    color: #333;
}

.container {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px; /* Bordas arredondadas em vez de linha grossa */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Sombra suave */
    width: 100%;
    max-width: 800px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Estilização do grupo de busca */
input {
    width: 75%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px; /* Arredonda só o lado esquerdo */
    outline: none;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #4a90e2;
}

button {
    width: 20%;
    padding: 13px;
    background: #4a90e2; /* Azul moderno */
    color: white;
    border: none;
    border-radius: 0 8px 8px 0; /* Arredonda só o lado direito */
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background: #357abd;
}

/* Tabela Estilizada */
table {
    width: 100%;
    margin-top: 30px;
    border-collapse: separate;
    border-spacing: 0;
}

th {
    background-color: #f8f9fa;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 2px solid #eee;
}

th, td {
    padding: 15px;
    text-align: left; /* Alinhamento à esquerda fica mais elegante */
}

td {
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

tr:hover {
    background-color: #fcfcfc; /* Efeito hover na linha */
}

/* Botão de excluir */
.clear-btn {
    cursor: pointer;
    color: #ff4d4d;
    font-size: 18px;
    transition: transform 0.2s;
    text-align: center;
}

.clear-btn:hover {
    transform: scale(1.2);
    color: #cc0000;
}