/*Admins Dashboard*/
.admin-shell {
    min-height: 100vh;
}

.sidebar {
    background-color: var(--dark-green);
    min-height: 100vh;
    color: white;
    padding: 2rem 1rem;
}

.sidebar-brand {
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.88);
    border-radius: 4px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background-color: var(--hunter);
    color: white;
}

.main-panel {
    padding: 2rem;
}

.top-card {
    background-color: var(--cambridge);
    border: none;
    border-radius: 4px;
    color: white;
}

.stat-card {
    border: none;
    border-radius: 4px;
    color: var(--dark-green);
    height: 100%;
}

.stat-card.soft {
    background-color: var(--silver);
}

.stat-card.warm {
    background-color: var(--ecru);
}

.stat-card.green {
    background-color: var(--cambridge);
}

.panel-card {
    background: white;
    border: none;
    border-radius: 4px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.panel-card .text-muted {
    font-size: 1.5rem;
}

.alert {
    font-size: 1.5rem;
}

.section-title {
    color: var(--dark-green);
    font-weight: 700;
    font-size: 2rem;
}

.btn-admin {
    background-color: var(--hunter);
    border: 1px solid var(--hunter);
    color: white;
    border-radius: 4px;
    font-weight: 600;
}

.btn-admin:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    color: white;
}

.form-select {
    border-radius: 4px;
    font-size: 1.5rem;
    padding-right: 2rem;
    text-align: center;
}

.message-row + .message-row {
    border-top: 1px solid #e9ecef;
}

.message-subject {
    font-weight: 700;
    color: var(--dark-green);
}

.message-preview {
    color: #38433a;
}

.message-meta {
    font-size: 1.15rem;
    color: #5e6a60;
    line-height: 1.5;
}

.pill-service,
.pill-date {
    width: 220px;
    min-height: 92px;
    padding: 0 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.pill-date {
    line-height: 1.4;
}

@media (max-width: 991px) {
    .sidebar {
        min-height: auto;
        border-radius: 0 0 20px 20px;
    }

    .main-panel {
        padding: 1rem;
    }
}

.small-label {
    font-size: 1.35rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #5e6a60;
    margin-bottom: 0.75rem;
}

.stat-value {
    font-weight: 700;
    color: var(--dark-green);
    font-size: 2.2rem;
}

/*Messages*/
.hero-card {
    background-color: var(--cambridge);
    color: white;
    border: 0;
    border-radius: 4px;
}

.messages-heading {
    font-size: 2.2rem;
    font-weight: 700;
}

.message-row {
    border-bottom: 1px solid #ececec;
    padding: 1.2rem 0;
}

.message-row:last-child {
    border-bottom: 0;
}

.message-subject {
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--dark-green);
    line-height: 1.3;
}

.message-meta {
    color: #5f6b66;
    font-size: 1.15rem;
    line-height: 1.5;
}

.message-preview {
    color: #33413d;
    line-height: 1.6;
    font-size: 1.15rem;
}


.pill-service,
.pill-date {
    display: inline-block;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    font-size: 1.3rem;
    font-weight: 600;
}
