body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
}

.login-container {
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 900px;
    max-width: 100%;
}

.login-form {
    padding: 60px 40px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-form img {
    max-height: 150px; /* Aumento del tamaño del logo */
    margin-bottom: 20px; /* Espacio entre el logo y el título */
    width: auto; /* Mantener las proporciones */
}

.login-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.login-form input[type="text"],
.login-form input[type="password"],
.login-form select {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

.login-form input[type="submit"] {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.login-form input[type="submit"]:hover {
    background-color: #0056b3;
}

.login-form a {
    text-align: center;
    display: block;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
}

.login-form a:hover {
    text-decoration: underline;
}

.login-image {
    width: 50%;
    background: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

.login-image img {
    width: 100%;
    max-width: 400px;
}

.login-image p {
    color: white;
    margin-top: 20px;
    font-size: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-form,
    .login-image {
        width: 100%;
    }

    .login-image {
        display: none;
    }
}

h1 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.table-container {
    margin-bottom: 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
    color: white;
}

th {
    background-color: #4CAF50; /* Green */
    color: white;
    border-color: #ddd;
}

td {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.2);
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.3);
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.pagination a {
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 5px;
    background-color: #007bff;
}

.pagination a.active {
    background-color: #0056b3;
    border-color: #0056b3;
}

.pagination a:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

form .form-group {
    display: flex;
    flex-direction: column;
}

form .form-group label {
    margin-bottom: 5px;
    color: white;
}

form .form-group input,
form .form-group select {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 100%;
}

form input[type="submit"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #ff9800;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

form input[type="submit"]:hover {
    background-color: #fb8c00;
}

button {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    background-color: #4caf50;
    color: white;
    font-size: 14px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #45a049;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.dashboard-button {
    position: relative;
    padding: 20px;
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.dashboard-button img {
    width: 50px;
    height: 50px;
}

.dashboard-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.dashboard-button i {
    font-size: 24px;
}

/* Botones individuales */
.clients-button {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
}

.requests-button {
    background: linear-gradient(135deg, #42e695 0%, #3bb2b8 100%);
}

.help-topics-button {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
}

.agents-button {
    background: linear-gradient(135deg, #ba5370 0%, #f4e2d8 100%);
}

.graphs-button {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.logout-button {
    background: linear-gradient(135deg, #f857a6 0%, #ff5858 100%);
}

button:active {
    transform: scale(0.95);
}

/* Estilos para el formulario en dos columnas */
@media (min-width: 768px) {
    form {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    form .form-group {
        width: 48%;
    }
}