/* ------------------------------------ */
/* Links: normales y hover/focus */
/* ------------------------------------ */
a {
    color: #0073aa;           /* Color base de los links */
    text-decoration: none;     /* Sin subrayado por defecto */
    transition: color 0.3s ease; /* Suave transición al hover */
}

a:hover,
a:focus {
    color: #bf9456;           /* Color al pasar el mouse o focus */
    text-decoration: none;     /* Mantener sin subrayado */
}

/* Links dentro de tablas */
.ice-reports-table a {
    color: #0073aa;
    text-decoration: none;
}

.ice-reports-table a:hover,
.ice-reports-table a:focus {
    color: #bf9456;
    text-decoration: none;
}

/* Links dentro del menú de usuario */
.ice-reports-user-bar a {
    color: #d35400; /* Color del menú */
    font-weight: 600;
}

.ice-reports-user-bar a:hover,
.ice-reports-user-bar a:focus {
    color: #bf9456;
    text-decoration: none;
}

/* ------------------------------------ */
/* Margins */
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }

/* ------------------------------------ */
/* General container */
.ice-reports-container {
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------ */
/* Main report title */
.ice-reports-header {
    margin-bottom: 25px;
    text-align: center;
    color: #2c3e50;
    font-weight: 600;
    font-size: 24px;
}

/* ------------------------------------ */
/* User bar (top info + logout) */
.ice-reports-user-bar {
    margin-bottom: 20px;
    padding: 10px;
    background: #e8f4f8;
    border-left: 4px solid #0073aa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

/* ------------------------------------ */
/* Login form container */
.ice-reports-login-form {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ice-reports-login-form h3 {
    margin-top: 0;
    color: #2c3e50;
}

.ice-reports-login-form .error {
    color: #e74c3c;
    margin-bottom: 15px;
}

.ice-reports-login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.ice-reports-login-form input[type="text"],
.ice-reports-login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.ice-reports-login-form button {
    background: #0073aa;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}

/* ------------------------------------ */
/* Table styles */
.ice-reports-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.ice-reports-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    min-width: 800px;
}

.ice-reports-table thead tr {
    background: #2c3e50;
    color: white;
    text-align: center;
}

.ice-reports-table th,
.ice-reports-table td {
    padding: 12px;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.ice-reports-table th:last-child,
.ice-reports-table td:last-child {
    border-right: none;
}

.ice-reports-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* ------------------------------------ */
/* Date section header */
.ice-reports-date-section {
    margin-top: 40px;
}

.ice-reports-date-section h3 {
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* ------------------------------------ */
/* No data message */
.ice-reports-no-data {
    padding: 20px;
    text-align: center;
    color: #7f8c8d;
}

/* ------------------------------------ */
/* Subheader table styles */
.ice-reports-subheader th,
.ice-reports-subheader td {
    background: #2c3e50;
    color: white !important;
    font-weight: 600;
    border-radius: 6px;
}

/* ------------------------------------ */
/* Date row */
.ice-reports-date-row {
    background-color: #f1f1f1;
}

.ice-reports-date-row td {
    padding: 12px;
    text-align: left;
    font-weight: bold;
    color: #2c3e50;
    border-bottom: 2px solid #ddd;
}
