/* style.css - shared for login and admin panel */
:root {
    --primary: #1976d2;
    --primary-dark: #115293;
    --error: #e53935;
    --input-bg: #fafafa;
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #f0f4f8;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container, .panel-container {
    /* max-width: 370px; */
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 2em 2em 2em 2em;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(25,118,210,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
}
h2 {
    font-weight: 500;
    margin-bottom: 1.5em;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}
.mdc-text-field {
    position: relative;
    width: 100%;
    margin-bottom: 1.5em;
}
.mdc-text-field input {
    width: 100%;
    padding: 1.1em 0.5em 0.5em 2.5em;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background: var(--input-bg);
    font-size: 1em;
    outline: none;
    border-radius: 4px 4px 0 0;
    transition: border-color 0.2s, background 0.2s;
}
.mdc-text-field input:focus {
    border-bottom: 2px solid var(--primary);
    background: #fff;
}
.mdc-text-field label {
    display: none;
}
.mdc-text-field input::placeholder {
    color: #888;
    opacity: 1;
    font-size: 1em;
}
.mdc-text-field .material-icons {
    position: absolute;
    left: 0.2em;
    top: 1em;
    color: #888;
    font-size: 1.3em;
}
.mdc-text-field input:invalid {
    border-bottom: 2px solid var(--error);
}
.mdc-text-field .validation-msg {
    color: var(--error);
    font-size: 0.9em;
    margin-top: 0.2em;
    min-height: 1.2em;
}
/* NOTE:
   Do NOT style all buttons globally.
   The admin panel (and other pages) uses many custom-styled buttons; a global `button:hover`
   will override their intended hover states, and a global `width: 100%` breaks flex/tab layouts.
*/
.error {
    color: var(--error);
    margin-top: 1.2em;
    font-size: 1em;
    text-align: center;
    min-height: 1.2em;
}
.logout {
    float: right;
    color: var(--primary);
    cursor: pointer;
}
.csv-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.5em;
    font-size: 0.75em;
}

.csv-table th,
.csv-table td {
    border-right: 1px solid #eee;
    min-width: 120px;
}

.csv-table th:last-child,
.csv-table td:last-child {
    border-right: none;
}
.pagination-btn {
    padding: 0.3em 1em;
    border-radius: 8px;
    border: 1px solid #b0bec5;
    background: #f4f6f8;
    cursor: pointer;
    color: #1976d2;
    font-weight: 500;
    margin: 0 0.2em;
    transition: background 0.2s, color 0.2s;
}
.pagination-btn:disabled {
    background: #e0e0e0;
    color: #b0bec5;
    cursor: not-allowed;
    border: 1px solid #e0e0e0;
}
.skipped-rows-warning {
    color: #e53935;
    font-size: 0.9em;
    margin-left: 1em;
    text-align: center;
}