* {
    box-sizing: border-box;
}

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

.app-shell {
    display: flex;
    min-height: calc(100vh - 120px);
}

.sidebar {
    width: 240px;
    background: #071a2f;
    color: white;
    padding: 24px;
}

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

.sidebar p {
    margin-top: 0;
    opacity: 0.8;
}

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

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

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

.logout-btn {
    width: 100%;
    margin-top: 30px;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #ef4444;
    color: white;
    cursor: pointer;
    font-weight: 700;
}

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

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    margin: 0;
}

.page-header p {
    color: #64748b;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 20px;
}

.account-card {
    background: white;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.account-card h2 {
    margin-top: 0;
    color: #0f766e;
}

.account-card p {
    color: #64748b;
    line-height: 1.6;
}

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

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-row span {
    color: #64748b;
}

.info-row strong {
    color: #0f172a;
    text-align: right;
}

/* 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;
}

@media (max-width: 900px) {
    .app-shell {
        flex-direction: column;
        min-height: auto;
    }

    .sidebar {
        width: 100%;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .info-row {
        flex-direction: column;
    }

    .info-row strong {
        text-align: left;
    }
}