/* PawLog Profile View CSS */

/* Settings/Profile Screen */
.settings-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1.5rem 1rem;
    padding-bottom: calc(100px + var(--safe-area-bottom));
}

.settings-section {
    background: var(--color-surface);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.settings-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

/* Profile Info */
.profile-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-left: 0;
}

.profile-avatar-large svg,
.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    color: white;
}

.profile-avatar-large svg {
    width: 48px;
    height: 48px;
}

.avatar-edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.profile-avatar-large:hover .avatar-edit-overlay {
    opacity: 1;
}

.avatar-edit-overlay svg {
    width: 24px;
    height: 24px;
    color: white;
}


.profile-details {
    flex: 1;
    min-width: 0;
}

.profile-details h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-details p {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* Health Info Rows */
.health-info-rows {
    margin-bottom: 1rem;
}

.health-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

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

.health-label {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.health-value {
    font-size: 0.9375rem;
    color: var(--color-text);
    font-weight: 600;
}

/* Status Info */
.status-info {
    background: var(--color-surface);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    border: var(--card-border);
    box-shadow: var(--card-shadow);
}

.status-info h3 {
    color: var(--color-text);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

#health-status {
    padding: 1rem;
    background: var(--color-background);
    border-radius: 8px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Courier New', monospace;
    font-size: 0.8125rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: 1px solid var(--color-border);
}