:root {
    --primary: #6EB05B;
    --primary-dark: #457d35;
    --ink: #16221a;
    --panel: #f4f7f4;
}

/* ============================================================
   MODO FÁCIL: letras más grandes, botones más grandes, más
   espacio entre elementos. Pensado para personas que no usan
   computadores todos los días.
   ============================================================ */
html { font-size: 18px; }

body, #container { background: var(--panel); }

body, input, select, textarea, .button, button {
    font-size: 1.05rem !important;
}

label { font-size: 1.05rem !important; font-weight: 600; }

#header {
    background: var(--ink);
    color: #fff;
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
    padding: 16px 30px;
}

#site-name a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 1.2rem !important;
}

#site-name small {
    display: block;
    color: #b9c7ba;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.club-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--ink);
    font-size: .8rem;
}

.admin-club-logo {
    display: block;
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
    flex: 0 0 auto;
    padding: 3px;
    border-radius: 11px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}

.admin-main-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    flex-wrap: wrap;
}

.admin-main-menu a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e6efe7;
    font-weight: 700;
    padding: 12px 16px;
    border: 1px solid #46604b;
    border-radius: 8px;
    font-size: 1rem !important;
    text-decoration: none;
    min-height: 44px;
}

.admin-main-menu a:hover,
.admin-main-menu a:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--ink);
    outline: none;
}

.admin-main-menu .view-site-link {
    background: #28442e;
    border-color: #54785b;
}

div.breadcrumbs {
    background: #e6eee6;
    color: #3b5140;
    padding: 14px 40px;
    font-size: 1rem;
}

div.breadcrumbs a { color: var(--primary-dark); font-weight: 700; }

.module, .inline-group, #changelist .actions, #changelist-filter, .submit-row {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(19, 41, 23, .08);
    overflow: hidden;
}

.module h2, .module caption, .inline-group h2 {
    background: var(--ink);
    color: #fff;
    font-size: .95rem;
    letter-spacing: .3px;
    padding: 14px 16px;
}

#content-related .module h2 { background: var(--primary-dark); }
div.breadcrumbs, #content { max-width: 1400px; margin-left: auto; margin-right: auto; }
#content { padding-top: 28px; padding-left: 24px; padding-right: 24px; }

a:link, a:visited { color: var(--primary-dark); }
a:hover { color: #2d5d22; }

/* Botones grandes y fáciles de tocar */
button, input[type=submit], input[type=button], .submit-row input, a.button {
    background: var(--primary-dark);
    border-radius: 8px;
    border: 0;
    font-weight: 700;
    min-height: 46px;
    padding: 10px 22px !important;
    font-size: 1.05rem !important;
    cursor: pointer;
}

button:hover, input[type=submit]:hover, input[type=button]:hover, .submit-row input:hover, a.button:hover { background: #2d5d22; }
.button.default, input[type=submit].default, .submit-row input.default {
    background: var(--primary);
    color: #102013;
    font-size: 1.15rem !important;
    min-height: 52px;
    padding: 12px 30px !important;
}
.submit-row { padding: 16px; }

#changelist-filter h2 { background: var(--ink); }
#changelist-filter li.selected a { color: var(--primary-dark); }
thead th, .results thead th { background: #e7eee7; font-size: 1rem; padding: 12px 10px !important; }
thead th a:link, thead th a:visited { color: var(--ink); }
.results tbody tr:hover { background: #f0f7ef; }
.results tbody td, .results tbody th { padding: 10px !important; font-size: 1.02rem; }

input, textarea, select {
    border-radius: 8px !important;
    border-color: #bbcabb !important;
    padding: 10px !important;
    min-height: 44px;
}
textarea { min-height: 100px; }
input[type=checkbox] { width: 22px; height: 22px; }
input:focus, textarea:focus, select:focus { border-color: var(--primary-dark) !important; box-shadow: 0 0 0 3px rgba(110, 176, 91, .3) !important; }

.help, p.help, div.help { font-size: .95rem !important; color: #4b564e; }

/* Mensajes de confirmación (ej: "se guardó correctamente") más visibles */
ul.messagelist li {
    font-size: 1.05rem;
    padding: 16px 20px 16px 52px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.dashboard .module table th a { color: var(--ink); font-weight: 700; }
.dashboard .module table td a.addlink, .dashboard .module table td a.changelink { color: var(--primary-dark); }
.login #container { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 34px rgba(19, 41, 23, .18); }
.login #header { border-bottom-width: 3px; }
.login #site-name .admin-club-logo {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    object-fit: contain !important;
}
.login #site-name a { min-height: 44px; overflow: hidden; }
.login label { font-size: 1.1rem !important; }
.login .submit-row input { width: 100%; font-size: 1.15rem !important; min-height: 50px; }

/* ============================================================
   Pantalla de inicio simplificada (templates/admin/index.html)
   ============================================================ */
.easy-home { padding: 10px 6px 40px; }

.easy-welcome h1 {
    font-size: 2rem;
    margin: 0 0 6px;
    color: var(--ink);
}
.easy-welcome p {
    font-size: 1.15rem;
    color: #3b463e;
    margin: 0 0 30px;
}

.easy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.easy-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: #fff;
    border: 2px solid #dfe7e0;
    border-radius: 16px;
    padding: 26px 22px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(19, 41, 23, .06);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    min-height: 150px;
}
.easy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(19, 41, 23, .14);
    border-color: var(--primary);
}
.easy-card-accent { background: #eef6ec; border-color: var(--primary); }

.easy-icon { font-size: 2.4rem; line-height: 1; }
.easy-title { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.easy-desc { font-size: 1rem; color: #5a655d; }

.easy-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ink);
    margin: 34px 0 16px;
    padding-left: 4px;
    border-left: 6px solid var(--primary);
    padding-left: 12px;
}

.easy-grid-secondary .easy-card-small {
    flex-direction: row;
    align-items: center;
    min-height: auto;
    padding: 18px 20px;
}
.easy-grid-secondary .easy-icon { font-size: 1.6rem; }
.easy-grid-secondary .easy-title { font-size: 1.05rem; }

.easy-footer-link { margin-top: 36px; text-align: center; }
.easy-footer-link a {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff !important;
}
.easy-footer-link a:hover { background: var(--primary-dark); }

@media (max-width: 767px) {
    html { font-size: 17px; }
    #header { padding: 14px 18px; }
    div.breadcrumbs { padding: 10px 18px; }
    #content { padding: 20px 14px; }
    .admin-main-menu { gap: 6px; }
    .admin-main-menu a { padding: 10px 12px; font-size: .95rem !important; }
    .admin-club-logo { width: 42px; height: 42px; }
    .easy-grid { grid-template-columns: 1fr; }
}
