/* Reset de estilos padrões */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corpo da página */
body {
    font-family: 'Arial', sans-serif;
    background-color: #FAEBD7; /* Cor de fundo alterada */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    margin: 0;
    padding: 20px;
}

/* Container principal */
.container {
    background: #FFE4B5;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 800px;
    margin-top: 40px;
    color: #333;
}

/* Frame para as mensagens */
.frame {
    text-align: center;
}

/* Título principal */
h1 {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Mensagem de boas-vindas e erro/sucesso */
p {
    color: #6a11cb;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Mensagem de erro */
p[style*="color: red"] {
    color: #ff5e5e;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Formulário de adição de licença */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

label {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
}

input[type="text"] {
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #ccc;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease;
    text-align: center;
}

input[type="text"]:focus {
    border-color: #2575fc;
    outline: none;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(37, 117, 252, 0.3);
}

/* Botão de envio */
button[type="submit"] {
    background-color: #2575fc;
    color: white;
    font-size: 18px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

button[type="submit"]:hover {
    background-color: #6a11cb;
    transform: scale(1.05);
}

/* Link de download */
a.button {
    display: inline-block;
    background-color: #2575fc;
    color: white;
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 20px;
}

a.button:hover {
    background-color: #6a11cb;
    transform: scale(1.05);
}

/* Tabela de licenças */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    border: 1px solid #ccc;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #2575fc;
    color: white;
    font-size: 16px;
}

td {
    background-color: #f9f9f9;
    font-size: 14px;
    color: #333;
}

tr:nth-child(even) {
    background-color: #f1f1f1;
}

/* Link de logout */
a {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #2575fc;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #6a11cb;
}
