/* Inspired Layout: Header + Overlapping Content Sheet */

/* The decorative header background */
.app-background-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 280px;
    /* Tall header */
    background: linear-gradient(180deg, #b0005d 0%, #6a0035 100%);
    /* Magenta/Pink inspiration */
    z-index: 0;
    /* Optional: Add a pattern or image */
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
}

.app-background-header::after {
    /* Fade out at bottom */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-body));
}

/* User Profile in Header */
.header-profile-section {
    position: relative;
    z-index: 10;
    padding: 20px 24px;
    padding-top: 80px;
    /* Clear status bar/fixed header area */
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #333;
    background-size: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.profile-greeting {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.profile-greeting h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.profile-greeting p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
}

/* The Main Content "Sheet" that overlaps */
.content-sheet {
    position: relative;
    z-index: 10;
    background: var(--bg-body);
    /* Black/Dark body */
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    margin-top: 20px;
    padding-top: 32px;
    min-height: calc(100vh - 200px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border-subtle);
}

/* Adjust standard header to be transparent/minimal when using this layout */
.app-header.transparent-mode {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
}