/**
 * Profile page styles
 */

.profile-header {
    text-align: center;
    padding: 8px 20px 12px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
}

.avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--tg-accent), #5ca8f0);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 600;
    color: var(--tg-text);
    box-shadow: 0 4px 12px rgba(51, 144, 236, 0.3);
    overflow: hidden;
    position: relative;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.profile-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.user-id {
    color: var(--tg-text-secondary);
    font-size: 14px;
}

.profile-actions {
    padding: 0 16px;
    margin-bottom: 100px;
}

.action-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: var(--tg-dark-blue);
    border: none;
    border-radius: 50px;
    color: var(--tg-text);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-card:active {
    transform: scale(0.98);
    background-color: rgba(30, 41, 54, 0.8);
}

.action-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-icon {
    width: 44px;
    height: 44px;
    background-color: var(--tg-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-card svg {
    stroke: var(--tg-text-secondary);
    flex-shrink: 0;
}
