* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f7f6;
    color: #1f2937;
}

.dashboard-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #0f766e;
    color: white;
    padding: 25px;
}

.sidebar-logo {
    width: 70px;
    display: block;
    margin-bottom: 15px;
}

.sidebar h2 {
    margin-bottom: 30px;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar nav a {
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
}

.sidebar nav a.active,
.sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.logout-btn {
    width: 100%;
    margin-top: 40px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #134e4a;
    color: white;
    cursor: pointer;
}

.dashboard-main {
    flex: 1;
    padding: 30px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.dashboard-header h1 {
    color: #0f766e;
}

.dashboard-header p {
    margin-top: 6px;
    color: #64748b;
}

.create-btn {
    background: #0f766e;
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: bold;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stat-card p {
    color: #64748b;
    margin-bottom: 10px;
}

.stat-card h2 {
    font-size: 2rem;
    color: #0f766e;
}

.dashboard-section {
    background: white;
    margin-top: 30px;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.flow-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}

.flow-grid div {
    background: #ecfdf5;
    color: #0f766e;
    padding: 18px;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 800px) {
    .dashboard-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ===================================
   BUILDFRAME FOOTER
=================================== */

.buildframe-footer {
    width: 100%;
    padding: 16px 18px;
    background: linear-gradient(135deg, #071a2f, #0f2f52);
    color: #ffffff;
    text-align: center;
    border-top: 1px solid rgba(116, 227, 255, 0.22);
}

.buildframe-credit {
    max-width: 980px;
    margin: 0 auto;
}

.buildframe-credit strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 3px;
}

.buildframe-credit span {
    display: block;
    font-size: 11px;
    opacity: 0.85;
    margin-bottom: 8px;
    color: #ffffff;
}

.buildframe-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    flex-wrap: wrap;
}

.buildframe-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.9;
}

.buildframe-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.flow-card {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    min-height: 90px;

    background: #edf7f5;

    border-radius: 14px;

    text-decoration: none;

    color: #0f766e;

    font-size: 18px;
    font-weight: 600;

    padding: 18px;

    transition: all .25s ease;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, .05);
}

.flow-card:hover {
    transform: translateY(-4px);

    background: #dff5ef;

    box-shadow:
        0 10px 20px rgba(15, 118, 110, .12);
}

.flow-card {
    position: relative;
}

.flow-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #0f766e;

    border-radius: 14px 14px 0 0;
}