:root {
    --mg-primary: #d94c3d;
    --mg-secondary: #22304d;
    --mg-accent: #f6c35b;
    --mg-surface: #ffffff;
    --mg-surface-alt: #f3f5f7;
    --mg-border: #dfe5eb;
}

body {
    background: var(--mg-surface-alt);
}

.flash-stack {
    margin-top: 95px;
}

.meetngreet-hero {
    margin-top: 64px;
    position: relative;
}

.meetngreet-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 38, 71, 0.82), rgba(217, 76, 61, 0.62));
}

.meetngreet-hero .container {
    position: relative;
    z-index: 1;
}

.main-footer {
    background: var(--mg-secondary);
    color: #d8deea;
    margin-top: 60px;
    padding: 48px 0;
}

.main-footer h5 {
    color: #fff;
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li + li {
    margin-top: 8px;
}

.footer-links a {
    color: #d8deea;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.section-heading h2,
.section-heading h3 {
    margin: 0;
}

.metric-card,
.form-panel,
.discussion-card,
.pricing-card,
.status-card {
    background: var(--mg-surface);
    border: 1px solid var(--mg-border);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(23, 34, 58, 0.06);
}

.metric-card {
    padding: 22px;
    height: 100%;
}

.metric-card .metric-label {
    color: #6f7b90;
    display: block;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.metric-card .metric-value {
    color: var(--mg-secondary);
    font-size: 30px;
    font-weight: 700;
    margin-top: 8px;
}

.form-panel {
    padding: 28px;
}

.discussion-card,
.status-card {
    padding: 20px;
}

.pricing-card {
    padding: 30px;
    height: 100%;
}

.pricing-card .price-display {
    color: var(--mg-secondary);
    font-size: 42px;
    font-weight: 700;
}

.page-shell {
    padding: 36px 0 0;
}

.page-shell .content-box {
    padding: 30px;
}

.eyebrow {
    color: var(--mg-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inline-badge {
    border-radius: 999px;
    display: inline-flex;
    gap: 8px;
    padding: 8px 14px;
}

.cover-panel {
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    color: #fff;
    min-height: 260px;
    overflow: hidden;
    position: relative;
}

.cover-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 28, 52, 0.14), rgba(19, 28, 52, 0.78));
}

.cover-panel .cover-content {
    bottom: 0;
    left: 0;
    padding: 28px;
    position: absolute;
    right: 0;
    z-index: 1;
}

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

.member-pill {
    align-items: center;
    background: #fff6f4;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
}

.filter-bar .form-control,
.filter-bar .form-select {
    height: 46px;
}

.empty-state {
    background: #fff;
    border: 1px dashed var(--mg-border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.dashboard-grid {
    display: grid;
    gap: 24px;
}

.profile-summary-card {
    text-align: center;
}

.profile-avatar-wrap {
    margin: 18px 0 20px;
}

.profile-avatar-image,
.profile-avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
}

.profile-avatar-image {
    border: 4px solid rgba(217, 76, 61, 0.14);
    object-fit: cover;
}

.profile-avatar-placeholder {
    align-items: center;
    background: linear-gradient(135deg, rgba(217, 76, 61, 0.12), rgba(34, 48, 77, 0.16));
    color: var(--mg-secondary);
    display: inline-flex;
    font-size: 34px;
    justify-content: center;
}

@media (min-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 2fr 1fr;
    }
}
