body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #111827;
}

.topbar {
    height: 56px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-weight: bold;
}

.sidebar {
    width: 220px;
    height: calc(100vh - 56px);
    position: fixed;
    top: 56px;
    left: 0;
    background: #1e293b;
    color: white;
    padding: 24px 16px;
}

.sidebar h4 {
    margin-top: 0;
    color: #cbd5e1;
}

.sidebar a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 8px;
}

.sidebar a:hover {
    background: #334155;
}

.main-content {
    margin-left: 252px;
    padding: 32px;
}

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

.page-header h1 {
    margin: 0;
    font-size: 32px;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.btn-primary:hover {
    background: #1d4ed8;
}





.empty-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    padding: 40px;
    border-radius: 14px;
    text-align: center;
    color: #64748b;
}


.comment-box {
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
}

.comment-box:last-child {
    border-bottom: none;
}

.comment-box p {
    margin: 8px 0;
    color: #334155;
}

.comment-box small {
    color: #64748b;
}

.messages-wrapper {
    margin-bottom: 18px;
}

.flash-message {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-weight: 700;
    border: 1px solid transparent;
}

.flash-message.success {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

.flash-message.error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.flash-message.warning {
    background: #fef3c7;
    color: #92400e;
    border-color: #fbbf24;
}

.flash-message.info {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
}

.client-ui-body {
    background: #eef3f7;
}

.client-topbar {
    min-height: 64px;
    background: #ffffff;
    border-bottom: 1px solid #dbe3ea;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.client-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
}

.client-brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: contain;
}

.client-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.client-nav a {
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 11px;
    border-radius: 8px;
}

.client-nav a:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.client-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 48px;
}

.client-main .page-header {
    align-items: flex-start;
}

.client-main .page-header h1 {
    font-size: 34px;
}

.client-main .form-card {
    max-width: 760px;
}

@media (max-width: 760px) {
    .client-topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 18px;
    }

    .client-nav {
        width: 100%;
    }

    .client-nav a {
        padding-left: 0;
        padding-right: 10px;
    }

    .client-main {
        width: min(100% - 28px, 1180px);
        padding-top: 24px;
    }

    .client-main .page-header {
        gap: 14px;
        flex-direction: column;
    }
}
