.table-wrapper {
    width: 100%;
    margin-bottom: 1em;
}
#balanceTable {
    width: 90vw;
    max-width: 1800px;
    min-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 6px;
    overflow: visible;
    box-shadow: 0 0 8px #e0e0e0;
}
/* Tabla de balance de comprobación */
#balanceTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 8px #e0e0e0;
}
#balanceTable th, #balanceTable td {
    border: 1px solid #e0e0e0;
    padding: 0.7em 0.5em;
    text-align: left;
    font-size: 1.05em;
}
#balanceTable th {
    background: #f7f7f7;
    font-weight: 600;
    font-size: 1.1em;
}
#balanceTable td input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1em;
    padding: 0.3em;
    outline: none;
    box-sizing: border-box;
}
#balanceTable td input:focus {
    background: #eaf4ff;
    border-radius: 3px;
}
#balanceTable button {
    background: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.3em 0.6em;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

form#balanceForm button[type="button"],
form#balanceForm button[type="submit"] {
    display: block;
    margin: 1em auto;
    width: 300px;
    font-size: 1.1em;
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7em 0;
    box-shadow: 0 2px 8px #e0e0e0;
    cursor: pointer;
    transition: background 0.2s;
}
form#balanceForm button[type="button"]:hover,
form#balanceForm button[type="submit"]:hover {
    background: #1565c0;
}
#balanceTable button:hover {
    background: #d93636;
}
.form-container button[type="button"] {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.7em;
    width: 100%;
    margin-bottom: 0.5em;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
.form-container button[type="button"]:hover {
    background: #0056b3;
}
.form-container button[type="submit"] {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.7em;
    width: 100%;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
.form-container button[type="submit"]:hover {
    background: #0056b3;
}
/* Password field styles */
.password-wrapper {
    position: relative;
    width: 90%;
    margin: 0.5em auto;
    display: flex;
    align-items: center;
}
.password-wrapper input[type="password"] {
    width: 100%;
    padding-right: 40px;
    box-sizing: border-box;
    font-size: 1em;
}
.eye-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}
body { font-family: Arial, sans-serif; background: #f4f4f4; }
.login-container, .form-container {
    background: #fff;
    padding: 2em;
    margin: 5em auto;
    width: 350px;
    border-radius: 8px;
    box-shadow: 0 0 10px #ccc;
}
h2 { text-align: center; }
input { width: 90%; margin: 0.5em 0; padding: 0.5em; }
button { width: 100%; padding: 0.7em; background: #007bff; color: #fff; border: none; border-radius: 4px; }
.flash { color: red; text-align: center; margin-top: 1em; }
