.content {
    background: #f5f6f8;
}

.content > .panel,
.content > .panel-intro {
    max-width: 100%;
}

.panel-intro {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(24, 30, 42, .06);
}

.energy-admin-shell {
    color: #111827;
}

.panel-intro > .panel-heading {
    border-bottom-color: #edf0f4;
    background: #ffffff;
}

.panel-intro > .panel-body {
    background: #ffffff;
}

.toolbar {
    padding: 12px 0;
}

.toolbar .btn,
.fixed-table-toolbar .btn {
    border-radius: 6px;
    font-weight: 600;
}

.fixed-table-toolbar {
    padding: 4px 0 10px;
}

.bootstrap-table .form-control {
    min-height: 34px;
    border-color: #dfe4ea;
    border-radius: 6px;
    box-shadow: none;
}

.bootstrap-table .form-control:focus {
    border-color: #c9a95c;
    box-shadow: 0 0 0 2px rgba(201, 169, 92, .16);
}

.btn-primary {
    border-color: #1f2937;
    background-color: #1f2937;
}

.btn-success {
    border-color: #c9a95c;
    background-color: #c9a95c;
}

.btn-danger {
    border-color: #d75a48;
    background-color: #d75a48;
}

.table > thead > tr > th {
    color: #4b5563;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.table-hover > tbody > tr:hover {
    background-color: #fbf7eb;
}

.bootstrap-table .table > tbody > tr > td .label,
.bootstrap-table .table > tbody > tr > td .badge {
    border-radius: 999px;
    font-weight: 600;
}

.bootstrap-table .table > tbody > tr > td {
    vertical-align: middle;
}

.fixed-table-container {
    border-radius: 8px;
}

.energy-admin-dashboard {
    margin-bottom: 18px;
}

.energy-hero {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #f8f3e8;
    border-radius: 8px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 62%, #5f4823 100%);
}

.energy-hero h2 {
    margin: 6px 0 8px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.energy-hero p {
    margin: 0;
    color: #d5dbe5;
}

.energy-kicker {
    color: #d8bd72;
    font-weight: 700;
}

.energy-hero-badge {
    min-width: 120px;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    color: #151515;
    background: #e3c87d;
}

.energy-hero-badge strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.energy-stat-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.energy-stat-card {
    padding: 16px;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    background: #ffffff;
}

.energy-stat-label {
    color: #6b7280;
    font-size: 13px;
}

.energy-stat-value {
    margin-top: 8px;
    color: #111827;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
}

.energy-stat-note {
    margin-top: 8px;
    color: #9a6a24;
    font-size: 12px;
}

.energy-admin-todos {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.energy-todo-card {
    padding: 16px;
    border-radius: 8px;
    background: #fff8e8;
    border: 1px solid #efdba6;
}

.energy-todo-card strong {
    display: block;
    color: #1f2937;
    font-size: 15px;
}

.energy-todo-card span {
    display: block;
    margin-top: 6px;
    color: #6b7280;
}

.admin-module-intro {
    margin-bottom: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #edf0f4;
}

.admin-module-intro h3 {
    margin: 4px 0 6px;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}

.admin-module-intro p {
    margin: 0;
    color: #6b7280;
}

.admin-module-tag {
    color: #9a6a24;
    font-weight: 700;
}

.admin-module-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.energy-status-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    color: #1f2937;
    background: #e3c87d;
    font-size: 12px;
    font-weight: 700;
}

.energy-status-pill.muted {
    color: #4b5563;
    background: #e5e7eb;
}

@media (max-width: 991px) {
    .energy-hero,
    .admin-module-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .energy-stat-grid,
    .energy-admin-todos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
