/* General */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Contenedor principal */
.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Encabezado */
h1 {
    text-align: center;
    color: #444;
}

/* Formularios */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

form label {
    font-weight: bold;
}

form input[type="url"],
form input[type="text"],
form input[type="password"],
form button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

form button {
    background: #5a67d8;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background: #434190;
}

/* Mensajes */
p {
    text-align: center;
    margin-top: 15px;
}

p a {
    color: #5a67d8;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

/* Tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

table th {
    background: #f4f4f9;
    color: #444;
}

table td a {
    color: #5a67d8;
    text-decoration: none;
    font-weight: bold;
}

table td a:hover {
    text-decoration: underline;
}

/* Botones en tablas */
table td a.edit {
    color: #38a169; /* Verde para editar */
}

table td a.delete {
    color: #e53e3e; /* Rojo para eliminar */
}

/* Enlaces y botones */
a {
    color: #5a67d8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Mensajes */
.message {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.message.success {
    background: #e6fffa;
    color: #2f855a;
    border-color: #38a169;
}

.message.error {
    background: #fff5f5;
    color: #e53e3e;
    border-color: #f56565;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    background: #f4f4f9;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #555;
}
