/* === GardZen Client Layout === */

/* Fixed background */
.client-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.client-app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.client-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
    padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px) + 16px);
    position: relative;
    z-index: 1;
}

/* Login page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px;
}

.login-container {
    width: 100%;
    max-width: 360px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: var(--accent);
    margin-bottom: 4px;
}

.login-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Page header */
.page-header {
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 22px;
    font-weight: 700;
}

.page-header .back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
}

.page-header .back-link:hover {
    color: var(--accent);
}

.page-header .back-link svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}