/* mangoo.css — legacy rules kept during migration
   Rules covered by kijani.css or Bootstrap 5 have been removed.
   This file will be deleted after Phase 4-6 migration is complete. */

/* FILE UPLOAD */
input[type="file"] {
    display: none;
}
.file-upload {
    display: inline-block;
    margin-bottom: 2em;
    padding: 8px 16px;
    background: var(--k-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: var(--k-radius);
    min-width: 12.3em;
    transition: background-color 0.3s ease;
}
.file-upload:hover {
    background-color: var(--k-primary-hover);
}

/* TABLE FOR INPUT FIELDS (used until Phase 4 pages are migrated) */
#tb_fields {
    width: 95%;
    margin: auto;
    margin-bottom: 1em;
    border-collapse: separate;
    border-spacing: 1em 1.25em;
}
#tb_fields td, #tb_fields th {
    text-align: left;
}
#tb_fields td.center {
    text-align: center;
    padding-top: 3%;
}

/* TABLE FOR SETTINGS */
#tb_set {
    width: 90%;
    border-collapse: separate;
    border-spacing: 2em 0.75em;
    color: var(--k-label, #374151);   /* was: --k-primary green */
}

/* HIDDEN CONTENT PANEL */
#content_hidden {
    background: var(--k-border);
    padding: 3%;
    margin-top: 1em;
    margin-bottom: 2em;
    display: none;
    border-radius: var(--k-radius);
}

/* TEXT HELPERS */
.warn {
    font-weight: bold;
    color: var(--k-danger);
}
.export {
    margin-bottom: 2em;
    text-align: center;
}

/* STATS BAR CHARTS (used in months.php / analytics) */
.bar {
    width: 90%;
    height: 30px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}
.bar p {
    float: left;
    height: 100%;
    line-height: 30px;
    font-weight: bold;
}
.bar p:nth-child(1) { background-color: #2e2e2e; }
.bar p:nth-child(2) { background-color: #fa6900; }
.bar p:nth-child(3) { background-color: #69d2e7; }
.bar p:nth-child(4) { background-color: #6e6e6e; }

.key {
    width: 45%;
    height: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: .75em;
    color: white;
    background-color: white;
}
.key p {
    height: 20px;
    float: left;
    line-height: 20px;
    opacity: .7;
}
.key p:nth-child(1) { background-color: #2e2e2e; }
.key p:nth-child(2) { background-color: #fa6900; }
.key p:nth-child(3) { background-color: #69d2e7; }
.key p:nth-child(4) { background-color: #6e6e6e; }

.heading_narrow {
    margin-top: 2em;
}
.heading_narrow:nth-child(1) {
    margin-top: 0;
}
