body {
    color: #3c4858;
}

.sidebar .logo .simple-text {
    font-size: 17px;
    line-height: 24px;
    white-space: normal;
}

.content {
    margin-top: 54px;
}

.page-heading {
    margin-bottom: 22px;
}

.page-heading h1 {
    font-family: "Roboto Slab", "Times New Roman", serif;
    font-size: 30px;
    margin: 0;
}

.page-heading p {
    margin: 6px 0 0;
}

.muted {
    color: #6c757d;
}

.panel {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .14);
    margin-bottom: 28px;
    padding: 24px;
}

.panel-heading {
    align-items: center;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: -4px 0 22px;
    padding-bottom: 16px;
}

.panel-heading h2 {
    font-family: "Roboto Slab", "Times New Roman", serif;
    font-size: 21px;
    margin: 0;
}

.grid {
    display: grid;
    gap: 16px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.field {
    display: grid;
    gap: 7px;
}

.full {
    grid-column: 1 / -1;
}

label,
.label {
    color: #3c4858;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0;
}

input,
select,
textarea {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: none;
    color: #3c4858;
    min-height: 42px;
    padding: 8px 12px;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #4caf50;
    outline: 0;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
    min-height: auto;
    width: auto;
}

.choice-row,
.check-row,
.actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.choice {
    align-items: center;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    display: inline-flex;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
}

.button {
    align-items: center;
    background-color: #4caf50;
    border: 0;
    border-radius: 3px;
    box-shadow: 0 2px 2px 0 rgba(76, 175, 80, .14), 0 3px 1px -2px rgba(76, 175, 80, .2), 0 1px 5px 0 rgba(76, 175, 80, .12);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 400;
    justify-content: center;
    line-height: 1.428571;
    min-height: 36px;
    padding: 10px 16px;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.button:hover,
.button:focus {
    color: #fff;
    text-decoration: none;
}

.button.secondary {
    background-color: #fff;
    box-shadow: none;
    color: #4caf50;
    outline: 1px solid #4caf50;
}

.button.danger {
    background-color: #fff;
    box-shadow: none;
    color: #f44336;
    outline: 1px solid #f44336;
}

.button.link {
    background: transparent;
    box-shadow: none;
    color: #555;
    padding: 8px 10px;
}

.button .material-icons,
.btn .material-icons {
    font-size: 18px;
    margin-right: 6px;
}

.alert {
    border-radius: 4px;
    margin-bottom: 20px;
}

.notice {
    background: linear-gradient(60deg, #66bb6a, #43a047);
    border-radius: 4px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(76, 175, 80, .4);
    color: #fff;
    margin-bottom: 22px;
    padding: 14px 18px;
}

.total-bar {
    align-items: center;
    background: linear-gradient(60deg, #26c6da, #00acc1);
    border-radius: 4px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(0, 172, 193, .4);
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 18px 22px;
}

.total-value {
    font-size: 24px;
    font-weight: 500;
}

.activity-table,
.table {
    width: 100%;
}

.activity-table th,
.activity-table td,
.table th,
.table td {
    border-top: 0;
    border-bottom: 1px solid #eee;
    padding: 12px 10px;
    vertical-align: middle;
}

.activity-table th,
.table th {
    color: #777;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.amount-cell {
    min-width: 130px;
}

.badge {
    background: #e8f5e9;
    border-radius: 999px;
    color: #2e7d32;
    display: inline-flex;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 11px;
}

.detail-list {
    display: grid;
    gap: 12px;
}

.detail-row {
    display: grid;
    gap: 10px;
    grid-template-columns: 200px minmax(0, 1fr);
}

.detail-row strong {
    color: #777;
    font-weight: 500;
}

.collapse-toggle {
    margin-left: auto;
}

.collapse-toggle[aria-expanded="true"] .when-closed,
.collapse-toggle[aria-expanded="false"] .when-open {
    display: none;
}

.collapsible-body {
    padding-top: 4px;
}

.is-hidden {
    display: none !important;
}

.login-panel {
    max-width: 520px;
}

.mt-form {
    margin-top: 14px;
}

.mt-actions {
    margin-top: 18px;
}

.child-row {
    margin-bottom: 14px;
}

.activity-rate-field {
    margin-top: 10px;
}

.mb-actions {
    margin-bottom: 18px;
}

.align-end {
    align-items: end;
}

@media (max-width: 991px) {
    .content {
        margin-top: 30px;
    }
}

@media (max-width: 760px) {
    .panel-heading,
    .total-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .grid.two,
    .grid.three,
    .grid.four {
        grid-template-columns: 1fr;
    }

    .full {
        grid-column: auto;
    }

    .page-heading h1 {
        font-size: 25px;
    }

    .activity-table {
        min-width: 760px;
    }

    .table-wrap {
        overflow-x: auto;
    }

    .detail-row {
        grid-template-columns: 1fr;
    }
}
