
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #17202a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: #12395b;
    color: white;
    padding: 14px 4%;
    display: flex;
    justify-content: space-between;
}

header a {
    color: white;
}

main {
    padding: 25px 4%;
    flex: 1 0 auto;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 10px #0001;
}

.login {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.login-card {
    width: min(440px, 92vw);
}

label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccd2d8;
    border-radius: 5px;
    margin-top: 4px;
}

button,
.btn {
    display: inline-block;
    background: #12395b;
    color: white;
    border: 0;
    border-radius: 5px;
    padding: 9px 14px;
    text-decoration: none;
    cursor: pointer;
    margin: 5px 3px;
}

.filters {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.filters > * {
    width: auto;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wide {
    border-collapse: collapse;
    width: 100%;
    background: white;
    font-size: 12px;
}

.wide th,
.wide td,
table th,
table td {
    border: 1px solid #c8ced4;
    padding: 5px;
    vertical-align: top;
}

.wide th,
table th {
    background: #e9eef2;
}

.wide input,
.wide textarea {
    min-width: 90px;
    margin: 0;
}

.wide .num {
    width: 55px;
    min-width: 55px;
}

.actions {
    padding: 15px 0;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.danger {
    background: #fee2e2;
}

.success {
    background: #dcfce7;
}

.status {
    padding: 5px 9px;
    border-radius: 15px;
    background: #e8eef5;
}

.hint {
    margin-top: 15px;
    color: #667085;
    font-size: 12px;
}

/* FOOTER */
.app-footer {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    clear: both !important;
    float: none !important;
    margin: 38px 0 0 !important;
    padding: 10px 8px !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    color: #667085;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.app-footer a {
    display: inline !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    color: #12395b !important;
}

.app-footer a:hover {
    color: #c18b28 !important;
    text-decoration: underline !important;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    main {
        overflow-x: auto;
    }

    .wide {
        min-width: 1500px;
    }

    .toolbar {
        min-width: 700px;
    }
}

@media (max-width: 480px) {
    .app-footer {
        font-size: 9px !important;
        padding: 8px 5px !important;
    }
}