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

body {
    background-color: rgba(19, 19, 19, 1);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #E2E8F0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    height: 56px;
    background-color: rgba(26, 26, 26, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.left-container {
    display: flex;
    align-items: center;
}

.menu-btn {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.menu-btn:hover {
    color: #F8FAFC;
    background-color: rgba(255, 255, 255, 0.04);
}

.topbar-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: 600;
    color: #94A3B8;
    letter-spacing: 0.3px;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    width: 240px;
    height: calc(100vh - 56px);
    background-color: rgba(22, 22, 22, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    z-index: 90;
}

.sidebar.closed {
    left: -240px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sidebar-item:hover {
    color: #F8FAFC;
    background-color: rgba(255, 255, 255, 0.03);
}

.sidebar-item.active {
    color: #F8FAFC;
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-item .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Main Content
.content {
    flex: 1;
    margin-top: 56px;
    padding: 3rem 2.5rem;
    padding-left: calc(240px + 2.5rem);
    transition: padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 860px;
}*/
.content {
    flex: 1;
    margin-top: 56px;
    padding: 3rem 2.5rem;
    padding-left: calc(240px + 2.5rem);
}

.content.full-width {
    padding-left: 2.5rem;
}

/* Page Header */
.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
}

/* Sections */
.section {
    margin-bottom: 2.5rem;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    margin-bottom: 1rem;
}

/* Info Rows */
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.info-row:last-child {
    border-bottom: none;
}

.info-icon {
    color: #475569;
    font-size: 1.1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.info-key {
    font-size: 0.8rem;
    color: #64748B;
}

.info-value {
    font-size: 0.9rem;
    color: #CBD5E1;
    line-height: 1.5;
}

.info-value a {
    color: #CBD5E1;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.info-value a:hover {
    color: #F8FAFC;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.07);
}

.service-icon {
    color: #475569;
    font-size: 1.1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.service-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: #CBD5E1;
    margin-bottom: 0.2rem;
}

.service-desc {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.4;
}

/* Policy List (do / don't) */
.policy-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.policy-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.policy-item.yes {
    background-color: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.08);
    color: #94A3B8;
}

.policy-item.no {
    background-color: rgba(248, 113, 113, 0.04);
    border: 1px solid rgba(248, 113, 113, 0.08);
    color: #94A3B8;
}

.policy-dot {
    font-size: 1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.policy-item.yes .policy-dot {
    color: #22c55e;
}

.policy-item.no .policy-dot {
    color: #f87171;
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #64748B;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 0.25rem 0.6rem;
    margin-top: 0.4rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.login-card {
    max-width: 360px;
    width: 100%;
    padding: 2.5rem 2rem;
    background-color: rgba(26, 26, 26, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;

    /* Smooth pill shape */
    border-radius: 50px;

    /* Visual styles requested */
    background-color: #ffffff; /* Solid white background */
    color: #121212;            /* Matches your background dark tone */
    font-weight: 600;
    font-size: 0.85rem;
    border: none;

    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

/* Subtle hover state to make it feel responsive */
.login-btn:hover {
    background-color: #e5e5e5; /* Soft off-white on hover */
    transform: translateY(-1px); /* Tiny lift effect */
}

.login-btn:active {
    transform: translateY(0);
}

.login-header {
    margin-bottom: 2rem;
    text-align: center;
}

.login-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 0.4rem;
}

.login-header p {
    color: #64748B;
    font-size: 0.85rem;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.3rem 0.6rem 0.3rem 0.4rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.profile-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.profile-skeleton-icon {
    color: #64748B;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.04);
    padding: 4px;
    border-radius: 50%;
}

.username {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94A3B8;
    letter-spacing: 0.3px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background-color: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    padding: 0.3rem;
    z-index: 110;
}

.user-dropdown.show {
    display: flex;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: #CBD5E1;
    text-decoration: none;
    border-radius: 4px;
    background: none;
    border: none;
    width: 100%;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.user-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: #F8FAFC;
}

.user-dropdown-item.logout {
    color: #F87171;
}

.user-dropdown-item.logout:hover {
    background-color: rgba(248, 113, 113, 0.05);
    color: #F87171;
}

.search-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    transition: all 0.2s ease;
}

.search-container:focus-within {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.search-icon {
    color: #64748B;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.search-input {
    background: none;
    border: none;
    outline: none;
    color: #F8FAFC;
    font-size: 0.85rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    width: 100%;
}

.search-input::placeholder {
    color: #64748B;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background-color: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 110;
}

.search-dropdown.show {
    display: flex;
}

.search-dropdown-item {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    color: #CBD5E1;
    cursor: pointer;
    text-align: left;
    background: none;
    border: none;
    font-family: inherit;
    transition: all 0.15s ease;
}

.search-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: #F8FAFC;
}

.search-dropdown-item span {
    color: #64748B;
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 56px);
    padding: 0 !important;
}

.error-center-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.error-code {
    font-size: 7.5rem;
    font-weight: 700;
    line-height: 1;
    color: #F8FAFC;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 24px rgba(255, 255, 255, 0.03);
}

.error-message {
    font-size: 1.5rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.error-description {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.error-home-btn {
    text-decoration: none;
    font-size: 0.85rem;
    padding: 10px 24px;
}
